Get in Touch
 Duration 28 hours

Course Outline

Day 1 — Solid Python Fundamentals & Tools

Contemporary Python Features and Typing

  • Typing essentials, generics, Protocols, and TypeGuard
  • Dataclasses, frozen dataclasses, and an overview of attrs
  • Pattern matching (PEP 634+) and best practices for usage

Code Integrity and Tooling

  • Formatters and linters: black, isort, flake8, ruff
  • Static type analysis using MyPy and pyright
  • Pre-commit hooks and developer workflows

Project Administration and Packaging

  • Managing dependencies with Poetry and virtual environments
  • Package structure, entry points, and versioning guidelines
  • Compiling and publishing packages to PyPI and private registries

Day 2 — Design Patterns & Architectural Standards

Design Patterns in Python

  • Creational patterns: Factory, Builder, Singleton (Python-specific adaptations)
  • Structural patterns: Adapter, Facade, Decorator, Proxy
  • Behavioral patterns: Strategy, Observer, Command

Architectural Fundamentals

  • Applying SOLID principles to Python codebases
  • Hexagonal/Clean Architecture and system boundaries
  • Dependency injection techniques and configuration management

Modularity and Reusability

  • Distinguishing between library design and application development
  • APIs, stable interfaces, and semantic versioning
  • Managing configuration, secrets, and environment-specific settings

Day 3 — Concurrency, Async IO, and Performance

Concurrency and Parallelism

  • Threading basics and the impact of the GIL
  • Multiprocessing and process pools for CPU-intensive tasks
  • Selecting between concurrent.futures and multiprocessing

Async Programming with asyncio

  • Async/await structures, event loops, and cancellation mechanisms
  • Designing async libraries and integrating with synchronous code
  • IO-bound workflows, backpressure handling, and rate limiting

Profiling and Optimization

  • Profiling utilities: cProfile, pyinstrument, perf, memory_profiler
  • Optimizing critical paths and leveraging C-extensions/Numba where suitable
  • Assessing latency, throughput, and resource usage

Day 4 — Testing, CI/CD, Observability, and Deployment

Testing Methodologies and Automation

  • Unit testing and fixtures with pytest; organizing tests
  • Property-based testing with Hypothesis and contract testing
  • Mocking, monkeypatching, and testing asynchronous code

CI/CD, Release Management, and Monitoring

  • Embedding tests and quality checks into GitHub Actions/GitLab CI
  • Creating reproducible containers with Docker and multi-stage builds
  • Application observability: structured logging, Prometheus metrics, and tracing

Security, Hardening, and Best Practices

  • Dependency audits, SBOM fundamentals, and vulnerability scans
  • Secure coding for input validation and secrets management
  • Runtime hardening: resource limits, privilege management, and container security

Capstone Project & Evaluation

  • Group exercise: design and build a small service utilizing course patterns
  • Testing, type-checking, packaging, and CI pipeline setup for the project
  • Final assessment, code review, and actionable improvement strategy

Recap and Future Steps

Requirements

  • Proficient intermediate Python programming skills
  • Knowledge of object-oriented programming and fundamental testing concepts
  • Practical experience with the command line and Git

Target Audience

  • Experienced Python developers
  • Software engineers overseeing Python code quality and architecture
  • Technical leads and MLOps/DevOps specialists managing Python codebases

Number of participants


Price per participant

Testimonials (2)

Upcoming Courses

Related Categories