Python Developer

One structured path from your first request to production.

Build production-ready Python applications through practical techniques explained from a developer's point of view.

30-day money-back guarantee.

Python Developer: From Requests to Production by Simon O'Connor

Complete book curriculum

Explore all 30 chapters across API foundations, full-stack development, testing, and production deployment.

  • 6 portfolio projects
  • 800+ code examples
  • Production API capstone

Part I

API Foundations 7 chapters

By the end of Part I you understand HTTP, can call APIs safely, parse JSON defensively, and keep credentials out of your code.

  1. Chapter 1: How Modern Applications Really Work

    Read any REST URL, JSON response, and status code, and know who is at fault when a call fails.

  2. Chapter 2: Setting Up Your Development Environment

    Set up an isolated Python environment and prove it works with a live API call.

  3. Chapter 3: Your First API Call Read free

    Fetch live data with requests, parse the JSON, and guard every call with a timeout.

  4. Chapter 4: Safe and Reliable API Requests

    Validate responses layer by layer and download binary files without corrupting them.

  5. Chapter 5: HTTP Methods - Beyond Reading Data

    Run full CRUD against any REST API with safe, idempotent write functions.

  6. Chapter 6: Working with Complex JSON Structures

    Write defensive JSON extractors that survive missing keys, nulls, and wrong types.

  7. Chapter 7: Using API Keys Safely

    Keep secrets out of git with the .env pattern and handle 401, 403, and 429 cleanly.

Building Reliable API Applications 6 chapters

By the end of Part II you can coordinate multiple APIs, normalise and validate their responses, and rebuild a fragile script as a tested production CLI.

  1. Chapter 8: Coordinating Multiple APIs

    Chain two real APIs behind validation gates so one failure cannot crash the other.

  2. Chapter 9: Production Error Handling

    Add retries with exponential backoff and jitter, plus logging that tells you what broke.

  3. Chapter 10: Advanced JSON Processing

    Normalise two incompatible vendor formats into one canonical structure.

  4. Chapter 11: News Aggregator Case Study

    Query three news APIs, merge and deduplicate the results, and survive partial failures.

  5. Chapter 12: API Data Validation

    Build a three-layer validation pipeline and place it at the right boundary.

  6. Chapter 13: Production-Ready Weather Dashboard Capstone Build Milestone

    Rebuild a fragile script as a four-layer production CLI with a full test suite.

Part II

Full-Stack Integration 7 chapters

By the end of Part III you have a full web app with OAuth login, a database, and a test suite, deployed at a live URL.

  1. Log a user in with OAuth 2.0 (state, PKCE, scopes) without touching their password.

  2. Chapter 15: Database Fundamentals with SQLite Read free

    Cache API responses in SQLite and answer historical questions with SQL.

  3. Chapter 16: Building the Spotify Music Time Machine

    Build an OAuth-authenticated Spotify app with a real schema and mocked tests.

  4. Chapter 17: Flask Web Development & Building Your Dashboard

    Map URLs to functions, render templates, and serve pages from your database with Flask.

  5. Chapter 18: Building the Music Time Machine Web App

    Turn the terminal project into a full dashboard with charts and CSRF-protected forms.

  6. Chapter 19: Testing Your Application

    Test a real Flask, OAuth, and SQLite app with mocks, fixtures, and CI on every push.

  7. Chapter 20: Deployment and Portfolio Presentation Live URL Milestone

    Take the app to a live HTTPS URL and present it with an interview-ready README.

Professional API Techniques 3 chapters

By the end of Part IV you can handle file uploads, webhooks, and async fan-out, the techniques real integrations demand.

  1. Chapter 21: File Uploads and Binary Data

    Handle validated file uploads and stream multi-gigabyte files with flat memory use.

  2. Chapter 22: Webhooks and Real-Time APIs

    Receive webhooks with verified signatures, idempotency, and a background worker.

  3. Chapter 23: Asynchronous API Calls

    Fan out API calls with async so ten requests cost the wall-clock time of one.

Production & Cloud 7 chapters

By the end of Part V your own FastAPI service runs on AWS in Docker, shipped automatically by CI/CD.

  1. Chapter 24: From SQLite to PostgreSQL

    Migrate SQLite to PostgreSQL with connection pooling and version-controlled schema changes.

  2. Chapter 25: Migrating the Music Time Machine to PostgreSQL

    Move the live Spotify app to PostgreSQL, JSONB included, without losing data.

  3. Chapter 26: Building Your Own REST API

    Ship your own FastAPI service with docs, auth, rate limiting, and a test suite.

  4. Chapter 27: Containerization and Local Orchestration

    Package the API with Docker and orchestrate it with Postgres and Redis locally.

  5. Chapter 28: AWS Production Deployment

    Stand up ECS Fargate, RDS, and a load balancer serving real public traffic on AWS.

  6. Chapter 29: Production Operations and Automation

    Automate deploys with CI/CD, dashboards, alarms, auto-scaling, and rollback.

  7. Chapter 30: Capstone Project - Building Your Production API Scale Milestone

    Scope, build, and deploy a capstone API a hiring manager can run.

Python Developer

Choose where you want to start.

Learn professional API development first, continue into full-stack and production engineering, or get the complete 30-chapter path.

Choose one part

Python Developer Part I

Chapters 1–13

Select the part you want
$39 USD
one-time
Get Part I
  • Chapters 1–13 covering API foundations and reliable application development
  • HTTP, JSON, API keys, validation, retries, logging, and multi-API workflows
  • News Aggregator case study and Weather Dashboard capstone
  • Lifetime access to Part I
Part I + Part II · All 30 chapters Best value · Save $19

The Complete Package

Get the full path from your first API request through full-stack applications, FastAPI, Docker, AWS, CI/CD, and production operations.

$69 USD
one-time
Get the Complete Package
  • Part I and Part II together
  • All 30 chapters, from API foundations through full-stack and production Python
  • All major projects and the complete production API capstone
  • Lifetime access and future updates to this edition
Lifetime access 30-day money-back guarantee Free chapters available before you buy