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.4.tar.gz (14.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.4-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clarix-0.0.6.4.tar.gz
  • Upload date:
  • Size: 14.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.4.tar.gz
Algorithm Hash digest
SHA256 97a9375b5eedad12929f6c01e3ee2f15dbe5a55d829f1e1cc17637280213ce72
MD5 1b1591ffdca402bc36148c031e3cc234
BLAKE2b-256 de5e62dfccc026c8f81cd33a14c198bbe440070e96d8b88527ed9c66a246ce67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clarix-0.0.6.4-py3-none-any.whl
  • Upload date:
  • Size: 17.3 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 adfabf32d7d8e915e8165911dfe17ccc89e7084275ea8fb8110ae654e33fbf80
MD5 0f31d800127060a821bbf9cffed9ec6f
BLAKE2b-256 dffead0014dfb9ea470741c102c7f51d6d7e36474d804c5d813c94ef93459a9a

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