A curated collection of Python projects showcasing automation, AI, multimedia processing, and practical utilities
Getting Started • Projects • Tech Stack • Contributing
- 🎮 Tic-Tac-Toe Game
- 🎥 Screen Recorder
- ✍️ Spell Checker
- 💰 Rent Calculator
- 🖼️ Slideshow
- 📱 QR Code Generator
- 🎬 ASCII Video Player
- 🤖 AI Task Agent
- 🗄️ Python MongoDB Integration
- 📝 FastAPI Notes App
- ✨ Doctor Strange Hand Gestures
# Clone the repository
git clone https://github.com/Pratham-Prog861/Python-Projects.git
# Navigate to a specific project
cd <project-folder>
# Install dependencies (if requirements.txt exists)
pip install -r requirements.txt
# Run the project
python <main-file>.pyClassic two-player game with a clean GUI interface
📂 tic-tac-toe/
└── tictactoe.pyFeatures:
- Interactive GUI using Tkinter
- Two-player gameplay
- Win detection algorithm
- Clean and intuitive interface
Run:
cd tic-tac-toe
python tictactoe.pyCapture your screen activity and save as video
📂 screen recorder/
└── sr.pyFeatures:
- Real-time screen capture
- Video file output
- Keyboard interrupt handling
Run:
cd "screen recorder"
python sr.py
# Press Ctrl+C to stop recordingTech: pyautogui, cv2, numpy
Intelligent spell checking utility for text validation
📂 spell checker/
└── spellchecker.pyFeatures:
- Real-time spell checking
- Suggestion engine
- Custom dictionary support
Run:
cd "spell checker"
python spellchecker.pyTech: spellchecker
Split rent fairly among roommates
📂 rent calculator/
└── rentCalculator.pyFeatures:
- Multi-person rent splitting
- Custom calculation logic
- User-friendly interface
Run:
cd "rent calculator"
python rentCalculator.pyAutomated image slideshow viewer
📂 slideshow/
└── slideshow.pyFeatures:
- Automatic image transitions
- Customizable timing
- Support for multiple formats
Run:
cd slideshow
python slideshow.pyTech: PIL/Pillow, tkinter
Generate QR codes for UPI payments and more
📂 qrcode/
└── qrcode.pyFeatures:
- UPI payment QR generation
- Customizable QR codes
- High-quality output
Run:
cd qrcode
python qrcode.pyTech: qrcode, PIL
Convert videos to ASCII art in real-time
📂 ascii-video/
├── main.py
├── pyproject.toml
├── uv.lock
└── vid.mp4Features:
- Video to ASCII conversion
- Real-time playback
- Modern Python packaging with
uv
Run:
cd ascii-video
python main.pyTech: opencv-python, numpy
Intelligent task management agent powered by AI
📂 ai-agent/
├── task_agent.py
├── tasks.txt
├── .env
└── .gitignoreFeatures:
- AI-powered task processing
- Environment configuration
- Task persistence
Run:
cd ai-agent
python task_agent.pyTech: AI/ML libraries, environment management
Database operations with MongoDB
📂 python_mongodb/
├── main.py
├── requirements.txt
├── .env
└── .env.exampleFeatures:
- MongoDB CRUD operations
- Environment-based configuration
- Secure credential management
Setup:
cd python_mongodb
cp .env.example .env
# Edit .env with your MongoDB credentials
pip install -r requirements.txt
python main.pyTech: pymongo, python-dotenv
Full-stack notes application with FastAPI backend and vanilla JavaScript frontend
📂 fastapi-notes/
├── main.py
├── database.py
├── models.py
├── schemas.py
├── index.html
├── requirements.txt
├── .env
└── .env.exampleFeatures:
- RESTful API with FastAPI
- MongoDB Atlas integration for cloud storage
- CRUD operations (Create, Read, Update, Delete)
- Single-page application with vanilla JavaScript
- Modern UI with Tailwind CSS
- Dark mode support
- Real-time search functionality
- Toast notifications
- Responsive design
Setup:
cd fastapi-notes
cp .env.example .env
# Edit .env with your MongoDB Atlas credentials
pip install -r requirements.txtRun:
# Start the FastAPI server
uvicorn main:app --reload
# Open index.html in your browser or serve it with:
python -m http.server 8080
# Then visit http://localhost:8080API Endpoints:
POST /notes/- Create a new noteGET /notes/- Get all notesGET /notes/{note_id}- Get a specific notePUT /notes/{note_id}- Update a noteDELETE /notes/{note_id}- Delete a note
Tech: fastapi, uvicorn, pymongo, pydantic, python-dotenv, tailwindcss, vanilla-js
Create magical effects with hand gestures using computer vision
📂 docter-strange/
├── main.py
├── functions.py
├── config.json
├── requirements.txt
└── Models/
├── inner_circles/
└── outer_circles/Features:
- Real-time hand tracking using MediaPipe
- Gesture-based spell casting effects
- Dynamic shield generation when hand is spread
- Rotating magical circles overlay
- Configurable visual effects and camera settings
How it works:
- Spell Mode: When fingers are close together, magical lines connect from wrist to fingertips
- Shield Mode: When hand is spread wide, rotating magical circles appear creating a shield effect
- Hand gesture ratios determine which effect is displayed
Run:
cd docter-strange
pip install -r requirements.txt
python main.py
# Press 'q' to quitTech: opencv-python, mediapipe, numpy
| Category | Technologies |
|---|---|
| Core | |
| Web Framework | |
| Frontend | |
| GUI | |
| Computer Vision | |
| Database | |
| Automation | |
| Image Processing |
fastapi- Modern web framework for building APIsuvicorn- ASGI server for FastAPIpydantic- Data validation using Python type hintstkinter- GUI developmentopencv-python (cv2)- Computer vision and video processingmediapipe- Hand tracking and gesture recognitionpyautogui- GUI automationspellchecker- Spell checking functionalityPillow (PIL)- Image manipulationqrcode- QR code generationpymongo- MongoDB database driverpython-dotenv- Environment variable management
These projects are perfect for:
- 🎓 Learning Python - Hands-on examples of Python concepts
- 🔧 Automation - Automate repetitive tasks
- 🎨 Multimedia Processing - Work with images and videos
- 🌐 Web Development - Build modern REST APIs and web apps
- 🗃️ Database Operations - Learn MongoDB integration
- 🤖 AI Integration - Explore AI-powered applications
- 🛠️ Utility Tools - Practical everyday utilities
Most projects require external dependencies. Install them using:
# For individual projects with requirements.txt
pip install -r requirements.txt
# Common dependencies
pip install tkinter pyautogui opencv-python spellchecker pillow qrcode pymongo python-dotenvContributions are welcome! Feel free to:
- 🐛 Report bugs
- 💡 Suggest new features
- 🔀 Submit pull requests
- ⭐ Star this repository
Made with ❤️ and Python
⭐ Star this repo if you find it helpful!