{"id":20829591,"url":"https://github.com/celsiusnarhwal/rich-tracebacks","last_synced_at":"2025-12-28T06:25:21.873Z","repository":{"id":64971977,"uuid":"580178102","full_name":"celsiusnarhwal/rich-tracebacks","owner":"celsiusnarhwal","description":"Automatic installation of Rich's tracebacks","archived":false,"fork":false,"pushed_at":"2023-09-13T17:04:46.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T03:33:42.793Z","etag":null,"topics":["python","rich","traceback"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rich-tracebacks","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/celsiusnarhwal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-12-19T22:56:10.000Z","updated_at":"2024-03-30T22:03:09.000Z","dependencies_parsed_at":"2025-01-18T18:49:16.819Z","dependency_job_id":"e261d9da-23ab-4619-8e12-9efb1965e8db","html_url":"https://github.com/celsiusnarhwal/rich-tracebacks","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"b9f410748c2621144fd4828bb1b1fe93524bd8c9"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celsiusnarhwal%2Frich-tracebacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celsiusnarhwal%2Frich-tracebacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celsiusnarhwal%2Frich-tracebacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/celsiusnarhwal%2Frich-tracebacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/celsiusnarhwal","download_url":"https://codeload.github.com/celsiusnarhwal/rich-tracebacks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243179815,"owners_count":20249179,"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":["python","rich","traceback"],"created_at":"2024-11-17T23:21:11.878Z","updated_at":"2025-12-28T06:25:21.865Z","avatar_url":"https://github.com/celsiusnarhwal.png","language":"Python","readme":"# rich-tracebacks\n\nrich-tracebacks automates the installation\nof [Rich's traceback handler](https://rich.readthedocs.io/en/stable/traceback.html#traceback-handler) in Python\nprograms. Compared to Rich's\nown [sanctioned method](https://rich.readthedocs.io/en/stable/traceback.html#automatic-traceback-handler)\nof automatically installing its traceback handler, rich-tracebacks is markedly simpler and agnostic to your virtual\nenvironment.\n\n## Installation\n\n```bash\npip install rich-tracebacks\n```\n\n## Usage\n\n### Enabling\n\nSet the `RICH_TRACEBACKS` environment variable. The value of the variable doesn't matter, but we'll use `1` as an\nexample.\n\n```bash\nexport RICH_TRACEBACKS=1\n```\n\nThat's it. Rich's traceback handler will be automatically installed each time you run your program.\n\n\u003e [!IMPORTANT]\n\u003e If you use [PyCharm](https://jetbrains.com/pycharm), you may notice that rich-tracebacks doesn't work when using\n\u003e PyCharm's debugger. You can fix this by setting the `RICH_TRACEBACKS_PYCHARM` environment variable to any value.\n\n### Disabling\n\nUnset the `RICH_TRACEBACKS` environment variable.\n\n```bash\nunset RICH_TRACEBACKS\n```\n\n### Configuration\n\nYou can configure the traceback handler with\nits [supported options](https://rich.readthedocs.io/en/stable/reference/traceback.html#rich.traceback.install)\nby creating an `rt_config.py` file at your project's root. The file should contain a dictionary named `config`\nthat maps option names to their intended values. For example:\n\n```python\n# rt_config.py\n\nconfig = {\n    \"show_locals\": True,\n    \"width\": 120,\n    \"theme\": \"monokai\",\n    ...\n}\n```\n\nOptions that are not defined in `rt_config.py` will fall back to their default values. If `rt_config.py`\ndoes not exist, all options will fall back to their default values.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelsiusnarhwal%2Frich-tracebacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcelsiusnarhwal%2Frich-tracebacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcelsiusnarhwal%2Frich-tracebacks/lists"}