Poetry 2.0.0, Django Templates, Python Keywords and more
PEP 765, Faster health data analysis with MotherDuck & Preswald with some more interesting news, articles, packages and projects
News
Announcing Poetry 2.0.0
Poetry had a major release in the first week of January, bringing support to the project
section in pyproject.toml
(PEP 621), added the ability to define required Poetry plugins that are automatically installed if missing, lock resulting markers and groups and many other features.
PEP 765 – Disallow return/break/continue that exit a finally block
This PEP proposes to withdraw support for return, break and continue statements that break out of a finally block. It got accepted. In Python 3.14, this will trigger a SyntaxWarning.
Articles
The Ultimate Guide to Django Templates
Django templates make it easy to build dynamic web pages and understanding how they work can help you create complex sites and applications. If you want to learn more, check out Evgenia Verbina's article, which covers everything from the basics to practical usage.
# Evgenia Verbina
Python Keywords: An Introduction
Did you know Python has 35 keywords and 4 soft keywords? If not, you should check out this article by Chad Hansen. He broke them down into categories like Value, Operator, Control Flow, Iteration, Structure, Returning, Import, Exception Handling, Asynchronous Programming and Variable Handling and explained with great examples and practical usage.
# Chad Hansen
Faster health data analysis with MotherDuck & Preswald
You've probably heard about DuckDB and its impressive performance. If you're looking for a cloud-based option, MotherDuck is one of the choices. In this article, Amrutha Gujjar shared how to build interactive data apps effortlessly using MotherDuck and Preswald to analyze large public health datasets efficiently.
# Amrutha Gujjar
To Type or Not to Type?
Type hints are powerful tools that enhance code quality, catch bugs early and improve maintainability. If you feel they add unnecessary complexity or reduce simplicity, you should check out this article by Jonathan Chun. He shared their benefits, explained how to use them effectively and provided great examples to illustrate their impact.
# Jonathan Chun
How to Manage Python Projects With pyproject.toml
Whenever the topic of building a Python package comes up, pyproject.toml is always mentioned - it simplifies project configuration. If you're not familiar with it, Ian Currie’s article is a great place to start. He explained how it can improve your Python workflow, covering key use cases like configuring the build system, installing packages locally, managing dependencies and publishing to PyPI.
# Ian Currie
Interesting Packages and Projects to explore
Poetry Dockerize Plugin - Poetry application to Docker, automatically
Hamilton - The micro-framework for creating dataframes
STUMPY - A powerful and scalable library that can be used for a variety of time series data mining tasks
html5lib - HTML parser based on the WHATWG HTML specification
LLM - A CLI utility and Python library for interacting with Large Language Models, including OpenAI, PaLM and local models installed on your own machine.
About Upcoming Python Events
PyCon Korea 2025 Announcement
PyCon Korea 2025 is happening on August 15 (Fri) – 17 (Sun), 2025 at Dongguk University, Seoul, South Korea
PyCon APAC 2025
March 1 – 3, 2025
PyLadies Amsterdam: Global AI Bootcamp
March 4, 2025
Canberra Python meetup
March 6, 2025
DFW Pythoneers - Main Monthly Meeting
March 6, 2025