Skip to content

uadnan/pytrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

PyTrace is written on the top of Bdb that will execute small python programs within a sandbox environment and collects heap & stack information on each setup. Collected information can be later used to demonstrate program execution on GUI. Thanks for checking it out.

Installation

pip install git+https://github.com/uadnan/pytrace

Usage

import pytrace
traces = pytrace.trace("<PYTHON SCRIPT TO VISUALIZE>")
print(traces)

Returned traces can't be directly converted to JSON using json.dumps, instead use pytrace.json.dumps

from pytrace.json import dumps
traces_json = dumps(traces)
print(traces_json)

About

Python Execution Trace Collector

Topics

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
BSD-3-Clause
LICENSE.django
Unknown
LICENSE.python

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages