Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
James Bennett: Compile your Python

Link: https://www.b-list.org/weblog/2023/dec/06/compile-python-bytecode/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Christian Ledermann: 'Hypermodernize' your Python Package

Link: https://dev.to/ldrscke/hypermodernize-your-python-package-3d9m

In the original Hypermodern Python Blogpost, Poetry was recommended as the preferred tool.
There are quite a lot of packaging tools out there which I do not want to go into in depth, instead I recomme
CodersLegacy: Pytest Tutorial: Mastering Unit Testing in Python

Link: https://coderslegacy.com/pytest-tutorial-unit-testing-in-python/

Welcome to a ALL-IN-ONE Tutorial designed to meet all your testing requirements. Whether you’re just starting with the fundamentals to build a solid conceptual foundation or aiming to craft profession
Python Engineering at Microsoft: Python in Visual Studio Code – December 2023 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-december-2023-release/

We’re excited to announce the December 2023 release of the Python and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:

Configurable debugging options adde
Python Insider: Python 3.12.1 is now available

Link: https://pythoninsider.blogspot.com/2023/12/python-3121-is-now-available.html

 Python 3.12.1 is now available.https://www.python.org/downloads/release/python-3121/ This is the first maintenance release of Python 3.12
Python 3.12 is the newest major release of the Python program
Glyph Lefkowitz: Annotated At Runtime

Link: https://blog.glyph.im/2023/12/annotated-at-runtime.html

PEP 0593 added the ability to add
arbitrary user-defined metadata to type annotations in Python.
At type-check time, such annotations are… inert. They don’t do anything.
Annotated[int,
X] just
means
James Bennett: Use "pip install" safely

Link: https://www.b-list.org/weblog/2023/dec/07/pip-install-safely/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Real Python: The Real Python Podcast – Episode #183: Exploring Code Reviews in Python and Automating the Process

Link: https://realpython.com/podcasts/rpp/183/

What goes into a code review in Python? Is there a difference in how a large organization practices code review compared to a smaller one? What do you do if you're a solo developer? This week on the s
Django Weblog: 2023 Malcolm Tredinnick Memorial Prize awarded to Djangonaut Space

Link: https://www.djangoproject.com/weblog/2023/dec/08/2023-malcolm-tredinnick-memorial-prize-awarded-to/

The Django Software Foundation Board is pleased to announce that the 2023 Malcolm Tredinnick Memorial Prize has been awarded to Djangonaut Space.

Djangonaut Space, run by organizers Dawn Wages, Rache
James Bennett: Don't mock Python's HTTPX

Link: https://www.b-list.org/weblog/2023/dec/08/mock-python-httpx/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
James Bennett: Use unittest's subtest helper

Link: https://www.b-list.org/weblog/2023/dec/09/python-unittest-subtest/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Python Insider: Python 3.11.7 is now available

Link: https://pythoninsider.blogspot.com/2023/12/python-3117-is-now-available.html

  This is the sixth maintenance release of Python 3.11Python 3.11.7 is the newest major release of the Python programming language, and it contains many new features and optimizations. Get it here:htt
Ned Batchelder: Real-world match/case

Link: https://nedbatchelder.com/blog/202312/realworld_matchcase.html

Python 3.10 brought us structural pattern matching, better known as
match/case. At first glance, it looks like a switch statement from C or
JavaScript, but it’s very different.You can use match/case
James Bennett: Test your documentation

Link: https://www.b-list.org/weblog/2023/dec/10/python-doctest/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Real Python: Python News: What's New From November 2023

Link: https://realpython.com/python-news-november-2023/

November brought exciting news to the Python community, from PyPI’s first security audit to a new version of PyScript! The month also gave Python developers like you ample opportunities to get involve
CodersLegacy: Python __init__.py – Best Practices and Customizations

Link: https://coderslegacy.com/python-init-py-best-practices/

The __init__.py file is a special Python script that is executed when a package or module is imported. Its primary purpose is to initialize the package or module and define the package’s namespace. In