Course Outline
Day 1 — Robust Python Foundations & Tooling
Modern Python Features & Typing
- Typing fundamentals, generics, Protocols, and TypeGuard
- Dataclasses, frozen dataclasses, and an overview of attrs
- Pattern matching (PEP 634+) and idiomatic application
Code Quality & Tooling
- Formatters and linters: black, isort, flake8, ruff
- Static type checking via MyPy and pyright
- Pre-commit hooks and streamlined developer workflows
Project Management & Packaging
- Dependency management using Poetry and virtual environments
- Best practices for package layout, entry points, and versioning
- Building and publishing packages to PyPI and private registries
Day 2 — Design Patterns & Architectural Practices
Design Patterns in Python
- Creational patterns: Factory, Builder, Singleton (Pythonic adaptations)
- Structural patterns: Adapter, Facade, Decorator, Proxy
- Behavioral patterns: Strategy, Observer, Command
Architectural Principles
- Applying SOLID principles to Python codebases
- Hexagonal/Clean Architecture and boundary definition
- Dependency injection patterns and configuration management
Modularity & Reuse
- Distinguishing between library and application code design
- APIs, stable interfaces, and semantic versioning
- Managing configuration, secrets, and environment-specific settings
Day 3 — Concurrency, Async IO, and Performance
Concurrency & Parallelism
- Threading fundamentals and the impact of the GIL
- Multiprocessing and process pools for CPU-bound tasks
- Choosing between concurrent.futures and multiprocessing
Async Programming with asyncio
- Async/await patterns, event loops, and cancellation mechanisms
- Designing async libraries and ensuring interoperability with synchronous code
- IO-bound patterns, backpressure, and rate limiting
Profiling & Optimization
- Profiling tools: cProfile, pyinstrument, perf, memory_profiler
- Optimizing hot paths and utilizing C-extensions/Numba where appropriate
- Measuring latency, throughput, and resource utilization
Day 4 — Testing, CI/CD, Observability, and Deployment
Testing Strategies & Automation
- Unit testing and fixtures with pytest; test organization
- Property-based testing via Hypothesis and contract testing
- Mocking, monkeypatching, and testing asynchronous code
CI/CD, Release, & Monitoring
- Integrating tests and quality gates into GitHub Actions/GitLab CI
- Building reproducible containers with Docker and multi-stage builds
- Application observability: structured logging, Prometheus metrics, and tracing
Security, Hardening, & Best Practices
- Dependency auditing, SBOM basics, and vulnerability scanning
- Secure coding practices for input validation and secrets management
- Runtime hardening: resource limits, user permissions, and container security
Capstone Project & Review
- Team lab: Design and implement a small service utilizing course patterns
- Testing, type-checking, packaging, and CI pipeline implementation for the project
- Final review, code critique, and actionable improvement plan
Summary & Next Steps
Requirements
- Solid intermediate-level proficiency in Python programming
- Working knowledge of object-oriented programming and basic testing concepts
- Practical experience with command-line interfaces and Git
Target Audience
- Senior Python developers
- Software engineers responsible for maintaining code quality and architecture
- Technical leads, MLOps/DevOps engineers, and others working extensively with Python codebases
Testimonials (2)
everything was perfect
Florin Vrincianu
Course - Python Programming Fundamentals
Hands-on exercises related to content really helps to understand more about each topic. Also, style of start class with lecture and continue with hands-on exercise is good and helpful to relate with the lecture that presented earlier.