I am trying to organize some modules for my own use. I have something like this:
lib/ __init__.py settings.py foo/ __init__.py someobject.py
Yes, it is possible. You might also want to define __all__ in __init__.py files. It's a list of modules that will be imported when you do
__all__
__init__.py
from lib import *