Python By Projects

| 3 min read

LEVEL 0 — ABSOLUTE BEGINNER (Basics)

🎯 Skills Covered

Basic syntax, variables, data types, loops, conditionals, lists/tuples/sets/dicts, exceptions, functions, modules. *(From roadmap: “Learn the Basics”, left side of page 1) *

📌 Projects

  1. Simple Calculator CLI

    • Covers: variables, conditionals, loops, functions, exceptions.
  2. Unit Converter (km → miles, INR → USD, etc.)

    • Covers: type casting, input/output, modules.
  3. Personal Expense Tracker (JSON-based)

    • Dicts, lists, loops, file I/O, exception handling.
  4. Mini Contact Book with Search

    • Uses lists, dictionaries, functions, error handling.

LEVEL 1 — FOUNDATIONS (Intermediate)

🎯 Skills Covered

Data Structures & Algorithms, recursion, sorting, searching, stacks, queues, linked lists. *(From roadmap: “Data Structures & Algorithms” section, page 1) *

📌 Projects

  1. Implement Your Own Data Structures Library

    • Build: LinkedList, Stack, Queue, HashTable, MinHeap, BST
    • Add functions: insert/search/delete/print.
  2. Sorting Visualizer (CLI or Tkinter)

    • Implement bubble/merge/quick sort.
    • Show step-by-step states.
  3. Recursion Puzzle Solver

    • Tower of Hanoi
    • Maze solver
    • Recursive Fibonacci with memoization.

LEVEL 2 — PYTHON POWER FEATURES

🎯 Skills Covered

Lambdas, decorators, iterators, generators, list comprehensions, context managers, regular expressions, modules & packages. *(From roadmap: central section — “Modules”, “Lambdas”, “Decorators”, “Iterators”, “Regular Expressions”) *

📌 Projects

  1. Your Own Python Utility Package

    • Create a small pip-installable library (e.g., string utils).
    • Use modules & packages structure.
  2. Decorator-Driven Logging System

    • @log_time, @retry, @cache decorators.
  3. Custom Iterator & Generator: Infinite Number Stream

    • Build iterator classes (__iter__, __next__).
    • Generator pipelines.
  4. Regex-Based Data Extractor

    • Extract emails, URLs, phone numbers from large text.
  5. Build Your Own Context Manager

    • File auto-closer
    • Timer context manager

LEVEL 3 — OBJECT-ORIENTED PROGRAMMING

🎯 Skills Covered

Classes, inheritance, methods, dunders (__str__, __len__, etc.). *(From roadmap: “Object Oriented Programming” box, center page 1) *

📌 Projects

  1. Bank Management System (OOP-heavy)

    • Classes: User, Account, Transaction
    • Use dunder methods for printing & comparisons.
  2. Mini RPG Game Engine

    • Classes: Player, Enemy, Weapon, Inventory
    • Inheritance + polymorphism.
  3. E-Commerce Cart System

    • Classes for Product, User, Cart, Order.
    • Operator overloading.

LEVEL 4 — ENVIRONMENTS & PACKAGE MANAGERS

🎯 Skills Covered

pip, conda, poetry, pyproject.toml, venv/virtualenv/pyenv. *(From roadmap: “Package Managers” and “Environments”) *

📌 Projects

  1. Create a Virtual Environment + Install/Freeze Dependencies

  2. Publish Your Own Package to PyPI

    • Use Poetry or setuptools.
    • Add pyproject.toml.

LEVEL 5 — STATIC TYPING + FORMATTING + DOCUMENTATION

🎯 Skills Covered

mypy, pyright, pydantic, typing, black, ruff, yapf, sphinx. *(From roadmap: right side — “Static Typing”, “Code Formatting”, “Documentation”) *

📌 Projects

  1. Strongly Typed Data Validation API (Pydantic)

    • Validate user input JSON.
  2. Style & Lint Automation

    • Build a script that auto-formats code using black + ruff.
  3. Literally Document a Project Using Sphinx

    • Build documentation site for your package.

LEVEL 6 — TESTING

🎯 Skills Covered

pytest, unittest, doctest, tox. *(Roadmap: bottom right - “Testing”) *

📌 Projects

  1. Write Full Test Suite for Your OOP Banking System

  2. Create a CI Pipeline Using tox

    • Run lint + type checks + tests.
  3. Practice TDD: Build a Small Calculator / API using Tests First


LEVEL 7 — CONCURRENCY

🎯 Skills Covered

Threading, multiprocessing, async/await, GIL awareness. *(Roadmap: “Concurrency” section — GIL, Threading, Multiprocessing, Asynchrony) *

📌 Projects

  1. Multithreaded Web Scraper

    • Scrape 1000 pages using Threads.
  2. Multiprocessing Image Resizer

    • Resize 100 images in parallel.
  3. Async Crypto Price Tracker (aiohttp)

    • Fetch 20 APIs concurrently.
  4. GIL Demo: CPU-bound vs IO-bound

    • Write program showing why threads ≠ parallel for CPU tasks.

LEVEL 8 — FRAMEWORKS (Choose Any)

*(From roadmap: Flask, Django, FastAPI, Pyramid, Tornado, Sanic, aiohttp, Dash, etc.) *


🌐 Web Development Path (Flask / Django / FastAPI)

📌 Projects

  1. Flask Blog Application

  2. Django E-Commerce Website

  3. FastAPI Backend for Mobile App

    • JWT authentication
    • Async endpoints
    • Pydantic models

⚡ Asynchronous Framework Path (aiohttp / Sanic / Tornado)

  1. Real-time Chat App (WebSockets)
  2. Dashboard with Live Cryptocurrency Updates

📊 Data Dashboard Path (Plotly Dash)

  1. Interactive Data Visualization Dashboard

    • Use Pandas + Dash + Plotly.

LEVEL 9 — COMMON PACKAGES & DEVOPS (Optional but Recommended)

*(Roadmap bottom: “Common Packages” + DevOps link) *

📌 Projects

  1. Requests-based API Client
  2. Pandas Data Cleaning Pipeline
  3. NumPy-based Math Toolkit
  4. Dockerize Any Python Application
  5. GitHub CI/CD Pipeline for Testing + Formatting + Type Checking

🎓 LEVEL 10 — HERO PROJECTS (Capstones)

Use everything you've learned.

⭐ Capstone 1 — Full-Stack SaaS Application (Django/Flask + JS)

User accounts, payments, CRUD, APIs, testing, docs, CI, type checking.

⭐ Capstone 2 — Async Microservices System (FastAPI + Redis + Celery)

Distributed tasks, async IO, concurrency, Docker.

⭐ Capstone 3 — AI-Enhanced Automation Suite (Python + APIs + Concurrency)

Scraping, automation, dashboards, ML integration.