Automated init builder
Afinipy is a, CLI, python package that builds your init files for you. It works by, recursively, parsing the directory and modules using Python’s Abstract Syntax Trees. Afinipy features two modes, top-level and recursive. The top-level mode builds a single __init__ at the root directory even if modules are located into subdirectories. The recursive mode will build a __init__ for each subdirectory. For additional options see the usage section below or the notebook in the examples directory.
All ‘private’ functions, those starting with an underscore, are excluded from the init. Optionally, additional functions, classes or the contents of a directory can be excluded by specifying them in a file and passed to the exclusion_path parameter. All functions or all classes can be excluded by, respectively, specifying –exclude ‘functions’ or –exclude ‘classes’
See https://github.com/RUrlus/afinipy for details
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size afinipy-0.1.5.tar.gz (9.5 kB)||File type Source||Python version None||Upload date||Hashes View hashes|