Pythonic Pattern Matching, PyQt vs. PySide, Speeding Up Pandas, and More

#464 – MARCH 16, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Pattern Matching Tutorial for Pythonic Code
Structural pattern matching is coming in Python 3.10. This article explores how to use it to write Pythonic code by searching for some of the best use cases for the match statement. Keep in mind that match is still in alpha, so, while unlikely, some things may still change before the final version of 3.10 is released.
RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão

PyQt6 vs PySide6: What’s the Difference Between the Two Python Qt Libraries?
There is a new version of Qt (version 6) and with it new versions of PyQt and PySide — now named PyQt6 & PySide6 respectively. Take a look at the latest versions of the libraries to identify the differences between them and find solutions for writing portable code.
MARTIN FITZPATRICK

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 that you can push code to production in just a few clicks. Get started w/ $100 free credit →
DIGITAL OCEANsponsor

Build a Contact Book With Python, PyQt, and SQLite
In this step-by-step project, you’ll build a minimal contact book application using Python, with PyQt to build the application’s GUI and SQLite to handle the database.
REAL PYTHON

Rapid Prototyping with Flask, htmx, and Tailwind CSS
Learn how to usee htmx and Tailwind CSS with Flask to quickly build interactive front-ends.
AMAL SHAJI • Shared by Amal Shaji

Mu Version 1.1.0-Beta.2 Released
MADEWITH.MU


Discussions


Why Are tar.xz Files 15x Smaller When Using Python’s Tar Compared to macOS Tar?
HACKER NEWS

How Can You Quickly Get the Last Line of a Huge CSV File With 48 Million Lines?
STACK OVERFLOW


Python Jobs


How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →

Senior Backend Developer (Berlin, Germany)
ORDERBIRD AG

Full-Stack Django Developer (Oslo, Norway)
UNIFAI

Senior Python Engineer (Remote)
EAB

Back End Developer (Remote)
INTERPLAY LEARNING

More Python Jobs >>>


Articles & Tutorials


How to Speed Up Pandas With Modin
The pandas library provides easy-to-use data structures like pandas DataFrames as well as tools for data analysis. One issue with pandas is that it can be slow with large amounts of data. It wasn’t designed for analyzing 100 GB or 1 TB datasets. Fortunately, there is the Modin library which has benefits like the ability to scale your pandas workflows by changing one line of code.
MICHAEL GALARNYK • Shared by Michael Galarnyk

Navigating Options for Deploying Your Python Application
What goes into the decision of how to host your Python code or application in the cloud? Which technology stack is the right size for your project? This week on the show, we have Calvin Hendryx-Parker. Calvin talks about cloud hosting options, infrastructure choices, and deployment tools.
REAL PYTHON podcast

Understand the Architecture Around your Python Apps in Containers and Serverless Environments
Epsagon lets dev teams see and understand dependencies and API integrations in microservices architecture. It’s a Microservices Observability SaaS with monitoring and investigative tools to ‘drill-down’ and explore modern workloads. Setup Epsagon and see your python services in minutes →
EPSAGONsponsor

Interfaces and Protocols
Now that Python developers have Mypy and Python’s built-in Protocol, is zope.interface a thing of the past? Can you replace every zope.interface with a Protocol? See how these two approaches to abstract types compare, and when it might make sense to stick with zope.interface.
GLYPH LEFKOWITZ

Python Turns 30: Meet the Man That Helps Keep the Programming Language on Track
Pablo Galindo is a physicist, Python core-dev, and member of the Python steering council. He’s also the release manager for Python 3.10 and 3.11. Learn how he got involved with Python and read about his thoughts on the role of the steering council and Python’s future.
MAYANK SHARMA

RSVP for the 3rd Annual Python Web Conference (Virtual) | March 22-26, 2021
International experts share best practices for hard Python problems. 50+ talks on Machine Learning, AI, Big Data, Django, Plone, CI/CD, Containers, Serverless, web security, etc. Join JetBrains and Six Feet Up to discuss what the future holds.
SIX FEET UPsponsor

Python Booleans: Leveraging the Values of Truth
Learn about the built-in Python Boolean data type, which is used to represent the truth value of an expression. You’ll see how to use Booleans to compare values, check for identity and membership, and control the flow of your programs with conditionals.
REAL PYTHON course

Performance Comparison: Counting Words in Python, Go, C++, C, AWK, Forth, and Rust
This article is less of a “my language is better than your” rant and more of an exploration into what idiomatic vs. optimized code looks like in various languages and where surprising bottlenecks lurk.
BEN HOYT

Announcing Beanie: An Asynchronous MongoDB ODM
Beanie is a new asynchronous Python ODM (Object Document Mappter) for MongoDB based on Motor and Pydantic. Learn how Beanie’s data model works and see it in action in a minimal web application.
ROMAN

Python Community Interview With Ewa Jodlowska
Learn how Ewa Jodlowska, the executive director of the Python Software Foundation (PSF), started her tech journey and how COVID-19 affected the PSF and plans for PyCon US 2021.
REAL PYTHON


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 →

