| PEP 634: Structural Pattern Matching ( |
A few links related to PEP 634, which will add structural pattern matching to Python via a new
case statement: PEP 634 (Specification), PEP 635 (Motivation and Rationale), PEP 636 (Tutorial & Examples)
Python Strings Are Immutable, but Only Sometimes
It turns out you can mutate a string in Python… sort of.
Introducing App Platform, a New PaaS That Gets Your Apps to Market, Faster
Get your apps to market faster with DigitalOcean’s App Platform. Build, deploy, and scale apps quickly using a simple, fully managed solution. We’ll handle the infrastructure, app runtimes and dependencies, so you can push code to production in just a few clicks. Get started w/ $100 free credit →
Making a Difficult Data Analysis Question Easy With Pandas
A great strategy to use when faced with a tricky data analysis problem is to reshape the dataset into a format that turns it into an easy problem. In this article, you’ll look at an example involving a simple calculation and extensive reshaping in pandas.
MARTIN • Shared by Martin
Efficiently Cleaning Text With Pandas
In this article, you’ll see some examples of cleaning text fields in a large data file and learn several strategies for efficiently cleaning unstructured text fields using Python and pandas.
Building Rich Terminal Dashboards
Learn how to use the Rich CLI library’s new terminal dashboard feature.
Python Microservices With gRPC
Learn how to build a robust and developer-friendly Python microservices infrastructure using gRPC and Kubernetes. You’ll also explore advanced topics such as interceptors and integration testing.
Python 3.7.10 and 3.6.13 Security Updates Now Available
CPYTHON DEV BLOG
match/case Statement Has People Talking
Numerous people opine on Twitter about the new
match/case statement expected in Python 3.10. While some folks welcome the powerful new syntax, others lament the syntax bloat and potential for confusion they see in the new feature.
RUSSELL KEITH-MAGEE & BRANDON RHODES
Pattern Matching Accepted for Python
Discussion of last week’s acceptance of PEP 634.
How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →
Senior Backend Developer
ORDERBIRD AG 📍 BERLIN, GERMANY
Advanced Python Engineer
RESEARCH AFFILIATES 📍 NEWPORT BEACH, CA, USA
Principal Python Engineer
EAB 📍 REMOTE
DER FREITAG MEDIENGESELLSCHAFT MBH & CO. KG 📍 BERLIN, GERMANY
More Python Jobs >>>
Articles & Tutorials
cryptography, Rust, and Gentoo
A recent update to the Python
cryptography library, which has started replacing some of its C code with Rust, stirred up some controversy among users and library maintainers.
Unraveling Python’s Syntax to Its Core With Brett Cannon
Brett is a Python core developer and he’s been working on a series of articles where he is unraveling the syntax of Python. His series is a fantastic resource for those wanting to learn how Python is structured and works at its core.
REAL PYTHON podcast
Python Tricks: A Buffet of Awesome Python Features
Discover Python’s best practices with simple examples and start writing even more beautiful + Pythonic code. “Python Tricks: The Book” shows you exactly how. You’ll master intermediate and advanced-level features in Python with practical examples and a clear narrative. Get the book + video bundle 33% off →
A Complete Notifications System for Your Python App
Send notifications from your Python app in just a few lines of code. One API to reach users over Email, SMS, Push, Slack, and more. Design notifications in a drag & drop editor, manage user preferences, and troubleshoot quickly. Get started for free.
The PEP 8 Song
A songification of that most holiest of Python Enhancement Proposals.
LEON SANDØY video
Pandas Sort: Your Guide to Sorting Data in Python
Learn how to sort data in a pandas DataFrame using the pandas sort functions
An Interesting Issue Around Using
is With a Literal in Python
When you use
is to compare a value to a literal, such as the empty string
'', you’ll see a
SyntaxWarning that tells you not to use
is that way, but your code may still work as intended. Learn why your code still works, and why you really should heed the warning.
Creating PyQt Layouts for GUI Applications
In this step-by-step course, you’ll learn how to use PyQt layouts to arrange and manage the graphical components on your GUI applications. With the help of PyQt’s layout managers, you’ll be able to create polished and professional GUIs with minimal effort.
REAL PYTHON course
Python “Tricks” I Can Not Live Without
Learn some fun and useful Python “tricks” that can help you write cleaner and more maintainable code.
Speeding Up Python Code With Nim
You need to speed up some Python code, but don’t know C and don’t have time to learn it. Enter Nim!
Adding Social Authentication to Flask
Learn how to add social authentication with GitHub and Twitter to a Flask application.
AMAL SHAJI • Shared by Amal Shaji
Here’s an article for the computer science-minded folks. Learn how to create an Earley parser from scratch in Python, which allows you to use any context-free grammar to parse a string and recover all of the parse trees that correspond to the grammar from the generated parse forest. Heady stuff, I know!
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 →
dependabot-bot: Automatically Merge PRs From Dependabot When They Meet Certain Criteria
trustme: TLS Certs for the Discerning Tester
sdf: Simple SDF Mesh Generation in Python
Spokestack: Library for Voice Applications
GITHUB.COM/SPOKESTACK • Shared by Will Rice
NAVis: Neuron Analysis and Visualization
GITHUB.COM/SCHLEGELP • Shared by Philipp Schlegel
geovoronoi: Create and Plot Voronoi Regions Inside Geographic Areas
GITHUB.COM/WZBSOCIALSCIENCECENTER • Shared by Markus Konrad