modutil

Help for working with modules.


License
BSD-3-Clause
Install
pip install modutil==2.0.0

Documentation

modutil

Build Status Read the Docs

A library for working with Python modules. The highlights are:

  • lazy_import() provides a way to do lazy import for large CLI apps.
  • calc___all__() allows you to no longer have to manually maintain a module's :attr:__all__.
  • filtered_dir() has dir() only show the relevant attributes of your module.

For these and other features of the library, please visit the documentation.