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.
Release files for tracex 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tracex-0.1.0.tar.gz | 6.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tracex-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:13.7 kB
Release files / tracex-0.1.0.tar.gz
| Download URL | tracex-0.1.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8df8487d782db1f9d80123b49478554bf51213984471a644c22ffe7b05dd9e5
|
|
BLAKE2b-256 checksum How to use checksums |
e242fad1bb2dd85071a85a1ac1866c54715eab2dfd0a90dd345357fbab39023f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / tracex-0.1.0-py3-none-any.whl
| Download URL | tracex-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24669ad46a8e32e16c479f13df8183e45ccd18365a60e68e00235ad1f3fef868
|
|
BLAKE2b-256 checksum How to use checksums |
b499111cbe424e85ccaad425001392b362dd229294e213db1982b166c54dff07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|