Python Ecosystem: Design Patterns, Arctic, and Governance

·23m 49s
Shared point

Overview of Recent Python Developments

This episode of Python Bytes covers a diverse range of topics within the Python ecosystem, spanning architectural design patterns, high-performance data storage, recent updates to cloud platforms, and the ongoing evolution of Python's governance model.

Python Design Patterns and Clean Architecture

Exploring the relevance of traditional design patterns in Python:
• The discussion highlights pythonpatterns.guide by Brandon Rhodes as an excellent resource for understanding how classic Gang of Four design patterns translate into Pythonic idioms.
• The hosts touch on the applicability of decorators, iterators, and meta classes over rigid C-style object-oriented patterns.
• A reference is made to Clean Architecture, noting how shifts in perspective can fundamentally improve one's approach to software design.

High-Performance Time Series Analysis

Introduction to Arctic, an API framework for time series data:
• Arctic provides a high-performance interface for MongoDB and Pandas, enabling processing speeds significantly faster than traditional SQL databases for time series stock-trading data.
• Designed initially at MAN AHL, it demonstrates impressive benchmarks, handling thousands of rows in milliseconds, making it a powerful tool for IoT and financial analysis.

PyCon Australia Highlights

Coverage of recent conference materials:
• The PyCon Australia video library is now available, featuring 88 sessions.
• Notable mentions include a tutorial on packaging on PyPI using cookiecutter, as well as specific sessions on MicroPython and AsyncIO.

Governance and Cloud Updates

Important shifts in community management and infrastructure:
Google App Engine: The platform has released second-generation runtimes now based on Python 3.7, removing previous restrictions on package selection.
Python Governance (PEP 8000 series): In response to Guido van Rossum's resignation, the community is evaluating new models, including a Council structure versus the traditional BDFL approach, to determine how future technical decisions will be made.

Critiquing Jupyter Notebooks

"I'm highlighting this not because I think notebooks are evil, but because I think it's important to listen to people saying they aren't a silver bullet."

Joel Grus's critique of Jupyter notebooks is highlighted, specifically focusing on:
• The dangers of hidden state.
• The risks of developing bad coding habits through non-linear execution.
• The suggestion that modular code should be packaged into libraries rather than imported directly from notebooks.

Topics

Chapters

7 chapters
Python Bytes
AI chat — answers grounded in episodes