I have some code with what looks like silly name-spacing. Here is a stripped down example:
/genelist
genelist.py
- class GeneList
helper1.py
helper2.py
...
GeneList
is the only symbol I'd like to use throughout my program. That class delegates to other utility functions inside the package. The problem is that sometimes I need to reference the class like this:
gl = genelist.genelist.GeneList()
That seems silly. Is there a more Pythonic way to organize my code (or name my components) to reduce the boilerplate?
EDIT: I need to name space for circular imports.