Detect import cycles in Python projects
Project description
py-import-cycles
Detect import cycles in Python projects.
It:
- walks over given packages,
- collects (file-based) Python modules,
- extracts import statements via
astand - computes cycles.
It is conceived for having an indication whether Python packages may have structural weak points.
py-import-cycles does not take any Python module finder or loader mechanisms into account.
Installation
The py-import-cycles package is available on PyPI: python3 -m pip install --user py-import-cycles
Usage
python3 -m py_import_cycles --versionpython3 -m py_import_cycles --helppython3 -m py_import_cycles --packages /path/to/project/package
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_import_cycles-0.5.0.tar.gz
(13.3 kB
view details)
File details
Details for the file py_import_cycles-0.5.0.tar.gz.
File metadata
- Download URL: py_import_cycles-0.5.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
883ddbf42ab370ee967379e5008991fca33d6abf3cdc5f218aba3cd56216a409
|
|
| MD5 |
d28d7978c95779bb509362d07094e8ac
|
|
| BLAKE2b-256 |
fde2f98606a2bd09621f310e847c5311d019f2110ff54a6ee6f01ddecc5c74c8
|