Skip to main content

tracex: tracing / visualization

Project description

TraceX

Trace variables and the operations on them using graphviz visualizations.

  • wrap the variables in Float() and perform operations
  • call draw() function on the variables just like print()

NOTE: PRs are currently not accepted for source code. If there are issues/problems, please create an issue.

Installation

Install using pip

pip install tracex

Usage

Integrating TraceX is a piece of cake. All you need is some variables.

Python API

from tracex import Float, draw

a = Float(2)
b = Float(-3)
c = a * b
d = c + Float(10)
e = Float(-2)
f = d * e

print(f)

draw(f)

Examples

NOTE: PRs are currently accepted for examples. If there are examples you've created, please create a PR.

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

tracex-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

tracex-0.1.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file tracex-0.1.0.tar.gz.

File metadata

  • Download URL: tracex-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for tracex-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a8df8487d782db1f9d80123b49478554bf51213984471a644c22ffe7b05dd9e5
MD5 3d40a11dcd30ff25daf0276b811ae84c
BLAKE2b-256 e242fad1bb2dd85071a85a1ac1866c54715eab2dfd0a90dd345357fbab39023f

See more details on using hashes here.

File details

Details for the file tracex-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tracex-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for tracex-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24669ad46a8e32e16c479f13df8183e45ccd18365a60e68e00235ad1f3fef868
MD5 b2479733d3e4ce94744ee2684077f338
BLAKE2b-256 b499111cbe424e85ccaad425001392b362dd229294e213db1982b166c54dff07

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