Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Django Weblog: Django 5.0 released

Link: https://www.djangoproject.com/weblog/2023/dec/04/django-50-released/

The Django team is happy to announce the release of Django 5.0.
The release notes
cover a deluge of exciting new features in detail, but a few highlights are:

The database-computed default values
all
Real Python: Serialize Your Data With Python

Link: https://realpython.com/python-serialize-data/

Whether you’re a data scientist crunching big data in a distributed cluster, a back-end engineer building scalable microservices, or a front-end developer consuming web APIs, you should understand dat
Daniel Roy Greenfeld: TIL: Forcing pip to use virtualenv

Link: https://daniel.feldroy.com/posts/til-2023-12-forcing-pip-to-use-virtualenv

Necessary because installing things into your base python causes false positives, true negatives, and other head bangers.
Set this environment variable, preferably in your rc file:
# ~/.zshrc
export
Zato Blog: Smart IoT integrations with Akenza and Python

Link: https://zato.io/en/insights/akenza-iot-python-websockets.html


Smart IoT integrations with Akenza and Python


2023-12-04, by Dariusz Suchojad


Overview
The Akenza IoT platform, on its own, excels in collecting and managing data from a myriad of IoT devices.
Python Software Foundation: It's time for our annual year-end PSF fundraiser and membership drive 🎉

Link: https://pyfound.blogspot.com/2023/11/support-python-q4-2023.html

Support Python in 2023!  There are two ways to join in the drive this year:Donate directly to the PSF! Every dollar makes a difference. (Does every dollar also make a puppy’s tail wag? We make no prom
James Bennett: Easy HTTP status codes in Python

Link: https://www.b-list.org/weblog/2023/dec/04/python-http-status-codes/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar for Advent 2023, offering a small tip or piece of information each day from the first Sunday of Advent through Ch
Mike Driscoll: Viewing an Animated GIF with Python

Link: https://www.blog.pythonlibrary.org/2023/12/05/viewing-an-animated-gif-with-python/

Animated GIFs are a fun way to share silent videos on social media. This website has a tutorial to help you learn how to create your own animated GIFs with Python. But what if you wanted to view an an
PyCoder’s Weekly: Issue #606 (Dec. 5, 2023)

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

#606 – DECEMBER 5, 2023 View in Browser » Advent of Code: Solving Puzzles With Python Advent of Code is an online advent calendar that shares new programming puzzles each day from December 1 to
Read the Docs: Read the Docs newsletter - December 2023

Link: https://blog.readthedocs.com/newsletter-december-2023/

News and updates

We have shipped single version projects to allow projects to be versioned without having translations. This is a long-requested feature that we’ve excited to ship based on our Proxit
James Bennett: Understanding virtual environments in Python

Link: https://www.b-list.org/weblog/2023/dec/05/understanding-python-venv/

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