A professional Python error explanation and debugging assistant with rich UI. (Under development)
Project description
CLARIX
Clarix is a lightweight Python debugging assistant designed to analyze and explain runtime errors in a clear, structured manner. It enhances standard Python tracebacks with improved readability and contextual insights.
✨ Features
- Structured Explanations: Clear and readable error breakdowns.
- Precision Highlighting: Points out the exact line causing the failure.
- Seamless Integration: Works easily with existing Python scripts.
- CLI Support: Command-line interface for rapid debugging.
- Lightweight: Minimal dependencies for a fast, clean experience.
🚀 Installation
Install the latest version via pip:
pip install clarix
🛠 Usage
💻 Command Line Interface
Run Clarix directly in your terminal to analyze a script:
clarix script.py
🐍 Python API
You can use Clarix programmatically to inspect specific files:
import clarix
# Run a specific test file
clarix.run("test.py")
# You can also use directory paths
clarix.run("folder/file.py")
🧪 Experimental Injection
You can inject Clarix directly into a script.
Note: This is not recommended for production, as this experimental feature cannot catch
SyntaxErrors.
import clarix
clarix.enable()
📊 Current Status
- Version: Early development (Alpha)
- Core: Core functionality implemented
- Updates: Actively evolving with frequent feature additions
🗺 Roadmap
- Advanced error classification
- Improved traceback visualization
- Enhanced contextual explanations
- Expanded support for complex error types
📜 License
This project is licensed under the MIT License. See the LICENSE file for more details.
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 clarix-0.0.6.3.tar.gz.
File metadata
- Download URL: clarix-0.0.6.3.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
321af61081fff4159f597d4a4b5586b7da23facd564147be1f1ce51d4677e726
|
|
| MD5 |
f0f43ae67555433922fd85464536a8ea
|
|
| BLAKE2b-256 |
198d7bf8fe0d4925b0a8c0441bde40abb467b21fe29fa7648e9720e6be26acbf
|
File details
Details for the file clarix-0.0.6.3-py3-none-any.whl.
File metadata
- Download URL: clarix-0.0.6.3-py3-none-any.whl
- Upload date:
- Size: 15.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1ecb560a162a5a9de5de544de787e6c3514669cd6a495257799c5247bcee65d
|
|
| MD5 |
bc4e95c893d2b9d159a82833daf4146e
|
|
| BLAKE2b-256 |
40b2639fb276b2bd709bbff212ad026e4e9a89ce8ba1025cb21b6d1659bf7c8d
|