GuideBeginner

Python for Backend Development Guide

This guide teaches you the Python skills every backend developer needs: advanced OOP, type hints with mypy, async/await, decorators, context managers, generators, professional error handling, logging and basic testing. 5 progressive modules with hands-on projects applied to backend work.

40
lessons
5
modules
English · Spanish
available in
Included in the Club
access
NIEVA

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.

  • 1. Module Introduction — Advanced OOP for Backend
  • Inheritance and super()
  • 3. Multiple Inheritance and MRO (Method Resolution Order)
  • 4. Polymorphism
  • 5. Composition vs Inheritance
  • 6. Abstract Base Classes (ABC) and Interfaces
  • 7. Dataclasses
  • 8. Module Project: API Client with OOP

  • 1. Module Introduction — Type Hints and mypy
  • Basic Type Annotations
  • 3. Optional, Union, and Advanced Types
  • 4. Generics and TypeVar
  • 5. Protocol — Structural Interfaces
  • 6. mypy — Static Type Validation
  • 7. Type Hints in the Backend Ecosystem
  • 8. Project: Typed Data Layer

  • 1. Module Introduction — Async/Await and Asyncio
  • Sync vs Async — The Mental Model
  • async def, await and Coroutines
  • asyncio.gather() and Concurrency
  • 5. Tasks and Cancellation
  • 6. httpx.AsyncClient — Async HTTP
  • 7. Async in FastAPI (Preview) + run_in_executor
  • 8. Project: Async HTTP Client

  • 1. Module Introduction — Decorators, Context Managers and Generators
  • 2. Basic Decorators — Functions that Wrap Functions
  • 3. Decorators with Parameters and functools.wraps
  • 4. Context Managers — __enter__ and __exit__
  • 5. contextlib and @contextmanager
  • 6. Generators — yield and Lazy Iteration
  • 7. Async Generators and Advanced Patterns
  • 8. Project: Decorator Library

  • 1. Module Introduction — File I/O, Exceptions, Logging and Testing
  • 2. pathlib and Modern File I/O — The Standard for Paths in Python
  • 3. JSON, YAML, CSV — Data Formats
  • 4. Custom Exceptions — Error Hierarchy
  • 5. Professional Logging — Levels, Handlers, Formatters
  • 6. pytest Fundamentals — Tests, Assertions, Fixtures
  • 7. Mocking and Advanced Testing
  • 8. Project: Config Loader with Tests

Where it fits

This guide is part of something bigger

It's studied inside these programs, with support and dates.

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!