Metadata-Version: 2.1
Name: py_import_cycles
Version: 0.5.2
Summary: Detect import cycles in Python projects
Home-page: https://github.com/si-23/py-import-cycles
Author: Simon Jess
Author-email: simon86betz@yahoo.de
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown
License-File: LICENSE

py-import-cycles
================

Detect import cycles in Python projects.

It:

* walks over given packages,
* collects (file-based) Python modules,
* extracts import statements via `ast` and
* 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 --version`
* `python3 -m py_import_cycles --help`
* `python3 -m py_import_cycles --packages /path/to/project/package`
