{"id":13936349,"url":"https://github.com/hchasestevens/tracing","last_synced_at":"2025-04-09T19:23:54.640Z","repository":{"id":57476826,"uuid":"109327650","full_name":"hchasestevens/tracing","owner":"hchasestevens","description":"Utilities for tracing program execution line-by-line","archived":false,"fork":false,"pushed_at":"2018-03-04T14:33:42.000Z","size":39,"stargazers_count":33,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T21:22:41.739Z","etag":null,"topics":["debugging-tool","ipython"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hchasestevens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-02T23:01:49.000Z","updated_at":"2024-10-30T23:36:54.000Z","dependencies_parsed_at":"2022-09-14T12:30:45.846Z","dependency_job_id":null,"html_url":"https://github.com/hchasestevens/tracing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchasestevens%2Ftracing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchasestevens%2Ftracing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchasestevens%2Ftracing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hchasestevens%2Ftracing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hchasestevens","download_url":"https://codeload.github.com/hchasestevens/tracing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248096164,"owners_count":21046989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debugging-tool","ipython"],"created_at":"2024-08-07T23:02:35.291Z","updated_at":"2025-04-09T19:23:54.615Z","avatar_url":"https://github.com/hchasestevens.png","language":"Python","funding_links":["https://liberapay.com/hchasestevens/"],"categories":["Python"],"sub_categories":[],"readme":"# tracing\n\n[![PyPI version](https://badge.fury.io/py/tracing.svg)](https://badge.fury.io/py/tracing)\n[![Liberapay receiving](https://img.shields.io/liberapay/receives/hchasestevens.svg)](https://liberapay.com/hchasestevens/)\n\nUtilities for tracing program execution line-by-line.\n\n\u003cimg src=\"demo.gif\" width=\"642\"\u003e\n\n## What is this good for?\n\nHave you ever been in a situation where you weren't quite sure what a program was doing? Where the program seems to hang, or seems to spend too long between two stages, or is behaving in a way you don't expect it to? `tracing` lets you see in real-time exactly what is being run, without some of the overhead of using a debugger - like having to set breakpoints or manually advance the program's execution.\n\n## Installation\n\n`pip install tracing`\n\n## Usage\n\nWithin code:\n```python\nfrom tracing import tracing\nwith tracing():\n  ...  # each line executed will be printed to stdout\n```\n\nWithin an IPython shell:\n```python\nIn [0]: import tracing\n\nIn [1]: %trace enable\n```\n\n## Contacts\n\n* Name: [H. Chase Stevens](http://www.chasestevens.com)\n* Twitter: [@hchasestevens](https://twitter.com/hchasestevens)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhchasestevens%2Ftracing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhchasestevens%2Ftracing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhchasestevens%2Ftracing/lists"}