GuideIntermediate

Python for Backend Development Guide

Behind every `@app.get`, every `with session.begin()`, every fixture with `yield`, and every model field that validates itself there are four language tools: decorators, generators, context managers, and descriptors. Almost every backend developer uses them every day; few can write them, debug them, or decide when each one fits. This guide teaches them in depth, with code that runs on Python 3.12 or later using only the standard library, and then uses them to build the patterns every service needs in production: layered configuration, structured logs with each request's id, domain errors with retries and idempotency, a cache with expiration, and a middleware chain. The case throughout the guide is **Taquilla Lumen**, a concert ticketing company in Latin America. The final deliverable is the core of its backend: a package that serves simulated requests end to end, with `sqlite3` transactions, records validated by descriptors, batched export, and a pytest suite.

lessons
40
modules
5
available in
English · Spanish
certificate
Yes
access
Free
Outcomes

What you'll be able to do

  • Advanced OOP: Inheritance, polymorphism, composition — structuring code for APIs
  • Type Hints: mypy, Protocol, TypeVar, generics — type-safe code
  • Async/Await: asyncio, concurrent requests, semaphores
  • Decorators: retry, cache, timing — reusable patterns
  • Context Managers: with statements, custom __enter__/__exit__
  • Generators: yield, iterators, lazy evaluation
  • Error Handling: Custom exceptions, structured logging
  • Testing Basics: unittest, assertions, mocks
Content

The syllabus, module by module

Open any of them to see its lessons.

Bootcamps

Learn with live classes and reviews of your work.

In a group or 1:1, depending on your schedule.

Common questions

What people usually ask

Start whenever you like

Reviews

What students say

These reviews are from enrolled students who completed at least 50% of the course. We moderate reviews only on content grounds (spam, offensive language, personal data), never for being critical or negative.

No approved reviews yet.

Be the first to share your experience!