Skip to main content

pycodegraph - Python code graphing tool

A tool/framework for analysing and graphing Python code.

Currently only supports graphing of imports, but hopefully more to come.

Installing

Install via pip (preferably into your project's virtualenv):

pip install pycodegraph

Usage

Create a dot graph of your code and render it using dot:

pycodegraph imports --depth=1 ./my_code | dot -Tsvg > mygraph.svg

Usually you'll want to adjust the depth depending on project size and/or number of submodules.

There is also --include and --exclude for more fine grained control over what gets included in the graph.

License

The contents of this repository are released under the GPL v3 license. See the LICENSE file included for more information.

Metadata

Release files for pycodegraph 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pycodegraph 0.1.3
File Size Uploaded Provenance
pycodegraph-0.1.3.tar.gz 7.3 kB Without provenance Details

Release files / pycodegraph-0.1.3.tar.gz

Download URL pycodegraph-0.1.3.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e4cb1953cb81566c9e396ae1e66bf24951d950415af5e42305f6685626917686
BLAKE2b-256 checksum
How to use checksums
db3f0425d1942239261da3584569c5b6e665661f155923006943a071dc497e2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

Security for pycodegraph 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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