Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Django Weblog: 2024 DSF Board Election Results

Link: https://www.djangoproject.com/weblog/2023/nov/29/2024-dsf-board-election-results/


The 2024 DSF Board Election has closed, and the following candidates have been elected:


Jacob Kaplan-Moss

Sarah Abderemane

Thibaud Colas



They will all serve two years for their term.


From th
Test and Code: 208: Tests with no assert statements

Link: https://testandcode.com/episodes/208-tests-with-no-assert-statements

Why on earth would you want to write a test with no assert statements?After all, aren't assert statements how you decide wether a test passes or fails?In this episode, we walk through a handful of use
Test and Code: 210: TDD - Refactor while green

Link: https://testandcode.com/episodes/210-tdd-refactor-while-green

Test Driven Development. Red, Green, Refactor. 
Do we have to do the refactor part? 
Does the refactor at the end include tests? 
Or can I refactor the tests at any time?
Why is refactor at the end? 
Ned Batchelder: Say it again: values not expressions

Link: https://nedbatchelder.com/blog/202311/say_it_again_values_not_expressions.html

Sometimes you can explain a simple thing for the thousandth time,
and come away with a deeper understanding yourself. It happened to me the
other day with Python mutable argument default values.
This
Armin Ronacher: Bundleless: Not Doing Things Makes You Fast

Link: http://lucumr.pocoo.org/2023/11/30/not-doing-things-makes-you-fast

I recently came across a tweet and one
statement in it really triggered me: the claim that a bundleless dev
server does not work. The idea here being that you cannot avoid bundling
during development
Python⇒Speed: Using Polars in a Pandas world

Link: https://pythonspeed.com/articles/polars-pandas-interopability/

Polars is a dataframe-based library that can be faster, more memory efficient, and often simpler to use than Pandas.
It’s also much newer, and correspondingly less popular.
In November 2023:

Polars h
Talk Python to Me: #440: Talking to Notebooks with Jupyter AI

Link: https://talkpython.fm/episodes/show/440/talking-to-notebooks-with-jupyter-ai

We all know that LLMs and generative AI has been working its way into many products. It's Jupyter's turn to get a really awesome integration. We have David Qiu here to tell us about Jupyter AI. Jupyte
Paolo Melchiorre: Pelican 4.9: classless Simple theme with semantic HTML

Link: https://www.paulox.net/2023/11/30/pelican-4.9-classless-simple-theme/

Introducing the updated version of the “Simple” theme in the new Pelican 4.9 version, with semantic and classless HTML and customizable out-of-the-box.
PyCharm: PyCharm 2023.3 Release Candidate Is Out

Link: https://blog.jetbrains.com/pycharm/2023/11/2023-3-release-candidate/

PyCharm 2023.3 Release Candidate is now available!
You can get the latest build from our website, through the free Toolbox App, or via snaps for Ubuntu.

To use this build, you need to have an active
Armin Ronacher: Untyped Python: The Python That Was

Link: http://lucumr.pocoo.org/2023/12/1/the-python-that-was

A lot has been said about Python typing. If you have been following me on
Twitter (or you have the dubious pleasure of working with me), you
probably know my skepticism towards Python typing. This s
Real Python: The Real Python Podcast – Episode #182: Building a Python JSON Parser & Discussing Ideas for PEPs

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

Have you thought of a way to improve the Python language? How do you share your idea with core developers and start a discussion in the Python community? Christopher Trudeau is back on the show this w
Test and Code: 210: TDD - Refactor while green

Link: https://podcast.pythontest.com/episodes/210-tdd-refactor-while-green

Test Driven Development. Red, Green, Refactor. 
Do we have to do the refactor part? 
Does the refactor at the end include tests? 
Or can I refactor the tests at any time?
Why is refactor at the end? 
Matt Layman: Switch an Existing Python Project To Ruff

Link: https://www.mattlayman.com/blog/2023/switch-an-existing-python-project-to-ruff/

On a recent Building SaaS stream, we switched from using flake8, Black, isort, and bandit completely over to a single tool, Ruff. Watch an experienced Pythonista work through many of the options and d
Marcos Dione: Migrating from ikiwiki to nikola

Link: https://www.grulic.org.ar/~mdione/glob/posts/migrating-from-ikiwiki-to-nikola/

As I mentioned several times already, my ikiwiki setup for this glob is falling apart in my machine. As it is written
in perl, a language I haven't touched in may many years, and its community seems t
Marcos Dione: ikiwiki to nikola: the script

Link: https://www.grulic.org.ar/~mdione/glob/posts/ikiwiki-to-nikola-the-script/

People asked for it:
#! /usr/bin/python3

import argparse
from datetime import datetime
from glob import glob
from os import stat
from os.path import basename, splitext
import re
import sys
import tim
TechBeamers Python: 44 Python Data Analyst Interview Questions

Link: https://www.techbeamers.com/44-python-data-analyst-interview-questions/

Here are 20 data analytics interview questions focused on Python programming along with their answers. You may like to check these out. Python Data Analyst Interview Questions and Answers. Question: H
James Bennett: A Python/Django Advent calendar

Link: https://www.b-list.org/weblog/2023/dec/03/python-enums/

Advent is the liturgical season preceding Christmas in many Christian traditions, and generally begins on a Sunday — often the fourth Sunday before Christmas Day, but it varies depending on the church
Django Weblog: Django bugfix release: 4.2.8

Link: https://www.djangoproject.com/weblog/2023/dec/04/bugfix-release/

Today we've issued the 4.2.8 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is