Skip to content

Repository files navigation

Python Learning Lab

This repository is a hands-on collection of Python practice projects, mini apps, and data exercises. It starts with core Python basics and grows into web apps, authentication, OCR, data workflows, and storage internals.

Repository Map

FolderFocusDocs / Entry Point
01_python_basicsIntroductory Python scripts covering syntax, file handling, SQLite, web scraping, and a small thesaurus appREADME
02_stateless_otpStateless OTP service with FastAPI, delivery backends, SDKs, and testsREADME
03_calorie_calulatorFlask calorie calculator app with templates, login flow, and dashboard viewsREADME
04_ocr_extractFlask OCR uploader that uses Tesseract to extract text from imagesREADME
05_problem_solvingAlgorithm and Python interview-style practice, including two pointers, decorators, and concurrency examplesStart with 1.py or basics.py
06_data_sciencePandas and NumPy practice, data cleaning, ETL examples, joins, chunked processing, and reporting workflowsStart with basics.py or 5.py
07_database_storageCustom append-only key-value storage engine with indexing, recovery, and compactionREADME
08_store_image_dbFlask + SQLite demo for storing and serving small images as BLOBsREADME

Getting Started

  1. Create and activate a virtual environment.
python3 -m venv .venv
source .venv/bin/activate
  1. Choose a module and install its dependencies if it has a requirements.txt file.
pip install -r 04_ocr_extract/requirements.txt
  1. Run the relevant script or app from the repository root.
python3 01_python_basics/1.Basics/main.py
python3 04_ocr_extract/run.py
python3 07_database_storage/storage_engine.py

Notes

  • Dependencies are managed per project, not at the repository root.
  • 04_ocr_extract requires the tesseract CLI to be installed on your system.
  • Some folders are app-style projects with their own READMEs, while 05_problem_solving and 06_data_science are script collections you can run file by file.
  • Folder names are documented exactly as they exist in the repository, including 03_calorie_calulator.

License

This project is licensed under the MIT License. See LICENSE for details.

About

A structured Python playground featuring topic-wise scripts, mini-projects, and real-world examples, covering fundamentals to advanced concepts for hands-on learning and experimentation.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages