Python 3.10 Features, Coverage.py, and Piku Deployment

·42m 55s
Shared point

Episode Highlights: Python 3.10, Testing, and Deployment

This episode features a comprehensive look at the latest developments in the Python ecosystem, ranging from language improvements to new deployment tools. Our guest, Gwen Faraday, shares her insights as a software developer and content creator.

Core Python Updates

Python 3.10 Beta Improvements: Discussion on the highly anticipated new features including pattern matching (the switch statement replacement) and helpful changes to how context managers work with multiple lines.
Cleaner Type Hinting: Operators have been simplified; you can now use the bitwise OR operator (|) instead of the verbose Union type hint, making code much cleaner.
Developer Experience: Improvements in error messages and better performance for type annotations at runtime.

Productivity and Tooling

Coverage.py Improvements: New support for excluding third-party packages from coverage reports, which is a significant quality-of-life upgrade for developers managing complex virtual environments.
Piku (Platform as a Service): An elegant, lightweight tool designed for hobbyists and edge devices that allows for Git push deployments similar to Heroku, perfect for internal servers or Raspberry Pi projects.
Dead Dependency: An interesting GitHub app that audits your project's dependencies for health, including frequency of commits, recent releases, and deprecation notices.

Learning and Blockchain

Blockchain with Python: Using Web3.py and Viper to interact with the Ethereum blockchain and build smart contracts or dApps.

"Python is a really easy entry way to really to prototype anything in Python."
Educational Resources: A shoutout to the FreeCodeCamp Python curriculum, a long-term project aimed at making high-quality coding education accessible to everyone, regardless of background.

Topics

Chapters

7 chapters
Python Bytes
AI chat — answers grounded in episodes