Skip to main content

AI enabled error handling library

Project description

pyerrorhelper

🧠 AI-enabled Python library for runtime error explainability.


📖 Description

pyerrorhelper is a Python library that brings AI-powered error explainability into your runtime environment.

Why?

Developers typically use AI before running code (for generation) or after running code (for debugging).
This package enables AI during execution, so your running Python programs can leverage AI-driven insights in real time.

Key Objectives

  • Runtime AI integration – Make AI available inside the running program (starting with error explainability).
  • Retrofit older systems – Allow existing Python systems to adopt AI workflows with minimal changes.
  • Free & local AI models – Works with free AI solutions - using Ollama.

⚙️ Installation

  1. Install Python
    Download and install from python.org.

  2. Install pyerrorhelper

    pip install pyerrorhelper
    
  3. Usage

from pyerrorhelper import ErrorManager

if __name__ == "__main__":
    error_manager = ErrorManager()
    error_manager.install()

    def cause_error():
        return 1 / 0  # This will raise a ZeroDivisionError

    cause_error()

    error_manager.uninstall()

👨‍💻 About Me

Name: Shikhar Aditya

Email: satyamshikhar@gmail.com

GitHub: Satyamaadi

🤝 Contributing

Contributions are welcome! Feel free to fork, open issues, or submit pull requests.

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

pyerrorhelper-0.2.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

pyerrorhelper-0.2.1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file pyerrorhelper-0.2.1.tar.gz.

File metadata

  • Download URL: pyerrorhelper-0.2.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyerrorhelper-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ba9248ed9e15765a106cf00aa668706cb17130ebb983effdb67d02bac3a437ea
MD5 457973d50d2dce7e831968ec1491f311
BLAKE2b-256 4b11b6d99b8793eb5e3bcdadf049414026c93c1b99c79831d2ac48d1c939160b

See more details on using hashes here.

File details

Details for the file pyerrorhelper-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pyerrorhelper-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyerrorhelper-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6632c590693f0dd2df03a05626b2bcb8b9e3cea8f29350517313e762c4608f89
MD5 c67fa1feabb4fe729bf4bdc1452b9e62
BLAKE2b-256 c3bda61669485606f425fd760174a19afdbb60a8d3f5c23d7d3e565b5005fe37

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