Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Engineering at Microsoft: Python in Visual Studio Code – July 2023 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-july-2023-release/

We’re excited to announce the July 2023 release of the Python and Jupyter extensions for Visual Studio Code!
This release includes the following announcements:

Mypy extension in preview
Debugpy exten
Philippe Normand: GNOME Web Canary is back

Link: https://base-art.net/Articles/gnome-web-canary-is-back/

This is a short PSA post announcing the return of the GNOME Web Canary builds.
Read on for the crunchy details.
A couple years ago I was blogging about the GNOME Web Canary
flavor.
In summary this spe
Abhijeet Pal: How to Create an Empty Migration File in Django

Link: http://djangocentral.com/creating-an-empty-migration-file-in-django/

Migrations are an essential part of Django, as they allow you to manage your database schema and ensure that it is consistent with your models. Most migrations capture actual changes to your models, b
Abhijeet Pal: Understanding the 'F' Expression in Django: When and Why to Use It

Link: http://djangocentral.com/f-expression-in-django/

In Django, QuerySets provide a powerful way to retrieve, manipulate, and filter data from the database. Among the various tools available within QuerySets, the 'F' expression stands out as a valuable
Python for Beginners: PySpark Create Empty DataFrame

Link: https://www.pythonforbeginners.com/pyspark/pyspark-create-empty-dataframe

We use pyspark dataframes to handle tabular data. Sometimes, we need to create empty pyspark dataframes. This article will discuss how to create an empty dataframe in Pyspark.
Table of ContentsCreate
Python for Beginners: PySpark Read CSV File With Examples

Link: https://www.pythonforbeginners.com/pyspark/pyspark-read-csv-file-with-examples

The csv file format is one of the most used file formats to store tabular data. In this article, we will discuss different ways to read a csv file in PySpark.
Table of ContentsPyspark Read CSV File Us
Juri Pakaste: A fast timestamp parser in Swift

Link: https://juripakaste.fi/parse3339/

I wrote a timestamp parser in Swift. It's called Parse3339.
It's well known that DateFormatter, the main timestamp formatter and parser Apple ships in Foundation, is not particularly fast. It's flexib
Stack Abuse: Running Airflow Locally with Docker: A Technical Guide

Link: https://stackabuse.com/running-airflow-locally-with-docker-a-technical-guide/

Introduction
Apache Airflow and Docker are two powerful tools that have revolutionized the way we handle data and software deployment. Apache Airflow is an open-source platform that allows you to prog
Mike Driscoll: PyDev of the Week: Micaela Reyes

Link: https://www.blog.pythonlibrary.org/2023/07/10/pydev-of-the-week-micaela-reyes/

This week we welcome Micaela Reyes (@codemickeycode) as our PyDev of the Week! Micaela helps organize Python conferences in Asia. Micaela has been especially active with PyCon PH. She is also a member
Python⇒Speed: The easiest way to speed up Python with Rust

Link: https://pythonspeed.com/articles/easiest-rust-python/

If you want to speed up some existing Python code, writing a compiled extension in Rust can be an excellent choice:

In many situations, Rust code can run much faster than Python.
Rust prevents most o
Real Python: Profiling in Python: How to Find Performance Bottlenecks

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

Do you want to optimize the performance of your Python program to make it run faster or consume less memory? Before diving into any performance tuning, you should strongly consider using a technique c
Python Morsels: print vs. return in Python

Link: https://www.pythonmorsels.com/print-vs-return/

Both return and print "output" something, but one shows output to an end user and the other doesn't.



Table of contents

Both print and return output something
The difference between print and retur
IslandT: Extract Twitter username with python

Link: https://islandtropicaman.com/wp/2023/07/11/extract-twitter-username-with-python/

Below simple code will extract the Twitter username from text using python re module.

import re

# Extract the username without @
pattern = re.compile(r'(?<=\B@)[\w_]+')
gad = pattern.findall("hello
Real Python: Mazes in Python Part 2: Storing and Solving

Link: https://realpython.com/courses/python-maze-solver-part-2/

If you’re up for a little challenge and would like to take your programming skills to the next level, then you’ve come to the right place! In this hands-on video course, you’ll practice object-oriente
PyCharm: Meet the PyCharm team at EuroPython!

Link: https://blog.jetbrains.com/pycharm/2023/07/meet-the-pycharm-team-at-europython/

With only a week until EuroPython 2023 in the beautiful city of Prague, Czech Republic, the PyCharm team is busy making our final preparations to attend. We’re thrilled to be yet again taking part in
PyCoder’s Weekly: Issue #585 (July 11, 2023)

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

#585 – JULY 11, 2023 View in Browser » Python 3.12 Preview: Support for the Linux Perf Profiler Python 3.12 will be released in October 2023. In this tutorial, you’ll preview one of its upcoming
Python Bytes: #343 So Much Pydantic!

Link: https://pythonbytes.fm/episodes/show/343/so-much-pydantic

<a href='https://www.youtube.com/watch?v=imGFTBznmLo' 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
Python Insider: Python 3.12.0 beta 4 released

Link: https://pythoninsider.blogspot.com/2023/07/pleased-to-announce-release-of-python-3.html

 I'm pleased to announce the release of Python 3.12 beta 4.https://www.python.org/downloads/release/python-3120b4/This is a beta preview of Python 3.12Python 3.12 is still in development. This release
Python for Beginners: Tuple Unpacking in Python

Link: https://www.pythonforbeginners.com/basics/tuple-unpacking-in-python

Python provides us with different shorthand methods to perform various tasks. In this article, we will discuss tuple unpacking in Python with examples.
Table of ContentsWhat is Unpacking in Python?Tup
Stack Abuse: Data Integrity: How OrderedDict Preserves Key Order in Python

Link: https://stackabuse.com/data-integrity-how-ordereddict-preserves-key-order-in-python/

Introduction
Data integrity is a critical aspect of programming that ensures the accuracy, consistency, and reliability of data throughout its life cycle. It is particularly important when dealing wit