Category: Python

Python Tutorial / Build a Flask JSON API Server and Validate Input
Build local Flask GET/POST routes, validate JSON and status codes and verify them with a test client while identifying persistence and deployment limits.

Python Tutorial / Extract Data from HTML with Beautiful Soup
Parse controlled HTML with Beautiful Soup, select elements and validate required text, attributes and counts while detecting markup changes.

Python Tutorial / Visualize Results with Matplotlib
Build a labeled Matplotlib bar chart, use a headless file backend and inspect units, baselines, labels and output-version behavior.

Python Tutorial / Clean and Analyze Tabular Data with pandas
Read tabular data as controlled strings, validate numeric values with pandas masks, aggregate categories and reconcile rejected counts and saved totals.

Python Tutorial / Final Project: Build an SQLite Expense Manager
Complete an SQLite-backed expense CLI with initialization, validated add/list/summary commands, transactions and checks for rejected input and persistent results.

Python Tutorial / Project: Collect API Data Without Duplicate Storage
Fetch and validate an entire JSON batch, upsert by stable IDs and verify repeated collection, updates and failure preservation in SQLite.

Python Tutorial / Project: Validate CSV Data and Produce Reports
Build a complete CSV validation pipeline with duplicate rejection, category totals, rejected-record reasons and explicit partial-result and exit-code policies.

Python Tutorial / Build Command-Line Programs with argparse
Define argparse positionals and options, validate amounts and choices, inspect help and exit codes and keep calculation logic reusable.

Python Tutorial / Write Automated Tests with unittest and Boundary Cases
Build meaningful unittest cases for normal, empty and rejected input, verify they catch defects and distinguish unit checks from file/database integration testing.

Python Tutorial / Describe Function Inputs and Results with Type Hints
Read Python type hints, distinguish static analysis from runtime checks and handle optional return values and external input contracts explicitly.