Python Projects

Web APIs, Flask apps, and small Python 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.

#FastAPI

#PostgreSQL

#SQLAlchemy

#JWT

Django Cinema (Neo4j graph API)

JSON API for a movie graph catalog built with Django. Neo4j stores nodes and relationships (titles, genres, people, studios, publishers); Pydantic DTOs validate requests and responses. Layered layout per feature (DTOs, repositories, services, views). Environment-based settings, Gunicorn Procfile for deployment, optional Neo4j Aura or self-hosted bolt URI.

#Django

#Neo4j

#Pydantic

#Graph DB

Weather App

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

#Flask

#OpenWeatherMap

#Waitress

Madlibs Simple Game

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

#Python

#Random

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.

#Python

#Random

Rock Paper Scissors Simple Game

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

#Python

Hangman Simple Game

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

#Python

Tic Tac Toe Simple Game

Human vs computer player with random moves. TicTacToe class, play function. Board with numbers, square selection.

#Python