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.2.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.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clarix-0.0.6.2.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.2.tar.gz
Algorithm Hash digest
SHA256 378044ae3cba175add98107548830879c611dcc8474efee79c669a11d28f4396
MD5 51ebe0643c1d707c287eac21706836c2
BLAKE2b-256 2e537a046909d76086e0a70a801bc93011a9c3b43d426e42230fcc14a19a3ac9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clarix-0.0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 15.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 400e81ff6b4fb938f7ef14b2d32c158d8a9a86c36a5a7fa839380b2d6cce7b9f
MD5 004b16a01d78f3517bf68379b46cae59
BLAKE2b-256 73c93fc6469c4ba9702470a176566fb65f68473f7e2483b2d0d292626e8a6a54

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