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.4.1.tar.gz
(12.6 kB
view details)
File details
Details for the file py_import_cycles-0.4.1.tar.gz.
File metadata
- Download URL: py_import_cycles-0.4.1.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b3b77c7884d06f7ae7fd88fc5a2484a1a9ba94ffdca9740ae630ebded90a0f
|
|
| MD5 |
e0138c53f9433b273760da355b7c09dc
|
|
| BLAKE2b-256 |
3104c9f068b3bca79189c7ffc6ac3cfae2829c2541ea3ce9c08495f7b9db6ac0
|