Issue #589

Pandas 2.0, Foreign Functions, Versioning, and More

Aug. 8, 2023

Pandas 2.0, Foreign Functions, Versioning, and More
#589 – AUGUST 8, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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 DATAsponsor

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 →
TEMPORALsponsor

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


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

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

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
August 9, 2023

Python Atlanta
August 10 to August 11, 2023

PyCon KR
August 11 to August 14, 2023

Django Girls Abuja
August 11 to August 13, 2023

PyDelhi User Group Meetup
August 12, 2023

DFW Pythoneers 2nd Saturday Teaching Meeting
August 12, 2023

EuroSciPy 2023
August 14 to August 19, 2023

DjangoConAU 2023
August 18 to August 19, 2023

PyCon AU 2023
August 18 to August 23, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.