Course Outline
Day 1 — Solidifying Python Foundations & Tooling
Modern Python Features and Type Hints
- Foundations of typing, generics, Protocols, and TypeGuard
- Dataclasses, frozen dataclasses, and an overview of attrs
- Pattern matching (PEP 634+) and idiomatic implementation
Code Quality and Development Tools
- Code formatters and linters: black, isort, flake8, ruff
- Static type analysis using MyPy and pyright
- Pre-commit hooks and efficient developer workflows
Project Management and Packaging
- Dependency management using Poetry and virtual environments
- Package structure, entry points, and versioning best practices
- Building and publishing packages to PyPI and private registries
Day 2 — Design Patterns & Architectural Frameworks
Design Patterns in Python
- Creational patterns: Factory, Builder, Singleton (Pythonic implementations)
- Structural patterns: Adapter, Facade, Decorator, Proxy
- Behavioral patterns: Strategy, Observer, Command
Architectural Principles
- Applying SOLID principles to Python codebases
- Hexagonal/Clean Architecture and system boundaries
- Dependency injection patterns and configuration management
Modularity and Reusability
- Distinguishing between library design and application code
- APIs, stable interfaces, and semantic versioning
- Managing configuration, secrets, and environment-specific settings
Day 3 — Concurrency, Asynchronous IO, and Performance
Concurrency and Parallelism
- Threading fundamentals and the impact of the GIL
- Multiprocessing and process pools for CPU-intensive tasks
- Choosing between concurrent.futures and multiprocessing
Asynchronous Programming with asyncio
- Async/await patterns, event loop mechanics, and cancellation
- Designing asynchronous libraries and interoperating with synchronous code
- IO-bound patterns, backpressure, and rate limiting
Profiling and Optimization
- Profiling tools: cProfile, pyinstrument, perf, memory_profiler
- Optimizing critical paths and using C-extensions/Numba where suitable
- Measuring latency, throughput, and resource usage
Day 4 — Testing, CI/CD, Observability, and Deployment
Testing Strategies 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
- Integrating tests and quality gates 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 auditing, SBOM fundamentals, 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 using course patterns
- Implementing testing, type-checking, packaging, and CI pipelines for the project
- Final review, code critique, and actionable improvement strategies
Summary and Future Directions
Requirements
- Solid intermediate-level proficiency in Python programming
- Understanding of object-oriented programming concepts and fundamental testing principles
- Practical experience with command-line interfaces and Git version control
Target Audience
- Senior Python developers
- Software engineers overseeing code quality and architecture in Python projects
- Technical leads and MLOps/DevOps engineers working 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.