optimism
This package init just imports everything from optimism.py, including explicitly the version number (which otherwise would be skipped since it starts with '_'). That way, importing optimism-the-package is the same as importing optimism-the-file, except that private variables are not exported by the package. So you can distribute the package OR just the optimism.py file and both should work the same.
1""" 2This package init just imports everything from optimism.py, including 3explicitly the version number (which otherwise would be skipped since it 4starts with '_'). That way, importing optimism-the-package is the same as 5importing optimism-the-file, except that private variables are not 6exported by the package. So you can distribute the package OR just the 7optimism.py file and both should work the same. 8""" 9 10from .optimism import * 11 12from .optimism import __version__