Skip to main content

Pyprojectviz (Python Project Visualization Tool)

PyProjectViz

Overview

This tool generates a Graphviz diagram of the Python project structure, showing classes, methods, and their relationships, including method calls. It's designed to help developers understand the architecture of a Python codebase by visually mapping out its components.

PyProjectViz Example

Features

  • Visualizes classes and methods in a Python project.
  • Shows relationships between methods, including method calls.
  • Allows excluding common built-in method calls (like join, split, append) from the visualization.
  • Supports different Graphviz layout engines for various diagram styles.
  • Customizable through configuration file.

Requirements

Installation

Source

  1. Ensure you have Python and Graphviz installed on your system.
  2. Clone the repository:
git clone https://github.com/codekuu/pyprojectviz.git
  1. Install the Python packages graphviz and typer using Poetry:
poetry install

Pip

  1. Ensure you have Python and Graphviz installed on your system.
  2. Install the Python package pyprojectviz using Pip:
pip install pyprojectviz

Usage

Source

Run the script from the command line with the following arguments:

poetry run python pyprojectviz . --config examples/example_conf_file.yaml

Pip

Run the script from the command line with the following arguments:

python -m pyprojectviz . --config examples/example_conf_file.yaml

This will generate a Graphviz diagram of the project at the "." path, using the specified configuration file.

Customization

Pyprojectviz can be customized through a configuration file can be found in the examples directory.

License

GNU General Public License (GNU GPL)

Contributions

Contributions are welcome. Please send pull requests or open issues to discuss proposed changes.

Metadata

Release files for pyprojectviz 0.1.1

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

Source distribution (sdist)

Source distribution for pyprojectviz 0.1.1
File Size Uploaded
pyprojectviz-0.1.1.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyprojectviz 0.1.1
File Interpreter ABI Platform
pyprojectviz-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / pyprojectviz-0.1.1.tar.gz

Download URL pyprojectviz-0.1.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c669046f315badcad84da6169bc8e72dbe65266ec94d07ad633a4af05e0c9eb2
BLAKE2b-256 checksum
How to use checksums
1a40b3de8db1aa6b668c641e043bba65bbb9849951bd484ec4f08dec3a630321
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Linux/4.19.0-17-amd64

Release files / pyprojectviz-0.1.1-py3-none-any.whl

Download URL pyprojectviz-0.1.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9892ba73008d15cd9fb5b18f18bd4beff0da101466622271fc4828293164dd61
BLAKE2b-256 checksum
How to use checksums
c951b7076f0ee6cc06d180511921f09bd0655a74137c9a22c50c03c270376bd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Linux/4.19.0-17-amd64

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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