Skip to main content

A small python package

Project description

ErrorVision 🛠️

Beginner-Friendly Python Error Helper with Instant Fix Suggestions


ErrorVision is a Python package that makes debugging simple, clear, and beginner-friendly. It enhances Python's default error messages by providing easy-to-understand explanations and practical suggestions for fixing common coding mistakes. Ideal for beginners, learners, and developers who want faster debugging.


Features

  • ✅ Converts complex Python errors into simple explanations.
  • 💡 Suggests practical fixes for common errors like SyntaxError, NameError, TypeError, IndexError, KeyError, and more.
  • 🖥️ Highlights the exact line of code causing the error.
  • 🌐 Provides a direct Google search link for additional guidance.
  • 🔹 Works with threads and handles uncaught exceptions globally.
  • 🎨 Uses rich for colorful, styled, and readable error output.

Installation

pip install errorvision

Usage

Enable ErrorVision at the start of your Python script:

import errorvision.core as ev

ev.enable()

# Example code
print(undeclared_variable)  # Will trigger NameError

Why Use ErrorVision?

  • Speeds up learning for Python beginners.
  • Makes debugging less frustrating and more intuitive.
  • Provides contextual guidance without leaving your terminal.
  • Works seamlessly in scripts, notebooks, and threaded programs.

FAQ

Q: Does it work with Python 2 and 3?
A: Designed for Python 3.x. Some features may not work in Python 2.

Q: Can it handle multithreaded programs?
A: Yes! ErrorVision hooks into threading.excepthook for thread-safe error handling.

Q: What if my code editor already highlights errors?
A: ErrorVision works in the terminal or console. It complements editor features and gives beginner-friendly explanations.


Contributing

Contributions, suggestions, and bug reports are welcome! Please submit issues or pull requests on GitHub.

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-name)
  3. Make your changes
  4. Submit a pull request

License

MIT License © 2026

Author

Muhaiminul Islam Sadat

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

errorvision-0.0.5.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

errorvision-0.0.5-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file errorvision-0.0.5.tar.gz.

File metadata

  • Download URL: errorvision-0.0.5.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for errorvision-0.0.5.tar.gz
Algorithm Hash digest
SHA256 3a8225286fb56828295e93150bbec8b8c5a467aa30953b0d0bb794ee63f03d17
MD5 e87b81c116a248560d4c668c34d5c92b
BLAKE2b-256 14bd9260117fe520ce601ed0bb8f8474ff261c20877ef774b2ff3b59a3c801a3

See more details on using hashes here.

File details

Details for the file errorvision-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: errorvision-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for errorvision-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ca8a91316eedc0cc06ac7fecbb8ce17800c7f486be84afd5381793a836cba045
MD5 a1bc9e1795ab605e1f579a6352b76272
BLAKE2b-256 9237516611336138f2789c8e302ea7914cdf34da380f537bff894018fb75fc48

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