Skip to main content

Visualize Python code at lightning speed

Project description

Graphical Code Tracer (gct) is the world's first static code visualization tool.

Requires Python >= 3.7

Install command line tool: pip install gct-py

Running GCT is extremely simple! python -m gct --input <path/to/file.py>

If you'd like to run gct as an executable, run it as an alias: alias gct='python -m gct' And then: gct -i <path/to/file.py>

Test example to make sure everything works: python -m gct -i https://github.com/QasimWani/gct/blob/main/examples/arithmetics.py

Installing Graphviz

Incorrect dot version?

If your dot version is less than 6.0.1 (dot -v), you need to upgrade it. To do so:

  1. Find path of dot executable. which dot (where dot for Windows)
  2. Remove dot file. sudo rm <OUTPUT of (1)>
  3. Reinstall graphviz: https://graphviz.org/download/#executable-packages

For any other issues, post an issue: https://github.com/QasimWani/gct/issues/new

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

gct-py-0.1.5.tar.gz (24.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gct_py-0.1.5-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file gct-py-0.1.5.tar.gz.

File metadata

  • Download URL: gct-py-0.1.5.tar.gz
  • Upload date:
  • Size: 24.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for gct-py-0.1.5.tar.gz
Algorithm Hash digest
SHA256 12c908f3db4918b7088ffa4f981524f0c4613d6597bc81d3043412d385c8cd74
MD5 d781b78aed37f4d2f08c950aff9be97b
BLAKE2b-256 796c299380307b6de2abfe75a2a6866b08a42698c6b31c3caf6ec9023011e1eb

See more details on using hashes here.

File details

Details for the file gct_py-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: gct_py-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for gct_py-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed98050a8e24661f579a2a23eba6755b85e9b33209f9a1237243694e22d64eb
MD5 cb9d47ea748a9ae74715ad5b2d6fdba5
BLAKE2b-256 db9f24b850b363e1df05c68ac1688fc1e0fc15963daa826aae030a9ddac9a99e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page