pkginit

Generic __index__.py generator


Keywords
package, module, loader, init
License
GPL-2.0
Install
pip install pkginit==0.2

Documentation

pkginit

A package to automatically include all the modules inside another package. Why? To remove duplication. The alternative to using pkgini would be to include all the files manually for each package.

Installation

pip install pkginit

Usage

The contents of your __init__.py files should be:

from pkginit import load_modules
load_modules(__file__)