{"id":17354364,"url":"https://github.com/morefigs/traceprint","last_synced_at":"2025-08-20T16:31:32.225Z","repository":{"id":57454849,"uuid":"351667351","full_name":"morefigs/traceprint","owner":"morefigs","description":"traceprint is a Python package that adds stack trace links to the builtin print function, so that editors such as PyCharm can link to the source of the print call.","archived":false,"fork":false,"pushed_at":"2024-03-19T07:01:44.000Z","size":341,"stargazers_count":103,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-04-30T11:18:43.236Z","etag":null,"topics":["print","python","stack","traceback"],"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/morefigs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-26T05:01:26.000Z","updated_at":"2024-07-24T00:38:23.299Z","dependencies_parsed_at":"2024-07-24T00:54:43.268Z","dependency_job_id":null,"html_url":"https://github.com/morefigs/traceprint","commit_stats":{"total_commits":59,"total_committers":1,"mean_commits":59.0,"dds":0.0,"last_synced_commit":"3a1c0b0083f6900d40aa499e5cfec7a5b002d8dc"},"previous_names":["morefigs/printstack"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morefigs%2Ftraceprint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morefigs%2Ftraceprint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morefigs%2Ftraceprint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morefigs%2Ftraceprint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morefigs","download_url":"https://codeload.github.com/morefigs/traceprint/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230438185,"owners_count":18225870,"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":["print","python","stack","traceback"],"created_at":"2024-10-15T17:19:47.053Z","updated_at":"2024-12-19T13:07:26.169Z","avatar_url":"https://github.com/morefigs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# traceprint\n\n_\"I never use the print statement for debugging, but when I do I use traceprint.\"_ - Guido van Rossum.\n\n`traceprint` is a Python package that adds stack trace links to the builtin print function, so that editors such as PyCharm can link to the source of the `print` call.\n\n![](examples/example.png?raw=true)\n\n## Installation\n\n[![Downloads](https://pepy.tech/badge/traceprint)](https://pepy.tech/project/traceprint)\n\n    pip install traceprint\n\n## Usage\n\nSimply import `traceprint` to enhance the `print` function:\n\n```python\nimport traceprint\n\nprint(\"Hello world\")\n\n# Hello world              File \"/dev/traceprint/examples/example.py\", line 3, in \u003cmodule\u003e\n```\n\nSome options are configurable:\n\n```python\nimport traceprint\ntraceprint.set_options(\n    limit=1,                        # Limit depth of stack entries displayed, if limit is above zero\n    right_align=40,                 # Number of characters to offset the link text to the right by\n    flatten_recurring_outputs=True  # Display recurring outputs (e.g. from a loop) inline instead of multiline\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorefigs%2Ftraceprint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorefigs%2Ftraceprint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorefigs%2Ftraceprint/lists"}