This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Disptrace traces Python code execution, generating HTML file to display execused line of codes. The resulting HTML has navigation menu to collapse function calls or hide paticuler modules and functions.

Usage

Create disptrace.Disptrace object as trace module in Python standard library, and invoke target function to be traced as follow:

import disptrace
t = disptrace.DispTrace()
t.runfunc(myfunc)
with open("trace.html", "w") as f:
    f.write(t.render())

DispTrace.render() method generates HTML string of the information.

~/.disptrace file

You can create ~/.disptrace file to specify default value of ignoremods and ignoredirs in ConfigParser style ini file:

[disptrace]
ignorepath=/usr/local/lib/python2.6/dist-packages/:/usr/lib/python2.6/plat-linux2
ignoremodule=sys, os

ignorepath is a list of directories whose modules or packages should be ignored. Each path should deilmited by os.path.pathsep character (‘:’ in Unixes, ‘;’ in Windows).

ignoremodule list of modules or packages to ignore. Each modules should be delimited by ‘,’ character.

Release History

Release History

0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
disptrace-0.4.tar.gz (7.3 kB) Copy SHA256 Checksum SHA256 Source Aug 11, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting