Python Projects
Python projects showcasing machine learning, web APIs, and simple games.

FastAPI Ecommerce REST API
REST API for ecommerce built with FastAPI. User registration and JWT-based authentication, full CRUD for products and categories, role-based access (superadmin, admin, company, user). PostgreSQL with SQLAlchemy, security middleware: input sanitization (XSS), rate limiting (100 req/min per IP), request size limits (5MB), security headers. OpenAPI docs at /docs and /redoc.

Customer purchase prediction - LLM written on Python
Builds, trains, and evaluates a neural network using TensorFlow for binary classification. Data preprocessing with Pandas, model with ReLU and sigmoid, Adam optimizer. Trained over 50 epochs.

Weather App
Web application that fetches and displays current weather for a city. Flask framework, OpenWeatherMap API, deployed with Waitress WSGI server.

Madlibs Simple Game
Text-based game where users enter words (nouns, adjectives, verbs) inserted into story templates. Random story selection each run.

Guess The Number Simple Game
Two number guessing games: user guesses computer's number or computer guesses user's number. Python random module, standard I/O.

Rock Paper Scissors Simple Game
Classic game against the computer. Enter your name, track games played, wins. Run with python script.py --name YourName.

Hangman Simple Game
Word-guessing game. Player guesses letters, 7 lives, dictionary of hangman images for visual feedback. Valid word selection from list.

Tic Tac Toe Simple Game
Human vs computer player with random moves. TicTacToe class, play function. Board with numbers, square selection.