Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
James Bennett: Database views in Django

Link: https://www.b-list.org/weblog/2023/dec/13/django-database-views/

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
Talk Python to Me: #442: Ultra High Speed Message Parsing with msgspec

Link: https://talkpython.fm/episodes/show/442/ultra-high-speed-message-parsing-with-msgspec

If you're a fan of Pydantic or dataclasses, you'll definitely be interested in this episode. We are talking about a super fast data modeling and validation framework called msgspec. Some of the types
James Bennett: Database functions in Django

Link: https://www.b-list.org/weblog/2023/dec/14/django-database-functions/

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
Test and Code: 211: Stamp out test dependencies with pytest plugins

Link: https://podcast.pythontest.com/episodes/211-stamp-out-test-dependencies-with-pytest-plugins

We want to be able to run tests in a suite, and debug them in isolation, and have the behavior be the same.  If the behavior is different in isolation vs in a suite, it's a nightmare to debug. In this
James Bennett: Python packaging: use the "src"

Link: https://www.b-list.org/weblog/2023/dec/15/python-packaging-src-layout/

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
Matt Layman: Tailwind CSS on Python and Heroku - Building SaaS

Link: https://www.mattlayman.com/blog/2023/tailwind-css-on-python-and-heroku-building-saas/

Tailwind CSS is a fantastic tool for making CSS easy to use on your webapps. On the video, I added Tailwind CSS to my Django app and showed how to use it and deploy it to Heroku (which required some e
James Bennett: Say what you mean in a regex

Link: https://www.b-list.org/weblog/2023/dec/16/python-regex-unicode-digits/

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
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