trprint
Custom Traceback printer
No Dependencies
Install
pip install trprint
Usage
>>> from trprint import tprint
>>> try:
print(sys.argv[1])
except:
tprint()
>>> # output with colors:
2026-09-30 20:08:52.888009 - <class 'IndexError'> : list index out of range
File "<ipython-input-4-05d459f38238>", line 2, in <module>
print(sys.argv[1])
~~~~~~~~^^^
2026-09-30 20:08:52.888009 - <class 'IndexError'> : list index out of range
👤 Author
Metadata
Release files for trprint 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trprint-1.0.5.tar.gz | 7.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trprint-1.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.3 kB
Release files / trprint-1.0.5.tar.gz
| Download URL | trprint-1.0.5.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
833ba387e5618e8445537b43f076b00f663110ee619941234bb67716f7201001
|
|
BLAKE2b-256 checksum How to use checksums |
189ca8f36c5ff788cd21b865f8517f7f9b20265cf9a8d14de3d803dc2cccc4ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / trprint-1.0.5-py3-none-any.whl
| Download URL | trprint-1.0.5-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d36f0cccfa85a4370391ce70bd9095bae10ae612ba78f24af58d13bc5e564740
|
|
BLAKE2b-256 checksum How to use checksums |
4042618fa6f41cd727fd457dc3c731276263463b11858db0db10bc8142bfb2df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|