Metadata-Version: 2.4
Name: pykanha077
Version: 0.1.0
Summary: A Python learning helper for students — explains errors, quizzes concepts, gives tips, and answers questions with AI
Author-email: Kanha <yashvijayvergiya911@gmail.com>
License: MIT
Keywords: ai,education,learning,python,students,tutor
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Education
Requires-Python: >=3.10
Requires-Dist: groq>=0.9.0
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Description-Content-Type: text/markdown

# pybuddy

A Python learning helper for students. Explains errors in plain English, quizzes you on concepts, gives daily tips, and uses AI to answer any Python question.

## Install

```bash
pip install pybuddy
# or
uv add pybuddy
```

## Usage

### Terminal
```bash
pybuddy explain NameError
pybuddy tip
pybuddy gui
```

### In Python
```python
from pybuddy import explain_error, daily_tip, explain_error_ai

print(explain_error("TypeError"))
print(daily_tip())
print(explain_error_ai("RecursionError"))  # needs GROQ_API_KEY
```

### GUI
```bash
pybuddy-gui
```

## AI features

Set a free Groq API key to unlock AI-powered explanations:
```bash
export GROQ_API_KEY=your_key_here   # Linux/Mac
$env:GROQ_API_KEY="your_key_here"  # Windows
```

Get a free key at https://console.groq.com

## License

MIT