Skip to main content

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)

Source distribution for afinipy 0.2.0
File Size Uploaded
afinipy-0.2.0.tar.gz 9.7 kB Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page