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.0.tar.gz
(12.6 kB
view details)
File details
Details for the file py_import_cycles-0.4.0.tar.gz.
File metadata
- Download URL: py_import_cycles-0.4.0.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 |
112ccb544492a9a80d1008223b7889e4684da1b434686094e123bfeac98f3a4a
|
|
| MD5 |
f2da9719680a31d585b06f19ba128dbb
|
|
| BLAKE2b-256 |
cba3bb887557f77b947332876a6ff906bd0bee33e04b27a9382188882bfc8b79
|