Skip to main content

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


Download files

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

Source Distribution

clarix-0.0.6.1.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

clarix-0.0.6.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file clarix-0.0.6.1.tar.gz.

File metadata

  • Download URL: clarix-0.0.6.1.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clarix-0.0.6.1.tar.gz
Algorithm Hash digest
SHA256 42cda4fc60295690c9c87745aec79987173ced8a99e31d822e058d9374242ee9
MD5 91da31541ba1bd76ed17bc018eb35c7f
BLAKE2b-256 7a8f4d3f7599c29595eda1303fb4b22380b81e5f415f0b4ef17a0df0bdb5b698

See more details on using hashes here.

File details

Details for the file clarix-0.0.6.1-py3-none-any.whl.

File metadata

  • Download URL: clarix-0.0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clarix-0.0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a041f1375ad4111fe40fbbc86b7aa8217bf3ef19236461ad99b4add7b9b9e06b
MD5 0df922c76e5660b060b553e9611d5b91
BLAKE2b-256 9877442343cdc88ee60909e62d7e06b8b6bd97f1bdc0a188f9f407e8492ac908

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