Introduction
Creating efficient Python projects
()
What you should know
()
Using the exercise files
()
1. The Production Process
Working together as a team
()
Avoid mistakes
()
Feedback loop
()
2. Dependecy Management
Production vs. development
()
Solution: Gunicorn
()
The problem
()
Package managers
()
Internal PyPI vendoring
()
Docker
()
Challenge: Gunicorn
()
3. Testing
What to test
()
CI/CD
()
Development vs. CI environment
()
Feedback to developers
()
4. Logging
Eyes to production
()
Python loggers
()
Log configuration
()
Dynamic configuration
()
Structured logging
()
Log aggregators
()
Challenge: Configure logging
()
Solution: Configure logging
()
5. Metrics
What are metrics?
()
Types of metrics
()
Designing metrics
()
Metrics decorators
()
Metrics systems
()
Altering
()
Challenge: report_errors metrics decorator
()
Solution: report_errors metris decorator
()
6. Deployment
__main__.py
()
Deployment problems
()
Deployment strategies
()
Reverting deployment
()
Use Fabric to automate deployment
()
Continuous delivery
()
Ex_Files_Python_Modern_Workflows.zip
(5.0 MB)
Glossary_Efficient_Python_Production_Workflows.zip
(92 KB)