Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Talk Python to Me: #437: HTMX for Django Developers (And All of Us)

Link: https://talkpython.fm/episodes/show/437/htmx-for-django-developers-and-all-of-us

Are you considering or struggling with replacing much of the interactivity of your Django app with frontend JavaScript frameworks? After all, your users do expect an interactive and modern app, right?
Real Python: Document Your Python Code and Projects With ChatGPT

Link: https://realpython.com/document-python-code-with-chatgpt/

Having good documentation is a critical feature of any successful Python project. In practice, writing documentation is hard and can take a lot of time and effort, so some developers don’t like to do
Daniel Roy Greenfeld: TIL: Fixing YAML

Link: https://daniel.feldroy.com/posts/til-2023-11-fixing-yaml

I got tired of manually correcting and prettifying YAML only to run into periodic instances where my cleanup broke configurations. Alas, yamllint only tells you what's wrong. I would rather have an ea
Quansight Labs Blog: Refining NumPy's Python API for its 2.0 release

Link: https://labs.quansight.org/blog/numpy-python-api-cleanup

A journey through NumPy's Python API from a maintenance perspective.
Quansight Labs Blog: Adding support for polynomials to Numba

Link: https://labs.quansight.org/blog/numba-polynomial-support

My work was focused on improving NumPy support in Numba, with focus on the polynomial package.
Quansight Labs Blog: The 'eu' in eucatastrophe – Why SciPy builds for Python 3.12 on Windows are a minor miracle

Link: https://labs.quansight.org/blog/building-scipy-with-flang

Moving SciPy to Meson meant finding a different Fortran compiler on Windows, which was particularly tricky to pull off for conda-forge. This blog tells the story about how things looked pretty grim fo
Python Software Foundation: Join the Python Developers Survey 2023: Share and learn about the community!

Link: https://pyfound.blogspot.com/2023/11/join-python-developers-survey-2023.html

td {border: 1px solid #cccccc;}br {mso-data-placement:same-cell;}  This year we are conducting the seventh iteration of the official Python Developers Survey. The goal is to capture the current state
Stack Abuse: Guide to Queues in Python

Link: https://stackabuse.com/guide-to-queues-in-python/

Introduction
From storing simple integers to managing complex workflows, data structures lay the groundwork for robust applications. Among them, the queue often emerges as both intriguing and ubiquito
Glyph Lefkowitz: iOS Mail To Omnifocus Task

Link: https://blog.glyph.im/2023/11/ios-mail-to-omnifocus-task.html

One of my longest-running frustrations with iOS is that the default mail app
does not have a “share” action, making it impossible to do the one thing that
a mail client needs to be able to do for me,
Mike Driscoll: wxPython 101 – wx.NewId() is Deprecated!

Link: https://www.blog.pythonlibrary.org/2023/11/09/wxpython-101-wx-newid-is-deprecated/

Deprecation warnings are handy ways for open-source maintainers to alert their users that some part of their package is no longer going to be supported. Good maintainers will provide migration guides
Stack Abuse: Guide to Hash Tables in Python

Link: https://stackabuse.com/hash-tables-in-python/

Introduction
Hash tables offer an efficient and flexible method of storing and retrieving data, making them indispensable for tasks involving large data sets or requiring rapid access to stored items.
PyBites: Maximizing Your Developer Experience (DX) with Adam Johnson: Git Mastery, Django and Open Source

Link: https://pybit.es/articles/maximizing-your-dx-with-adam-johnson/

This week we talk with Adam Johnson, Python developer / consultant, Django steering counsel member and prolific book author.
Listen here:

Or check it out on our YouTube channel:


We start off with s
Python Software Foundation: The Python Sofware Foundation receives the Wonderfully Welcoming Award from GitHub!

Link: https://pyfound.blogspot.com/2023/11/psf-wonderfully-welcoming-award-github.html

[November 9th, 2023] - The Python Software Foundation is delighted to announce that we are a recipient of a GitHub Award under the Wonderfully Welcoming category, awarded on November 9th at GitHub Uni
Real Python: The Real Python Podcast – Episode #180: Studying Python Software Architecture & Creating Lambda Expressions

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

Have you moved through the fundamentals of Python, and are you now considering building a more extensive project or complete application? Where can you study the architecture of existing Python projec
Mike Driscoll: Episode 21 – Sanic – The Async Python Web Framework

Link: https://www.blog.pythonlibrary.org/2023/11/10/episode-21-sanic-the-async-python-web-framework/

Python has many remarkable web frameworks to choose from. Sanic is another excellent web framework and one of the first to support async programming.
Sanic is built to be able to build fast and run fa
TypeThePipe: Measure FWHM from image with Python

Link: https://typethepipe.com/post/measure-fwhm-image-with-python/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
PyCharm: Django vs Flask: Which is the Best Python Web Framework?

Link: https://blog.jetbrains.com/pycharm/2023/11/django-vs-flask-which-is-the-best-python-web-framework/

Overview
Even if you are new to web development, you probably already know that there are two main web frameworks in the Python world: Django and Flask. According to the Python Developers Survey 2022
ListenData: NumPy argmin() Function : Learn with Examples

Link: https://www.listendata.com/2023/11/argmin-numpy-function.html

In this tutorial, we will see how to use the NumPy argmin() function in Python along with examples.

To read this article in full, please click hereThis post appeared first on ListenData
Daniel Roy Greenfeld: TIL: Autoloading on Filechange using Watchdog

Link: https://daniel.feldroy.com/posts/til-2023-11-autoloading-on-filechange-using-watchdog

Using Watchdog to monitor changes to a directory so we can alter what we serve out as HTTP. Each segment is the evolution towards getting it to work.
Serving HTTP from a directory
I've done this for a
death and gravity: reader 3.10 released – storage internal API

Link: https://death.andgravity.com/reader-3-10

Hi there!
I'm happy to announce version 3.10 of reader, a Python feed reader library.
What's new? #
Here are the highlights since reader 3.9.
Storage internal API #
The storage internal API is now doc
Python GUIs: How to Restore the Window's Geometry in a PyQt App — Make Your Windows Remember Their Last Geometry

Link: https://www.pythonguis.com/tutorials/restore-window-geometry-pyqt/

In GUI applications the window's position & size are known as the window geometry. Saving and restoring the geometry of a window between executions is a useful feature in many applications. With persi