PyCoder's Weekly | Issue #696
Briefly

Namespace packages allow splitting a Python package across multiple directories and can be implicit or explicit, which can cause confusion and requires clear guidance. The with statement and context managers streamline setup and teardown phases for safer external resource management. functools.Placeholder, introduced in Python 3.14, is presented with a real-life example. Recent PEP activity includes Template Strings and TypedDict enhancements. Events and tooling updates include PyData, a Pytype discontinuation notice, and calls for proposals. Resources cover agentic AI programming, pytest testing techniques for data workflows, and an interview on SciPy, NumPy, and scientific Python contributions.
Namespace packages are a way of splitting a Python package across multiple directories. Namespaces can be implicit or explicit and this can cause confusion. This article explains why and recommends what to do. JOSH CANNON Python's with Statement: Manage External Resources Safely with statement and context managers to streamline the setup and teardown phases in resource management. Start writing safer code today! REAL PYTHON
functools.Placeholder functools.Placeholder, new in Python 3.14, with a real-life example. RODRIGO GIRÃO SERRÃO PEP 750: Template Strings (Final) PEP 728: TypedDict With Typed Extra Items (Accepted) PyData Seattle Nov 708, Call for Proposals Pytype Discontinued, Last Version 3.12 GITHUB.COM/GOOGLE Articles & Tutorials Agentic Al Programming With Python Agentic AI programming is what happens when coding assistants stop acting like autocomplete and start collaborating on real work. This episode of Talk Python To Me interviews Matthew Makai and they cut through the hype and incentives to define "agentic," and get hands-on with how it can work for you. podcast KENNEDY & MAKAI
This guide shows how to use pytest to write lightweight yet powerful tests for functions, NumPy arrays, and pandas DataFrames. You'll also learn about parametrization, fixtures, and mocking to make your workflows more reliable and production-ready. pytest for Data Scientists CODECUT.AI * Shared by Khuyen Tran What went into developing the open-source Python tools data scientists use every day? This week on the show, we talk with Travis Oliphant about his work on SciPy, NumPy, Numba, and many other contributions to the Python scientific community. SciPy, NumPy, and Fostering Scientific Python podcast REA
Read at Pycoders
[
|
]