Paste or pipe any error message and get a plain-English explanation powered by Claude
Project description
errex — Error Explainer
Paste or pipe any error message and get a clear, plain-English explanation powered by Claude.
$ cat traceback.txt | errex.py
────────────────────────────────────────────────────
errex — Error Analysis
────────────────────────────────────────────────────
**TypeError: unsupported operand type(s) for +: 'int' and 'str'**
This is a Python type error...
Install
pip install git+https://github.com/Bsel153/errex.git
export ANTHROPIC_API_KEY=sk-...
Requires Python 3.8+ and an Anthropic API key.
Usage
# Interactive — paste your error, then Ctrl+D (Mac/Linux) or Ctrl+Z+Enter (Windows)
errex
# Read from a file
errex traceback.txt
# Pipe from another command
cat error.log | errex
errex < error.log
# One-paragraph summary instead of full analysis
errex --brief traceback.txt
# Hint the language when the error is ambiguous
errex --lang rust traceback.txt
# Copy the explanation to the clipboard
errex --copy traceback.txt
# Structured JSON output (error_type, root_cause, fix_steps, gotchas)
errex --json traceback.txt
# Use a different Claude model
errex --model claude-opus-4-7 traceback.txt
Past explanations are saved to ~/.errex_history (one JSON object per line).
What you get
For any error, errex explains:
- What kind of error it is and which language or tool produced it
- What it means in plain English
- The most likely root cause, ranked by probability
- Numbered fix steps with code snippets where helpful
- Common gotchas — the non-obvious things that trip people up
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file errex-0.1.0.tar.gz.
File metadata
- Download URL: errex-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59b6bc202dbe28c697e8a59a835bd15e4f4b71118fb39720cf45cdf501cd99b8
|
|
| MD5 |
7252ab020a27a7e1d6a853050db5b7d9
|
|
| BLAKE2b-256 |
54ea5ae05874e9d16d0d7f15fa47c7ad98a7ffd207b25010b8ccb9399556921f
|
File details
Details for the file errex-0.1.0-py3-none-any.whl.
File metadata
- Download URL: errex-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e5430e93f713a1e6eef7dfdc00c265834949999d7275dc29ef292ab0c02f7bf
|
|
| MD5 |
d593d86edeeeb836abf80388c293e4a5
|
|
| BLAKE2b-256 |
08e6cfcad00889b198a91dd0d696aaf37e508bf6315b1c481976a577997d04d1
|