Visualize Python code at lightning speed
Project description
Graphical Code Tracer
Graphical Code Tracer (gct) is the world's first visual static code analyzer.
Within seconds it can tell you how your functions and classes are connected to each other!
GCT web app • Getting started • Installation • Configuration
Getting started
Usecases:
- Onboard to new codebases faster.
- Debug code faster Twitter thread
- Create share-able versions of your code. Using gctpy.com, you can instantly share your UML diagrams across teams.
Some examples you can run GCT on:
Simple python file • karpathy/MinGPT • scikit-learn/cluster • geohot/tinygrad • PyTorch/autograd • Flask Web App
Generate graph for any python file
python -m gct -i path/to/file.py # run gct on a local file
python -m gct -i https://github.com/user_name/path/to/file.py # run gct on a file hosted on a web server
Installation
Step 1: Install GCT Python package
pip install gct-py
Step 2: (Skip if already installed) Install Graphviz executable
GCT generates graphs using graphviz. To get accurate graphs, we highly recommend using latest graphviz version available for your OS.
If you've already installed graphviz executable version, check the dot version by running: dot -V.
Windows
Install graphviz by downloading executable (version >=6.0.1) from graphviz website.
Configuration
Customize the experience by aliasing gct:
alias gct=python -m gct -i'
gct path/to/file.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gct-py-0.1.6.tar.gz.
File metadata
- Download URL: gct-py-0.1.6.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8335234313137924e81797472d977e6b5717fd8c43fe0ad102dce97b613acbf3
|
|
| MD5 |
49a634601b1499fbca623ad08e3e5192
|
|
| BLAKE2b-256 |
3929337443e6eae48a0887694988d123b2fd03522f199028dc94f746e2d8681b
|
File details
Details for the file gct_py-0.1.6-py3-none-any.whl.
File metadata
- Download URL: gct_py-0.1.6-py3-none-any.whl
- Upload date:
- Size: 28.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85bd64b7bf10e237ac31a65beb1c31eccfb096c477082274a7f9dcdfab0cdcf4
|
|
| MD5 |
5f171332da7ace1d7dd1dfc73b9385e6
|
|
| BLAKE2b-256 |
88aaa8025e2b36a7fb266e8eb791ce2491c9e673525c8e8d039c482f13387312
|