Python 3 Windows Store, Web Frameworks, and Scalability
Overview
This episode covers several significant updates in the Python ecosystem, ranging from official binary support on Windows to new tools for code maintainability and security.
Key Developments
• Python on Windows 10 Store: Microsoft has released Python 3.7 in the official Windows Store, simplifying installation and configuration for users and students.
• Web Framework Innovation: The show discusses Bocadio, a new asynchronous web framework, highlighting the benefits of learning through "reinventing the wheel" and open-source contribution practices.
• Modern Deployment: An exploration of the now-GA DigitalOcean Kubernetes service, offering managed cluster orchestration for Python applications.
Code Quality & Security
• Maintainability Scores: Introduction of Wiley, a tool to track code complexity, timing, and maintainability scores over time.
• Static Analysis: Discussion on Flake8 and its ecosystem of plugins, including those for security checks and PyTest assertion auditing.
• Logging Performance: Review of fast-logging, a high-performance, drop-in replacement for Python's standard logging module that is significantly faster during file operations.
"Reinventing the wheel is an awesome way to learn. And sometimes what you learn is just how much your existing frameworks are doing for you."
Security & Easter Eggs
• PyYAML Vulnerability: A serious warning regarding arbitrary code execution in PyYAML and the importance of using safe_load.
• Language Easter Eggs: A lighthearted look at the classic import antigravity and the Zen of Python (import this).