Centralized sys.settrace management
Project description
Centralized Trace management using sys.settrace.
We allow several trace hooks to get registered and unregistered and allow tracing to be turned on and off temporarily without losing the trace hooks. You can also indicate filters on events for which trace hooks should fire and mark methods that should automatically be ignored.
Installation
This package is available from PyPI:
$ pip install tracer
However if you want to install from the github source:
$ pip install # creates wheel and install
To run from the source tree:
$ pip install -e . # set up to run from source tree
Support of older versions of Python
We support running this from older versions of Python in various git branches:
python-2.4-to-2.7 has code for Python 2.4 to 2.7
python-3.0-to-3.2 has code for Python 3.0 to 3.2
python-3.3-to-3.5 has code for Python 3.3 to 3.5
python-3.6-to-3.10 has code for Python 3.6 to 3.10
master has code for Python 3.11 to the current version of Python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file tracer-2.0.0.tar.gz
.
File metadata
- Download URL: tracer-2.0.0.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | baec4888666191ed7fb25c38c526a81d6c748787cacb649d6f67fd75da17687a |
|
MD5 | 7761587cfe0b2c6f429a08a37e0e74fd |
|
BLAKE2b-256 | dea89f47e80c5fb2a908dd6f23f3eb22a182956425a75ca70f88be0384315361 |
File details
Details for the file tracer-2.0.0-py313-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py313-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3.13
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146e5f8d33a3c22dc1d274c956dd7c40f9763aada3e310e3b2beae0fb228bfa6 |
|
MD5 | a2efbe4ca4f96c662c7f6b08235561a8 |
|
BLAKE2b-256 | 40c9a1df0f756378dc8a54c3ebe43aa9d7ab18b4fd8be3d43622f218edf9f1f8 |
File details
Details for the file tracer-2.0.0-py312-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py312-none-any.whl
- Upload date:
- Size: 22.1 kB
- Tags: Python 3.12
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cf13a8305b9491d355c9f39a767c8bb069481f4bf4ac8d99c56a797f61dcc8a |
|
MD5 | 5b4f7806ba2145210251bf50de251d18 |
|
BLAKE2b-256 | bc9e4a09e896e3208060cfa0aebd3d48d70494186967779980dccf0145f8bf48 |
File details
Details for the file tracer-2.0.0-py311-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py311-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3.11
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cf6876ab71c83e4bd361883b306dd1b536486ecdaec2e508b73e1a09d64bff7 |
|
MD5 | 1e8f72b945bbc06fb664d3cff2baebab |
|
BLAKE2b-256 | 57972c0a11e1175b7473b4dfb743fe5c3b59455c002c25f8582ed2e17f4d48f9 |
File details
Details for the file tracer-2.0.0-py310-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py310-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3.10
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 716d539bfedaaee4d9e0c8c82e5e53ff1159451b6bd3645bc49a6823418dc386 |
|
MD5 | ca01927f26018b2f8585c16bba454962 |
|
BLAKE2b-256 | c3465d7c031aa7772e8b6cd60083e2ce74ddc4db49de37f21fb0adae67e2a9f9 |
File details
Details for the file tracer-2.0.0-py39-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py39-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab5fb2dbed52b82d12c6bff28c440814227d75febd86ed535660c2c828f1c612 |
|
MD5 | c11bd40530a1b87caa33e0a42cb7364a |
|
BLAKE2b-256 | b5559b0db08abb2aeed51d201a80e95920c6bc9bcd20f5040e4e5aca1affc611 |
File details
Details for the file tracer-2.0.0-py38-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py38-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3.8
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5553847cdb8c492dac01cc63c5603d1ecf8f7e1e628af4b5240a2b4f569ab40 |
|
MD5 | 6837c506cb637cad367010a469550fbd |
|
BLAKE2b-256 | 05aa0343693ac5bd50749b02bfd562cb9e4558161a5609a3d2cd92f30027a877 |
File details
Details for the file tracer-2.0.0-py37-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py37-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3.7
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f28cb5916a7fe6bf13c6aa6623b59ebce540ab369a28db75f2289a3ab865ca |
|
MD5 | c8e34188a04e98587a16f66f5e1cfa6a |
|
BLAKE2b-256 | 90bddc6eb7c965268d08f4c8e88ef3ec5609fc8d510d3ebe59f6ab26f79836aa |
File details
Details for the file tracer-2.0.0-py36-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py36-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3.6
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af46d2b0a77dab41b9b6a7ebab4eabc76b8703e34f9465afe0ce39203f59e17a |
|
MD5 | eac29b018a4c829897adb82b3449baa0 |
|
BLAKE2b-256 | 2cd2f60d12460bc474bfe2178b87384f0ff3a8aff445d8a40aad36c872607456 |
File details
Details for the file tracer-2.0.0-py35-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py35-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3.5
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df173b1d226bae1ad79eecdbc190990696ee834a3ba2101e49bb9317a3ffd8e4 |
|
MD5 | 5339202426df2435d512e5622cd3abe2 |
|
BLAKE2b-256 | ec516f6f3db16d1a3b7a3c260862b07588b525a71dead947352872ddff38408e |
File details
Details for the file tracer-2.0.0-py34-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py34-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3.4
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2345e1a256e449feae1ff2e5f5d789e5c8e364e663772a9bb9d6ddbe450c8d17 |
|
MD5 | f7ed1b9eaeb8cf96035f38fb01225325 |
|
BLAKE2b-256 | 25a0d0f9972a09a59fce7852f6fda9f2b55cc8644353395f6434b29bf6a4bd94 |
File details
Details for the file tracer-2.0.0-py2-none-any.whl
.
File metadata
- Download URL: tracer-2.0.0-py2-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd42393ef130ab3293ab35aa684f29bfddddadd846eeb32f4e2f9998cadaae23 |
|
MD5 | 4876343e71073267f941ed19667c0f09 |
|
BLAKE2b-256 | 3e5690de404fe03c56deec2f607992f5f75b021a3bae6af2bc8381989d2c8422 |