lucid-sonic-dreams: Sync GAN-generated Visuals to Music
GITHUB.COM/MIKAELALAFRIZ

python-fpe: Format Preserving Encryption Implementation in Python
GITHUB.COM/MYSTO

Hyperactive: A Hyperparameter Optimization and Data Collection Toolbox
GITHUB.COM/SIMONBLANKE

playback: Record Your Service Operations in Production and Replay Them Locally
GITHUB.COM/OPTIBUS

beanie: Micro ODM for MongoDB
GITHUB.COM/ROMAN-RIGHT

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) March 17, 2020

⋅ Python Web Conference 2021 March 22 to March 27, 2021

⋅ An Introduction to Delivering Technical Presentations With Confidence March 25, 2021

⋅ PyCon Israel 2021 (Virtual) May 2 – 3, 2021

⋅ PyCon 2021 (Virtual) May 12 – 18, 2021

⋅ DjangoCon Europe 2021 (Virtual) June 2 – 6, 2021

⋅ PyCon Cameroon 2021 March 18 to March 21, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Poison Packages on PyPI, Python Synthesizers, Monoliths to Managed Architecture, and More

Tuesday, March 9, 2021

Poison Packages: User Hits Python Community With 4000 Fake Modules #463 – MARCH 9, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Poison Packages: User Hits Python Community With 4000 Fake Modules

SemVer Won't Save You, Python Flies on Mars, Automated TPS Reports, and More

Tuesday, March 2, 2021

Semantic Versioning Will Not Save You #462 – MARCH 2, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Semantic Versioning Will Not Save You Semantic versioning aims to both communicate the version

Python Turns 30, Concurrency is Tricky, You Should Upgrade pip, and More

Tuesday, February 23, 2021

Python Concurrency: The Tricky Bits #461 – FEBRUARY 23, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Concurrency: The Tricky Bits An exploration of threads, processes, and coroutines in

match/case, Mutable Python Strings, Cleaning Text With Pandas, and More

Tuesday, February 16, 2021

PEP 634: Structural Pattern Matching (`match`/`case`) #460 – FEBRUARY 16, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 634: Structural Pattern Matching ( match / case ) A few links related to

Python Integers Deep Dive, Friendly Tracebacks, Property-Based Testing, and More

Tuesday, February 9, 2021

How Python Integers Work #459 – FEBRUARY 9, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo How Python Integers Work Python's integer datatype is pretty different from most other languages

You Might Also Like

New Blogs on ThomasMaurer.ch for 02/18/2025

Thursday, February 27, 2025

View this email in your browser Thomas Maurer Cloud & Datacenter Update This is the update for blog posts on ThomasMaurer.ch. Arc Jumpstart Drops: Share your Scripts and Tools with the Community!

The USB That’s Wasn’t 🖱️

Thursday, February 27, 2025

A forgotten universal port standard that secretly survives. Here's a version for your browser. Hunting for the end of the long tail • February 17, 2025 Today in Tedium: If you know your tech

📧 Understanding Cursor Pagination and Why It's So Fast (Deep Dive)

Thursday, February 27, 2025

​ Understanding Cursor Pagination and Why It's So Fast (Deep Dive) Read on: m​y website / Read time: 11 minutes The .NET Weekly is brought to you by: Build better with AWS, using tips and tools

Re: Are you tired of the spam?

Thursday, February 27, 2025

Hey there, Are you as tired of spam as I am? If you're like me, you always mark unwanted emails as spam, unsubscribe from unsolicited texts, and block unknown callers... But the spam doesn't

📡 Improving Your Cell Signal at Home — What Came Before Windows?

Thursday, February 27, 2025

Also: How I Fixed My Living Room Having Way Too Many Remotes How-To Geek Logo February 27, 2025 Did You Know Lampworking is a form of glasswork in which the craftsperson uses a blowtorch instead of the

Power BI Weekly #296 - 18th February 2025

Thursday, February 27, 2025

Power BI Weekly Newsletter Issue #296 powered by endjin Welcome to the 296th edition of Power BI Weekly! One official article coming from the Fabric blog this week is an explainer around How can I

The Sequence Knowledge #492: RAG-Fusion is Better than Just RAG

Thursday, February 27, 2025

Understanding the principles of RAG-fusion techniques. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Tackle Your Credit Card Debt With 0% Interest Until Nearly 2027 and 5% Cash Back

Thursday, February 27, 2025

iPhoneLife Logo Sponsored email sent by iPhone Life Tackle Your Credit Card Debt With 0% Interest Until Nearly 2027 and 5% Cash Back Did you know some credit cards can actually help you get out of debt

New Xerox Printer Flaws Could Let Attackers Capture Windows Active Directory Credentials

Thursday, February 27, 2025

THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ Building Resilient Identity: Reducing Security Debt in 2025 Attacks Evolve, So Can Your Defenses--Learn How to Mitigate Risk and Optimize Identity

Post from Syncfusion Blogs on 02/18/2025

Thursday, February 27, 2025

New blogs from Syncfusion ® Pie Chart Best Practices: How to Visualize Data Effectively By Ilamathi Govindaraj Discover best practices for creating clear and impactful Pie Charts, including data