Python Tools: Cookiecutter, Wagtail, and PeeWee ORM
·15m 51s
Shared point
–
Python Development Highlights
This episode of Python Bytes covers a variety of essential tools and frameworks for developers, ranging from project scaffolding to data validation and machine learning.
Project Scaffolding and CMS
- Online Cookiecutter Generator: A convenient web-based interface for the popular Cookiecutter CLI tool, allowing users to visualize and fill out project templates before generating a downloadable ZIP file.
- Wagtail 2.0: The popular Python CMS has reached a major milestone, featuring full support for Django 2.0. Its design philosophy focuses on ease of use for non-developers, with an impressive gallery of professional implementations.
Data Handling and Validation
- PeeWee 3.0: A lightweight and expressive ORM that has been completely rewritten for modern Python. The introduction of PeeWee Async allows for scalable, non-blocking database queries.
- Cerberus: A powerful and extensible data validation framework. It allows developers to define validation schemas as dictionaries, ensuring data integrity at the API level before it reaches the core application logic.
Developer Utilities
- Real-time Log UI: A PyQT5-based application designed to visualize and filter Python logs in real-time by listening to specific socket handlers.
- Machine Learning Basics: A curated repository of Jupyter notebooks that explains core algorithms like linear regression and k-means clustering using pure Python, perfect for those moving beyond just using high-level libraries.
"I would definitely consider Wagtail if I was building a site and other people had to add stuff to it who were not developers."
DigitalOcean remains a key sponsor, offering one-click apps for rapid deployment of services like WordPress, Flask, and various database engines.