Python Development: Serverless, SQLite, and UI Challenges
The Expanding World of Python
This episode of Python Bytes covers a diverse range of topics, from amusing home automation experiments to the architectural challenges currently facing the Python community.
Home Automation and API Trends
• Greg Quinlan's "Who's at Nine": A humorous project showcasing Alexa and Google Home devices interacting, highlighting the use of Flask-Ask and Flask-Assistant.
• Flask Dominance: Discussion on why Flask has become the de facto lightweight API framework for modern projects.
The UI Challenge and Python's Future
• Desktop UI Weakness: A deep dive into the struggle of creating modern, cross-platform native desktop UIs in Python. The hosts discuss an article by James Higg regarding the limitations of current tools like Tkinter and Pygame compared to modern frameworks like Electron.js.
• The Need for Better Tooling: The hosts argue that for Python to truly penetrate enterprise environments, building polished desktop applications must become simple and standard practice.
Data Management and Serverless Architectures
SQLite: More Than a Starter Database
• Re-evaluating the power of SQLite. It is built into Python, requires no server configuration, and is surprisingly robust for many use cases beyond simple prototypes.
Serverless Revolution
• Chalice & Zappa: Exploration of AWS Lambda and modern micro-frameworks like Chalice.
"There is no cloud. It's just another person's computer."
• The hosts discuss how serverless technology allows developers to deploy code as individual functions, significantly simplifying scaling and maintenance costs.
Tips and Community Picks
• Python Performance: A brief look at the most efficient ways to uniqueify a list in Python 3.6+ while preserving order.
• Conference Knowledge: Highlights from recent PyTexas and PyCon Australia presentations, covering topics like MicroPython, machine learning, and gradual typing.