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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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