Comment on Ask HN: What would you call a package whose purpose is to import data?Comments−btilly8moI like semantically different words for unrelated things. So I'd stay away from import.I've called this kind of thing load, initialize, get_all, and so on.I may also call it something based on where the data is stored if that is important. For example from_csv.I might also name it based on what it is for. For example load_config.Whatever seems clearest, and fits best with how the project itself does things.
Comments
I like semantically different words for unrelated things. So I'd stay away from import.
I've called this kind of thing load, initialize, get_all, and so on.
I may also call it something based on where the data is stored if that is important. For example from_csv.
I might also name it based on what it is for. For example load_config.
Whatever seems clearest, and fits best with how the project itself does things.