Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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.
Real Python: Process Images Using the Pillow Library and Python

Link: https://realpython.com/courses/python-pillow/

When you look at an image, you see the objects and people in it. However, when you read an image programmatically with Python or any other language, the computer sees an array of numbers. In this vide
Stack Abuse: Counting Non-NaN Values in DataFrame Columns

Link: https://stackabuse.com/counting-non-nan-values-in-dataframe-columns/

Introduction
Data cleaning is an important step in any data science project. In Python, Pandas DataFrame is a commonly used data structure for data manipulation and analysis.
In this Byte, we will foc
PyCoder’s Weekly: Issue #590 (Aug. 15, 2023)

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

#590 – AUGUST 15, 2023 View in Browser » How to Annotate Methods That Return self In this tutorial, you’ll learn how to use the Self type hint in Python to annotate methods that return an instan
Python Bytes: #348 JavaScript in Your Python

Link: https://pythonbytes.fm/episodes/show/348/javascript-in-your-python

<a href='https://www.youtube.com/watch?v=0DfmSdA2jM8' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by us! Support our work through:</p
PyBites: ⚠️Why you should avoid import * in Python 🐍

Link: https://pybit.es/articles/why-you-should-avoid-import-in-python/

Anyone who’s worked with Python knows that modules can be a Godsend, saving you time, effort, and many lines of code.
They even have namespacing built-in
To expand on this a bit:

Saving time, effo
Python GUIs: Trademarks and Open Source Software: What you need to know

Link: https://www.pythonguis.com/faq/trademarks-and-open-source-software/

As previously discussed, a central concept of open source licenses is that the author of a given program grants anyone permission to use, modify, or redistribute their code without seeking specific pe
Real Python: Python Polars: A Lightning-Fast DataFrame Library

Link: https://realpython.com/polars-python/

In the world of data analysis and manipulation, Python has long been the go-to language. With extensive and user-friendly libraries like NumPy, pandas, PySpark, and Dask, there’s a solution available