Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
The Open Sourcerer: Please help test (and fix) GTG’s GTK 4 port

Link: https://fortintam.com/blog/call-for-testing-gtg-gtk4-branch/

As you know, even with a “simple” language like Python, porting a desktop application to a new version of GTK can be a pretty significant amount of work; doubly so when it is accompanied by major refa
Talk Python to Me: #426: What's New in PyScript [August 2023]

Link: https://talkpython.fm/episodes/show/426/whats-new-in-pyscript-august-2023

One of the most exciting initiatives in the Python space these days is pyscript which enables Python running natively in your browser. With consistent support from the folks at Anaconda, this project
William Minchin: AutoLoader Plugin 1.2.1 for Pelican Released

Link: https://blog.minchin.ca/2023/08/autoloader-121-released.html

AutoLoader is a plugin for Pelican,
a static site generator written in Python.
AutoLoader is a “meta plugin” in that it doesn’t directly affect your Pelican
site, but rather works to make your other p
Python People: Bob Belderbos - PyBytes, Code Challenges, Coaching, Spain, and Books

Link: https://pythonpeople.fm/episodes/bob-belderbos

Bob Belderbos built PyBites with Julian Sequira. PyBites started with code challenges to help people learn Python, and has grown into a learning platform and community, and now includes coaching.We ta
Nicola Iarocci: Cerberus v1.3.5 released

Link: https://nicolaiarocci.com/cerberus-v1.3.5-released/

Thanks to funkyfuture’s tireless work, yesterday we released version 1.3.5 of Cerberus, the data validation package for Python. This release officially supports Python 3.10 and 3.11, fixes a few issue
Abhijeet Pal: DRF Serializer: Handling OrderedDict and Converting It to a Dictionary or JSON

Link: http://djangocentral.com/drf-serializer-handling-ordereddict-and-converting-it-to-a-dictionary-or-json/

In Django Rest Framework (DRF) tests, when you access serializer.data, you might encounter an OrderedDict instead of a regular dictionary. This behavior is intentional and reflects the design of DRF's
PyBites: How the Flocking Rules Can Help You Refactor Your Code

Link: https://pybit.es/articles/how-the-flocking-rules-can-help-you-refactor-your-code/

In this new podcast episode we are excited to have Chris May back to delve deeper into the intricacies of refactoring.
Watch here:


Listen here:

We talk about the significance of the Flocking Rules,
Abhijeet Pal: Django Rest Framework CheetSheet: Mastering API Development

Link: http://djangocentral.com/django-rest-framework-cheat-sheet/

Django Rest Framework (DRF) is a powerful toolkit that makes building robust and scalable web APIs with Django a breeze. Whether you're a seasoned Django developer or a newcomer, having a comprehensiv
Real Python: The Real Python Podcast – Episode #168: Common Python Stumbling Blocks & Quirky Behaviors

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

Have you ever encountered strange behavior when trying something new in Python? What are common quirks hiding within the language? This week on the show, Christopher Trudeau is here, bringing another
EuroPython Society: EuroPython 2023 Code of Conduct Transparency Report

Link: https://www.europython-society.org/europython-2023-transparency-report/

The 2023 version of the EuroPython conference took place both online and in person in July 2023. This was the first conference under our new Code of Conduct (CoC), and we had Code of Conduct working g
PyBites: When to refactor your code?

Link: https://pybit.es/articles/when-to-refactor-your-code/

How to make refactoring part of your Definition of Done
Photo by rtisanyb on Unsplash
Writing code is an iterative process. The first iteration is usually not the best result. Grooming and polishing
meejah.ca: pypiratzzi: No More Signatures on PyPI

Link: https://meejah.ca/blog/pypiratzzi

Since we are no longer allowed to upload signatures to PyPI, everyone has to do something else
Juri Pakaste: Splitting a Xcode project with SPM

Link: https://juripakaste.fi/split-swift-project-with-spm/

I was talking on Mastodon about splitting an Xcode project into smaller pieces. Here's an elaboration.
Background: With SwiftUI previews you want small focused Xcode schemes. The larger your scheme, t
Matt Layman: Practical Business Jinja

Link: https://www.mattlayman.com/blog/2023/practical-business-jinja/

Inspired by the Practical Business Python blog this Python Frederick meetup will cover how to automate document creation using Python-docx and Jinja.
Abhijeet Pal: How to Use Subquery() in Django With Practical Examples

Link: http://djangocentral.com/how-to-use-subquery-in-django/

In the realm of web development, Django stands as a powerful and versatile framework for building robust applications. One of the key aspects of developing efficient and optimized web applications is
Stack Abuse: How to Unzip a .gz File Using Python

Link: https://stackabuse.com/how-to-unzip-a-gz-file-using-python/

Introduction
Working with compressed files is a common occurrence in programming, and of the various types of compressed files, .gz files are pretty popular in the Unix and Linux world.
In this Byte,
Stack Abuse: Fixing "ModuleNotFoundError: No module named 'mysql'" in Python

Link: https://stackabuse.com/fixing-modulenotfounderror-no-module-named-mysql-in-python/

Introduction
Python is a very dynamic and flexible language with a great ecosystem of modules and libraries. However, it can be very frustrating when you encounter module errors, like ModuleNotFoundEr
Real Python: What Are Python Asterisk and Slash Special Parameters For?

Link: https://realpython.com/python-asterisk-and-slash-special-parameters/

Whenever you think of Python’s asterisk operator (*), you most likely think of multiplication or exponentiation. Similarly, you probably associate the forward slash operator (/) with division. But yo
Stack Abuse: Error "Sequence item 0: expected str instance, X found" in Python

Link: https://stackabuse.com/error-sequence-item-0-expected-str-instance-x-found-in-python/

Introduction
In Python, like any other programming language, we often encounter different types of errors. These errors can sometimes be difficult to understand and address, especially for beginners.