Skip to main content

Traceback go - Navigate to lines in tracebacks from the command-line

Project description

tb-go

@readwithai - X - blog - machine-aided reading - 📖⚡️🖋️

Traceback go.

Go to lines in a traceback from the command-line.

Warning: this is vibe coded - but will likely get less so over time.

Motivation

I have been doing vibe code recently and using a full editor feels a bit heavy weight (another window to be aware of). So I am doing more things at the command-line with vim. But clickable tracebacks are really nice so I an adding this the shell.

Installation

You can install tb-go with pipx.

pipx install tb-go

Usage

You can run tb-go and paste a traceback into it (on linux middle click is your friend here).

Alternatively you can use it as a wrapper with tb-go python script.py

Alternatives and prior work

Python provides programmatic handlers for tracebacks. You could use one of these rather than parsing erorrs.

Many IDEs have this feature. I have implemented it in emacs with compile mode.

Django has clickable tracebacks.

About me

I am @readwithai. I create tools for reading, research and agency sometimes using the markdown editor Obsidian.

I also create a stream of tools that are related to carrying out my work. You may be interested in some of these tools.

I write about lots of things - including tools like this - on X. My blog is more about reading and research and agency.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tb_go-1.2.4.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tb_go-1.2.4-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file tb_go-1.2.4.tar.gz.

File metadata

  • Download URL: tb_go-1.2.4.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tb_go-1.2.4.tar.gz
Algorithm Hash digest
SHA256 596732b9b679b8dbede5ebd2967462fa76b19a31e6a528c80737d76694e64830
MD5 b092e46456883652db6695a723195427
BLAKE2b-256 1b483e5aedf510c9c960d2090b733d07d37cb8f10cf2d89e3cfd02f1500482fd

See more details on using hashes here.

File details

Details for the file tb_go-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: tb_go-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for tb_go-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f097bf9781ec3b4c89fd1b80bd15e3b27784d241829d17c5851272071d652545
MD5 2913665510a5602b9f7773d51569d904
BLAKE2b-256 6d393cc5ed4d9a28f06f73bdeb2c4fc9820e9b1a5e0b3b8a32a198e62d2523f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page