https://github.com/sanaapathann/fixypy-lite
FixyPy Lite is a beginner-friendly Python sandbox that gently corrects common expression mistakes — like mixing strings and numbers — and suggests what you probably meant.
https://github.com/sanaapathann/fixypy-lite
error-handling fix python python3 streamlit website
Last synced: about 2 months ago
JSON representation
FixyPy Lite is a beginner-friendly Python sandbox that gently corrects common expression mistakes — like mixing strings and numbers — and suggests what you probably meant.
- Host: GitHub
- URL: https://github.com/sanaapathann/fixypy-lite
- Owner: Sanaapathann
- Created: 2025-06-22T17:07:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-22T17:21:46.000Z (about 1 year ago)
- Last Synced: 2025-06-22T18:26:50.052Z (about 1 year ago)
- Topics: error-handling, fix, python, python3, streamlit, website
- Language: Python
- Homepage: https://fixypy.streamlit.app
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🛠️ FixyPy Lite
**FixyPy Lite** is a beginner-friendly Python sandbox that gently corrects common expression mistakes — like mixing strings and numbers — and suggests what you probably meant.
**Tech Stack**
Python 3.13
Streamlit
Regex & eval-based suggestion engine
Try it now → [https://fixypy.streamlit.app](https://fixypy.streamlit.app)
---
## What is FixyPy Lite?
> `"hello" - 2"` → error?
> FixyPy says: `Did you mean: "hello"[:-2]` Output: `hel`
FixyPy helps new coders learn **by fixing their code** and **explaining the fix** — no cryptic error messages.
It supports:
- `string + string` (`a+a` → `Did you mean "a" + "a"?`)
- `string - number` (`"abc" - 1` → `"abc"[:-1]`)
- `string + number` → suggests type casting
- `number + string` → same fix
- Handles `/`, `-`, `*`, `//` with strings and numbers
- More coming soon!
---
## Why FixyPy Lite is Better for Newbies
- Clear, gentle suggestions instead of scary Python errors
- Tells you what you *meant*, not just what's *wrong*
- Reinforces key Python rules: types, casting, slicing
- Built using Streamlit – no install or login needed
- Perfect for schools, bootcamps, or self-learners
---
## Example Fixes
| Input | Suggestion | Result |
|----------------|-----------------------------|----------|
| `"a" + "a"` | `aa` (works) | `aa` |
| `"test" + 5` | `Did you mean: "test" + str(5)` | `test5` |
| `3 + "b"` | `Did you mean: str(3) + "b"` | `3b` |
| `"hello" - 2` | `Did you mean: "hello"[:-2]` | `hel` |
---
## How to Use Locally
```bash
git clone https://github.com/Sanaapathann/fixypy-lite.git
cd fixypy-lite
pip install streamlit
streamlit run fixypy.py