Skip to main content

pttp

PyPI - Version PyPI - Python Version


A Python tracing profiler.

Tracing profilers trace every function call in your Python program.

Tracing profilers in Python are fairly trivial (mostly just calling sys.settrace()). pttp's notable feature is it calls your code, so you don't have to modify your source code.

Installation

pip install pttp

Usage

## Generate Python trace data
python -m pttp your_script.py
python -m pttp -m your_script

## Upload 'your_script.speedscope.json' to https://speedscope.app to view the profile.

License

pttp is distributed under the terms of the MIT license.

Metadata

Release files for pttp 0.0.3

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

Source distribution (sdist)

Source distribution for pttp 0.0.3
File Size Uploaded
pttp-0.0.3.tar.gz 6.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pttp 0.0.3
File Interpreter ABI Platform
pttp-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / pttp-0.0.3.tar.gz

Download URL pttp-0.0.3.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b18025d70e93be03d2a4f3b303f837a4481f33c5223df671b4e619a1261b24a2
BLAKE2b-256 checksum
How to use checksums
5d2fc2f1a82a1ac7bb9d4492428e8cec01f4f297255faacd0ca6b48b3e61002f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Release files / pttp-0.0.3-py3-none-any.whl

Download URL pttp-0.0.3-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8ac6147f4ff0d5c59b47126d6c69b81eda9a1dac44ccd6a641600c8b049570f4
BLAKE2b-256 checksum
How to use checksums
03fb49b5dd3088f954cefac3873ba70dc2443d107fac387958a96c708577f9b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.24.1

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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