Skip to main content

This package provides a Pyramid tween to generate a callgraph image for every request.

It uses the Python Call Graph package for tracing and graph generation. See its documentation for example images.

Usage

Add pyramid_pycallgraph to the pyramid.includes in your application’s .ini file:

pyramid.includes =
    pyramid_pycallgraph

Configuration

The default options of the pycallgraph.config.Config object can be overridden in your application’s .ini file.

Example:

pycallgraph.include_stdlib = True
pycallgraph.max_depth = 10000

pycallgraph.trace_filter.exclude =
pycallgraph.trace_filter.include =
    sqlalchemy.*
    pyramid.*
    myapp.*

Development

Status

Currently pyramid_pycallgraph is in alpha / development state and should be considered no more than a proof of concept. There are no tests at all and it might or might not work for you.

Contributions

Contributions are highly welcome. Just clone the Github repository and start hacking. If you think your work might be generally useful, feel free to open a pull request.

Changelog

0.1.0 - 2015-12-21

  • Initial version

Release files for pyramid_pycallgraph 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyramid_pycallgraph 0.1.0
File Size Uploaded
pyramid_pycallgraph-0.1.0.tar.gz 4.1 kB Details

Release files / pyramid_pycallgraph-0.1.0.tar.gz

Download URL pyramid_pycallgraph-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
708e476b8dc9f336155e919b5f94cf5722cc244aa4569d9431ca8bcf9aa59bb5
BLAKE2b-256 checksum
How to use checksums
249edc1328f78b7aeb0f4dae4c27fa097616179c94a895768c7fdb1cb8c3c465
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page