An interactive Python tool that teaches Object-Oriented Programming with AI-driven feedback, real-time evaluation, and code improvements.
✅ Interactive Learning Mode – Type Python OOP code & get AI feedback in real-time.
✅ Auto-Evaluation System – AI analyzes your OOP structure & suggests improvements.
✅ Refactor & Improve Mode – Get AI-powered suggestions to optimize your code.
✅ Pre-Built OOP Examples – Study predefined examples like Car, BankAccount, GameCharacter.
✅ CLI & GUI Support – Use a command-line interface or GUI (coming soon) for a seamless experience.
Clone the repository and install dependencies:
git clone https://github.com/your-username/AIPyOOP.git
cd AIPyOOP
pip install -r requirements.txt
python aipyoop/interactive.pyThe AI will guide you through OOP concepts.
Type your own Python class, and get instant feedback!
python aipyoop/refactor.py my_code.pyThe AI will analyze your code and suggest better OOP practices.
python
from aipyoop.examples import Car
my_car = Car("Toyota", "Corolla", 2023)
print(my_car)AIPyOOP/
├── aipyoop/
│ ├── __init__.py # Package initializer
│ ├── concepts.py # OOP concepts & explanations
│ ├── evaluator.py # AI feedback & evaluation system
│ ├── examples.py # Predefined OOP examples
│ ├── interactive.py # CLI interface for learning
│ ├── refactor.py # AI-powered code improvement
│ ├── gui.py # GUI (to be added later)
│
├── tests/ # Unit tests
├── README.md # Project documentation
├── requirements.txt # Dependencies
├── .gitignore # Ignore unnecessary files
└── setup.py # Package setupContributions are welcome! If you’d like to improve AIPyOOP, follow these steps:
- Fork the repository
- Create a new branch (feature/new-feature)
- Commit your changes
- Push to GitHub and open a pull request
This project is licensed under the MIT License. See the LICENSE file for details.
#🌟 Support & Feedback If you like this project, give it a ⭐ on GitHub! For questions, feel free to open an issue or connect with me.