Issue #589 (Aug. 8, 2023)

#589 – AUGUST 8, 2023

Exploring Pandas 2.0 & Targets for Apache Arrow

What are the new ways to describe your data in pandas 2.0? Will the addition of Apache Arrow to the data back end foster the growth of data interoperability? This week on the show, we talk with pandas core developer Marc Garcia about the release of pandas 2.0.
REAL PYTHON podcast

Python, Foreign Functions and Steam

This article shows you how to call foreign C functions from Python. This allows you to call into shared libraries and is similar to how extensions work. The examples use the Steamworks SDK which games use to communicate with Steam.
ARTUR DRYOMOV • Shared by Artur Dryomov

Fully Managed Postgres + Great Support

“What a different support experience Crunchy is. Not only is it timely, it’s informed, it’s on topic. We’re encouraged to ask questions. We’re able to do so much more working with a partner who cares as much about data as we do.” Rob Sullivan, CareRev →
CRUNCHY DATA sponsor

Quirks of Python Package Versioning

Python packaging allows for a wide variety of version styles for your packages. This article shows you what is out there and why you might use each.
SETH LARSON

PSF Announces Fellow Members for Q1 2023

PYTHON SOFTWARE FOUNDATION

Django 4.2.4 Released

DJANGO SOFTWARE FOUNDATION

Pydantic v2.1 Released

PYDANTIC.DEV

Discussions

“Why Python Is Terrible”

HACKER NEWS

Is Anyone Using PyPy for Real Work?

HACKER NEWS

Articles & Tutorials

Filtering Iterables With Python

In this video course, you’ll learn how Python’s filter() works and how to use it effectively in your programs. You’ll also learn how to use list comprehension and generator expressions to replace filter() and make your code more Pythonic.
REAL PYTHON course

Boosting Efficiency in Pandas With Indexing

Pandas is the most widely used Python library for data manipulation, and it allows you to access and manipulate data efficiently. Its indexing techniques can significantly improve the speed and efficiency of your queries. Learn how.
FEDERICO TROTTA

Build a Small App With Workflows & Activities Using Python SDK

Develop a small application that communicates with an external service in this free course on Workflows and Activities using Temporal’s Python SDK. You’ll also learn how Temporal helps recover from failures and use the Web UI and command-line tools to interact with your Workflows →
TEMPORAL sponsor

Overloading Arithmetic Operators With Dunder Methods

This article shows you how to overload the arithmetic operators in Python with dunder methods. It includes examples for add, radd, and iadd, while also outlining how to deal with error conditions in dunder methods.
RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão

Supporting Multiple Languages in Django

This step-by-step article shows you how to add multiple language support to your Django projects. It covers the difference between localization and internationalization, and how to use both in the template engine.
SAMUEL TORIMIRO • Shared by Michael Herman

How to Download Files From URLs With Python

In this tutorial, you’ll find the right tools to help you download files from URLs with Python and manage the data retrieval process. You’ll cover data streaming, thread pools, and asynchronous downloads.
REAL PYTHON

Working With the Python operator Module

In this tutorial, you’ll explore the Python operator module and its role in functional programming. You’ll code several examples of using both operator-equivalent and higher-order functions in programs.
REAL PYTHON

Popular Airline Passenger Routes

This article talks about scraping passenger count data from Wikipedia and building visualizations for it. It uses wikitextparser for scraping, DuckDB for data, and rich for the terminal interface.
MARK LITWINTSCHIK

Kafka Messaging With Python & Polylith

Get started with Apache Kafka to produce & consume messages with Python. All this in a Polylith workspace, for a nice developer experience and to easily re-use existing code.
DAVID VUJIC • Shared by David Vujic

PyFlo: The Beginner’s Guide to Python

This is an online course with an interesting flow chart guiding you through lessons, with optional tangents and core concepts. It even includes an instructor’s guide.
PYFLO

Building and Operating S3

This article is a very deep dive into how Amazon S3 Storage was created, and the complexities involved in operating a system at that scale.
ANDY WARFIELD

Projects & Code

reflex: Web Apps in Pure Python

GITHUB.COM/REFLEX-DEV

lpython: Python Compiler

GITHUB.COM/LCOMPILERS

Django ORM Cheatsheet

DJANGOCENTRAL

textual-paint: Art: MS Paint in Your Terminal

GITHUB.COM/1J01

Biaslyze: The NLP Bias Identification Toolkit

GITHUB.COM/BIASLYZE-DEV • Shared by Tobias Sterbak

Events

Weekly Real Python Office Hours Q&A (Virtual)

August 9, 2023
REALPYTHON.COM

Python Atlanta

August 10 to August 11, 2023
MEETUP.COM

PyCon KR

August 11 to August 14, 2023
PYCON.KR

Django Girls Abuja

August 11 to August 13, 2023
DJANGOGIRLS.ORG

PyDelhi User Group Meetup

August 12, 2023
MEETUP.COM

DFW Pythoneers 2nd Saturday Teaching Meeting

August 12, 2023
MEETUP.COM

EuroSciPy 2023

August 14 to August 19, 2023
EUROSCIPY.ORG

DjangoConAU 2023

August 18 to August 19, 2023
DJANGOCON.COM.AU

PyCon AU 2023

August 18 to August 23, 2023
PYCON.ORG.AU

Happy Pythoning!
This was PyCoder’s Weekly Issue #589.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s