Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Kay Hayen: Nuitka Release 1.9

Link: https://nuitka.net/posts/nuitka-release-19.html

This is to inform you about the new stable release of Nuitka. It is the extremely compatible Python compiler,
“download now”.
This release has had a focus on improved startup time and compatibility
wi
James Bennett: Don't use class methods on Django models

Link: https://www.b-list.org/weblog/2023/dec/17/django-model-classmethod/

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
Zato Blog: Automating telecommunications networks with Python and SFTP

Link: https://zato.io/en/insights/sftp.html


Automating telecommunications networks with Python and SFTP


2023-12-18, by Dariusz Suchojad


In the realm of telecommunications, the Secure File Transfer Protocol (SFTP) serves as a critical mec
Python⇒Speed: How many CPU cores can you actually use in parallel?

Link: https://pythonspeed.com/articles/cpu-thread-pool-size/

When you’re running a CPU-intensive parallel program, you often want to have a thread or process pool sized by the number of CPU cores on your machine.
Fewer threads and you’re not taking advantage of
Real Python: Enhance Your Flask Web Project With a Database

Link: https://realpython.com/flask-database/

Adding a database to your Flask project comes with many advantages.
By connecting a database, you’ll be able to store user information, monitor user interactions, and maintain dynamic site content.
In
Anarcat: (Re)introducing screentest

Link: https://anarc.at/blog/2023-12-18-rewrote-screentest/

I have accidentally rewritten screentest, an old
X11/GTK2 program that I was previously using to, well, test
screens.
Screentest is dead
It was removed from Debian in May 2023 but had already missed t
James Bennett: Running async tests in Python

Link: https://www.b-list.org/weblog/2023/dec/18/async-python-tests/

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
CodersLegacy: How to disable the Cache in Selenium

Link: https://coderslegacy.com/how-to-disable-the-cache-in-selenium/

Selenium is a powerful tool for automating web applications, but one common challenge faced by automation testers is dealing with browser caching. Caching can sometimes interfere with the accuracy of
Spyder IDE: Reusable research Birds of a Feather session at Scipy 2023: Goals and challenges

Link: https://www.spyder-ide.org/blog/reusable-research-bof-scipy-2023/

The Spyder team and collaborators hosted a Birds of a Feather (BoF) session at SciPy 2023, focused on moving beyond just scripts and notebooks toward truly reproducible, reusable research.
Here, we’ll
PyCoder’s Weekly: Issue #608 (Dec. 19, 2023)

Link: https://pycoders.com/issues/608

#608 – DECEMBER 19, 2023 View in Browser » Build a Hangman Game With Python and PySimpleGUI In this step-by-step tutorial, you’ll learn how to write the game of hangman in Python with a PySimple
James Bennett: Show Python deprecation warnings

Link: https://www.b-list.org/weblog/2023/dec/19/show-python-deprecation-warnings/

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: Add Logging and Notification Messages to Flask Web Projects

Link: https://realpython.com/flask-logging-messages/

After implementing the main functionality of a web project, you may find that your app is rough around the edges. Often, this boils down to the user experience (UX) of your project. For example, when
James Bennett: Use Django's system checks

Link: https://www.b-list.org/weblog/2023/dec/20/django-system-check/

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
Hynek Schlawack: Don’t Start Pull Requests from Your Main Branch

Link: https://hynek.me/articles/pull-requests-branch/

When contributing to other users’ repositories, always start a new branch in your fork.
Doug Hellmann: sphinxcontrib-datatemplates 0.11.0

Link: https://doughellmann.com/releases/sphinxcontrib-datatemplates-0-11-0/

What’s new in 0.11.0? handle file exceptions when loading data or templates (contributions by Bizordec)