|CircleCI| |Pypi Installs| |Latest Version| |Supported Python Versions|
|packagestatus|
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
.. |CircleCI| image:: https://circleci.com/gh/rocky/pytracer.svg?style=svg
.. _features: https://github.com/rocky/pytracer/blob/master/NEW-FEATURES.rst
.. _directory: https://github.com/rocky/pytracer/tree/master/example
.. _uncompyle6: https://pypi.python.org/pypi/uncompyle6/
.. |downloads| image:: https://img.shields.io/pypi/dd/spark.svg
.. |buildstatus| image:: https://travis-ci.org/rocky/pytracer.svg :target: https://travis-ci.org/rocky/pytracer
.. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/spark_parser.svg
.. |Latest Version| image:: https://badge.fury.io/py/tracer.svg :target: https://badge.fury.io/py/pytracer
.. |Pypi Installs| image:: https://pepy.tech/badge/pytracer/month
.. |packagestatus| image:: https://repology.org/badge/vertical-allrepos/python:spark.svg :target: https://repology.org/project/python:tracer/versions
Raw data
{
"_id": null,
"home_page": "http://github.com/rocky/pytracer",
"name": "tracer",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Rocky Bernstein",
"author_email": "rocky@gnu.org",
"download_url": "https://files.pythonhosted.org/packages/de/a8/9f47e80c5fb2a908dd6f23f3eb22a182956425a75ca70f88be0384315361/tracer-2.0.0.tar.gz",
"platform": null,
"description": "|CircleCI| |Pypi Installs| |Latest Version| |Supported Python Versions|\n\n|packagestatus|\n\nCentralized Trace management using ``sys.settrace``.\n\nWe allow several trace hooks to get registered and unregistered and\nallow tracing to be turned on and off temporarily without losing the\ntrace hooks. You can also indicate filters on events for which trace\nhooks should fire and mark methods that should automatically be\nignored.\n\nInstallation\n------------\n\nThis package is available from PyPI::\n\n $ pip install tracer\n\nHowever if you want to install from the github source::\n\n $ pip install # creates wheel and install\n\nTo run from the source tree::\n\n $ pip install -e . # set up to run from source tree\n\n\nSupport of older versions of Python\n-----------------------------------\n\nWe support running this from older versions of Python in various git branches:\n\n* ``python-2.4-to-2.7`` has code for Python 2.4 to 2.7\n* ``python-3.0-to-3.2`` has code for Python 3.0 to 3.2\n* ``python-3.3-to-3.5`` has code for Python 3.3 to 3.5\n* ``python-3.6-to-3.10`` has code for Python 3.6 to 3.10\n* ``master`` has code for Python 3.11 to the current version of Python\n\n\n.. |CircleCI| image:: https://circleci.com/gh/rocky/pytracer.svg?style=svg\n.. _features: https://github.com/rocky/pytracer/blob/master/NEW-FEATURES.rst\n.. _directory: https://github.com/rocky/pytracer/tree/master/example\n.. _uncompyle6: https://pypi.python.org/pypi/uncompyle6/\n.. |downloads| image:: https://img.shields.io/pypi/dd/spark.svg\n.. |buildstatus| image:: https://travis-ci.org/rocky/pytracer.svg :target: https://travis-ci.org/rocky/pytracer\n.. |Supported Python Versions| image:: https://img.shields.io/pypi/pyversions/spark_parser.svg\n.. |Latest Version| image:: https://badge.fury.io/py/tracer.svg :target: https://badge.fury.io/py/pytracer\n.. |Pypi Installs| image:: https://pepy.tech/badge/pytracer/month\n.. |packagestatus| image:: https://repology.org/badge/vertical-allrepos/python:spark.svg :target: https://repology.org/project/python:tracer/versions\n\n\n\n\n",
"bugtrack_url": null,
"license": "GPL",
"summary": "Centralized sys.settrace management",
"version": "2.0.0",
"project_urls": {
"Homepage": "http://github.com/rocky/pytracer"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3e5690de404fe03c56deec2f607992f5f75b021a3bae6af2bc8381989d2c8422",
"md5": "4876343e71073267f941ed19667c0f09",
"sha256": "bd42393ef130ab3293ab35aa684f29bfddddadd846eeb32f4e2f9998cadaae23"
},
"downloads": -1,
"filename": "tracer-2.0.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "4876343e71073267f941ed19667c0f09",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 18943,
"upload_time": "2024-10-14T16:40:59",
"upload_time_iso_8601": "2024-10-14T16:40:59.955568Z",
"url": "https://files.pythonhosted.org/packages/3e/56/90de404fe03c56deec2f607992f5f75b021a3bae6af2bc8381989d2c8422/tracer-2.0.0-py2-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c3465d7c031aa7772e8b6cd60083e2ce74ddc4db49de37f21fb0adae67e2a9f9",
"md5": "ca01927f26018b2f8585c16bba454962",
"sha256": "716d539bfedaaee4d9e0c8c82e5e53ff1159451b6bd3645bc49a6823418dc386"
},
"downloads": -1,
"filename": "tracer-2.0.0-py310-none-any.whl",
"has_sig": false,
"md5_digest": "ca01927f26018b2f8585c16bba454962",
"packagetype": "bdist_wheel",
"python_version": "py310",
"requires_python": null,
"size": 16966,
"upload_time": "2024-10-14T16:41:01",
"upload_time_iso_8601": "2024-10-14T16:41:01.040936Z",
"url": "https://files.pythonhosted.org/packages/c3/46/5d7c031aa7772e8b6cd60083e2ce74ddc4db49de37f21fb0adae67e2a9f9/tracer-2.0.0-py310-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "57972c0a11e1175b7473b4dfb743fe5c3b59455c002c25f8582ed2e17f4d48f9",
"md5": "1e8f72b945bbc06fb664d3cff2baebab",
"sha256": "3cf6876ab71c83e4bd361883b306dd1b536486ecdaec2e508b73e1a09d64bff7"
},
"downloads": -1,
"filename": "tracer-2.0.0-py311-none-any.whl",
"has_sig": false,
"md5_digest": "1e8f72b945bbc06fb664d3cff2baebab",
"packagetype": "bdist_wheel",
"python_version": "py311",
"requires_python": null,
"size": 9772,
"upload_time": "2024-10-14T16:41:02",
"upload_time_iso_8601": "2024-10-14T16:41:02.087395Z",
"url": "https://files.pythonhosted.org/packages/57/97/2c0a11e1175b7473b4dfb743fe5c3b59455c002c25f8582ed2e17f4d48f9/tracer-2.0.0-py311-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bc9e4a09e896e3208060cfa0aebd3d48d70494186967779980dccf0145f8bf48",
"md5": "5b4f7806ba2145210251bf50de251d18",
"sha256": "8cf13a8305b9491d355c9f39a767c8bb069481f4bf4ac8d99c56a797f61dcc8a"
},
"downloads": -1,
"filename": "tracer-2.0.0-py312-none-any.whl",
"has_sig": false,
"md5_digest": "5b4f7806ba2145210251bf50de251d18",
"packagetype": "bdist_wheel",
"python_version": "py312",
"requires_python": null,
"size": 22087,
"upload_time": "2024-10-14T16:41:03",
"upload_time_iso_8601": "2024-10-14T16:41:03.434895Z",
"url": "https://files.pythonhosted.org/packages/bc/9e/4a09e896e3208060cfa0aebd3d48d70494186967779980dccf0145f8bf48/tracer-2.0.0-py312-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "40c9a1df0f756378dc8a54c3ebe43aa9d7ab18b4fd8be3d43622f218edf9f1f8",
"md5": "a2efbe4ca4f96c662c7f6b08235561a8",
"sha256": "146e5f8d33a3c22dc1d274c956dd7c40f9763aada3e310e3b2beae0fb228bfa6"
},
"downloads": -1,
"filename": "tracer-2.0.0-py313-none-any.whl",
"has_sig": false,
"md5_digest": "a2efbe4ca4f96c662c7f6b08235561a8",
"packagetype": "bdist_wheel",
"python_version": "py313",
"requires_python": null,
"size": 22090,
"upload_time": "2024-10-14T16:41:04",
"upload_time_iso_8601": "2024-10-14T16:41:04.357267Z",
"url": "https://files.pythonhosted.org/packages/40/c9/a1df0f756378dc8a54c3ebe43aa9d7ab18b4fd8be3d43622f218edf9f1f8/tracer-2.0.0-py313-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "25a0d0f9972a09a59fce7852f6fda9f2b55cc8644353395f6434b29bf6a4bd94",
"md5": "f7ed1b9eaeb8cf96035f38fb01225325",
"sha256": "2345e1a256e449feae1ff2e5f5d789e5c8e364e663772a9bb9d6ddbe450c8d17"
},
"downloads": -1,
"filename": "tracer-2.0.0-py34-none-any.whl",
"has_sig": false,
"md5_digest": "f7ed1b9eaeb8cf96035f38fb01225325",
"packagetype": "bdist_wheel",
"python_version": "py34",
"requires_python": null,
"size": 16899,
"upload_time": "2024-10-14T16:41:40",
"upload_time_iso_8601": "2024-10-14T16:41:40.501294Z",
"url": "https://files.pythonhosted.org/packages/25/a0/d0f9972a09a59fce7852f6fda9f2b55cc8644353395f6434b29bf6a4bd94/tracer-2.0.0-py34-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ec516f6f3db16d1a3b7a3c260862b07588b525a71dead947352872ddff38408e",
"md5": "5339202426df2435d512e5622cd3abe2",
"sha256": "df173b1d226bae1ad79eecdbc190990696ee834a3ba2101e49bb9317a3ffd8e4"
},
"downloads": -1,
"filename": "tracer-2.0.0-py35-none-any.whl",
"has_sig": false,
"md5_digest": "5339202426df2435d512e5622cd3abe2",
"packagetype": "bdist_wheel",
"python_version": "py35",
"requires_python": null,
"size": 16899,
"upload_time": "2024-10-14T16:41:41",
"upload_time_iso_8601": "2024-10-14T16:41:41.876503Z",
"url": "https://files.pythonhosted.org/packages/ec/51/6f6f3db16d1a3b7a3c260862b07588b525a71dead947352872ddff38408e/tracer-2.0.0-py35-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2cd2f60d12460bc474bfe2178b87384f0ff3a8aff445d8a40aad36c872607456",
"md5": "eac29b018a4c829897adb82b3449baa0",
"sha256": "af46d2b0a77dab41b9b6a7ebab4eabc76b8703e34f9465afe0ce39203f59e17a"
},
"downloads": -1,
"filename": "tracer-2.0.0-py36-none-any.whl",
"has_sig": false,
"md5_digest": "eac29b018a4c829897adb82b3449baa0",
"packagetype": "bdist_wheel",
"python_version": "py36",
"requires_python": null,
"size": 16980,
"upload_time": "2024-10-14T16:41:43",
"upload_time_iso_8601": "2024-10-14T16:41:43.761175Z",
"url": "https://files.pythonhosted.org/packages/2c/d2/f60d12460bc474bfe2178b87384f0ff3a8aff445d8a40aad36c872607456/tracer-2.0.0-py36-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "90bddc6eb7c965268d08f4c8e88ef3ec5609fc8d510d3ebe59f6ab26f79836aa",
"md5": "c8e34188a04e98587a16f66f5e1cfa6a",
"sha256": "c8f28cb5916a7fe6bf13c6aa6623b59ebce540ab369a28db75f2289a3ab865ca"
},
"downloads": -1,
"filename": "tracer-2.0.0-py37-none-any.whl",
"has_sig": false,
"md5_digest": "c8e34188a04e98587a16f66f5e1cfa6a",
"packagetype": "bdist_wheel",
"python_version": "py37",
"requires_python": null,
"size": 16964,
"upload_time": "2024-10-14T16:41:45",
"upload_time_iso_8601": "2024-10-14T16:41:45.426636Z",
"url": "https://files.pythonhosted.org/packages/90/bd/dc6eb7c965268d08f4c8e88ef3ec5609fc8d510d3ebe59f6ab26f79836aa/tracer-2.0.0-py37-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "05aa0343693ac5bd50749b02bfd562cb9e4558161a5609a3d2cd92f30027a877",
"md5": "6837c506cb637cad367010a469550fbd",
"sha256": "a5553847cdb8c492dac01cc63c5603d1ecf8f7e1e628af4b5240a2b4f569ab40"
},
"downloads": -1,
"filename": "tracer-2.0.0-py38-none-any.whl",
"has_sig": false,
"md5_digest": "6837c506cb637cad367010a469550fbd",
"packagetype": "bdist_wheel",
"python_version": "py38",
"requires_python": null,
"size": 16965,
"upload_time": "2024-10-14T16:41:46",
"upload_time_iso_8601": "2024-10-14T16:41:46.803531Z",
"url": "https://files.pythonhosted.org/packages/05/aa/0343693ac5bd50749b02bfd562cb9e4558161a5609a3d2cd92f30027a877/tracer-2.0.0-py38-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b5559b0db08abb2aeed51d201a80e95920c6bc9bcd20f5040e4e5aca1affc611",
"md5": "c11bd40530a1b87caa33e0a42cb7364a",
"sha256": "ab5fb2dbed52b82d12c6bff28c440814227d75febd86ed535660c2c828f1c612"
},
"downloads": -1,
"filename": "tracer-2.0.0-py39-none-any.whl",
"has_sig": false,
"md5_digest": "c11bd40530a1b87caa33e0a42cb7364a",
"packagetype": "bdist_wheel",
"python_version": "py39",
"requires_python": null,
"size": 16980,
"upload_time": "2024-10-14T16:41:48",
"upload_time_iso_8601": "2024-10-14T16:41:48.306611Z",
"url": "https://files.pythonhosted.org/packages/b5/55/9b0db08abb2aeed51d201a80e95920c6bc9bcd20f5040e4e5aca1affc611/tracer-2.0.0-py39-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "dea89f47e80c5fb2a908dd6f23f3eb22a182956425a75ca70f88be0384315361",
"md5": "7761587cfe0b2c6f429a08a37e0e74fd",
"sha256": "baec4888666191ed7fb25c38c526a81d6c748787cacb649d6f67fd75da17687a"
},
"downloads": -1,
"filename": "tracer-2.0.0.tar.gz",
"has_sig": false,
"md5_digest": "7761587cfe0b2c6f429a08a37e0e74fd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26255,
"upload_time": "2024-10-14T16:42:07",
"upload_time_iso_8601": "2024-10-14T16:42:07.764874Z",
"url": "https://files.pythonhosted.org/packages/de/a8/9f47e80c5fb2a908dd6f23f3eb22a182956425a75ca70f88be0384315361/tracer-2.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-14 16:42:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rocky",
"github_project": "pytracer",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"circle": true,
"lcname": "tracer"
}