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.3.tar.gz (12.4 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.3-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

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

Hashes for clarix-0.0.6.3.tar.gz
Algorithm Hash digest
SHA256 321af61081fff4159f597d4a4b5586b7da23facd564147be1f1ce51d4677e726
MD5 f0f43ae67555433922fd85464536a8ea
BLAKE2b-256 198d7bf8fe0d4925b0a8c0441bde40abb467b21fe29fa7648e9720e6be26acbf

See more details on using hashes here.

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

Hashes for clarix-0.0.6.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a1ecb560a162a5a9de5de544de787e6c3514669cd6a495257799c5247bcee65d
MD5 bc4e95c893d2b9d159a82833daf4146e
BLAKE2b-256 40b2639fb276b2bd709bbff212ad026e4e9a89ce8ba1025cb21b6d1659bf7c8d

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