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
Metadata
Release files for afinipy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| afinipy-0.2.0.tar.gz | 9.7 kB | Without provenance | Details for afinipy-0.2.0.tar.gz |
Release files / afinipy-0.2.0.tar.gz
| Download URL | afinipy-0.2.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3601757b60bf0b32daa858ea0c8b1abcffa6f95cf55573e83bbb37c65180cbc
|
|
BLAKE2b-256 checksum How to use checksums |
e42661fb16d979d9c7f31e444cb09dc508e6cacaf88f44f4381b5d357f61cf09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/2.7.15
|
Security for afinipy 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.