Since this is python specificPython-specific, you can have the best of both worlds: a package which splits your API in manageable pieces, and avoids the god-object, and lets it have a single import. The The solution? Python packages have typically have an init__init__.py file, which can be used to express how the package imports things and presents them to the outside world.
Example:
package\ __init__.py moduleA module_a.py moduleB module_b.py in __ init____init__.py:
__all__ = [ 'moduleA', 'moduleB'] now you should be able to import them directly using import package. __all__ = ['module_a', 'module_b'] Now you should be able to import them directly using import package.
See this postthis post for additional information: https://stackoverflow.com/questions/1944569/how-do-i-write-good-correct-package-init-py-files.