Skip to main content

Collects execution data from python script

Project description

# callspectpy

Collects execution data from python script

## CLI

$ callspectpy -i

## API

To collect data for specific code, just wrap the code like this:

import callspectpy, os
os.path.join(os.path.dirname(os.path.realpath(__file__)), 'callspect.txt')



Or better, use context manager:

from import trace2file
with trace2file('output.txt'):


### TODO:
* exec(code_obj) generates odd "<module>", replace it with name user passes
* when runnnig "from my_package.lib import my_fn", module is equal "lib" :(

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for callspectpy, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size callspectpy-0.1.3-py3-none-any.whl (6.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size callspectpy-0.1.3.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page