Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/disko/pyramid_pycallgraph
Pyramid tween to generate a callgraph image for every request
https://github.com/disko/pyramid_pycallgraph
Last synced: 11 days ago
JSON representation
Pyramid tween to generate a callgraph image for every request
- Host: GitHub
- URL: https://github.com/disko/pyramid_pycallgraph
- Owner: disko
- License: other
- Created: 2015-12-21T11:36:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-21T11:48:05.000Z (almost 9 years ago)
- Last Synced: 2024-08-10T20:12:44.757Z (3 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-pyramid - pyramid_pycallgraph - Pyramid tween to generate a callgraph image for every request (Debugging)
README
===================
pyramid_pycallgraph
===================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... _Python Call Graph: http://pycallgraph.slowchop.com/
Usage
=====Add ``pyramid_pycallgraph`` to the ``pyramid.includes`` in your application's ``.ini`` file::
pyramid.includes =
pyramid_pycallgraphConfiguration
=============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 = 10000pycallgraph.trace_filter.exclude =
pycallgraph.trace_filter.include =
sqlalchemy.*
pyramid.*
myapp.*.. _pycallgraph.config.Config: https://github.com/gak/pycallgraph/blob/master/pycallgraph/config.py#L8
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... _Github repository: https://github.com/disko/pyramid_pycallgraph