Metadata-Version: 2.4
Name: fangcheck
Version: 1.0.5
Summary: A beginner-friendly Python error enhancer with instant fix suggestions
Home-page: https://github.com/Vedant-OGC/fangcheck
Author: Newton Mishra
Author-email: newtonmishra007@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/Vedant-OGC/fangcheck/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: rich
Provides-Extra: testing
Requires-Dist: pytest>=7.1.3; extra == "testing"
Requires-Dist: mypy>=0.971; extra == "testing"
Requires-Dist: flake8>=5.0.4; extra == "testing"
Requires-Dist: tox>=3.25.1; extra == "testing"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-python
Dynamic: summary

# FangCheck

**Beginner-Friendly Python Error Helper with Instant Fix Suggestions**

---

FangCheck 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 **clean, styled, and readable error output**.

---

## Installation

```bash
pip install fangcheck
```

## Usage

Enable FangCheck at the start of your Python script:

```python
import fangcheck

fangcheck.enable()

# Example code
print(undeclared_variable)  # Will trigger NameError
```

Or import from core:

```python
import fangcheck.core as fc

fc.enable()
```

## Why Use FangCheck?

- 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! FangCheck hooks into `threading.excepthook` for thread-safe error handling.

**Q: What if my code editor already highlights errors?**  
A: FangCheck 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: [https://github.com/Vedant-OGC/fangcheck](https://github.com/Vedant-OGC/fangcheck)
2. Create a new branch (`git checkout -b feature-name`)  
3. Make your changes  
4. Submit a pull request

---

## License

MIT License (c) 2026

## Author
Newton Mishra (newtonmishra007@gmail.com)
