pttp
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)
| File | Size | Uploaded | |
|---|---|---|---|
| pttp-0.0.3.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|