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

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,

GCP Newsletter #430

Monday, December 23, 2024

Welcome to issue #430 December 23rd, 2024 News Event Official Blog Calling all devs: Code the future of baseball with Google Cloud and MLB - Google Cloud and MLB are hosting a hackathon where

⏯️ Make a Holiday Guest Profile for Your Streaming Services — What Is Linux Mint?

Monday, December 23, 2024

Also: I Played the Worst Mobile Games So You Don't Have To, and More! How-To Geek Logo December 23, 2024 Did You Know The giant splashes of color that make poinsettias a popular holiday decoration

Ranked | The Most Satisfying vs. Most Reliable Car Brands in 2024 🚙

Monday, December 23, 2024

The most reliable car brands are rarely the most satisfying to own, according to recent Consumer Reports survey data. View Online | Subscribe | Download Our App Presented by: Find the megatrends

Bitcoin Enthusiasts Are Letting Altcoins Pass by

Monday, December 23, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 23, 2024? The

Last Minute Gifts from Walmart

Monday, December 23, 2024

ZDNET ZDNET Sponsored Message In Partnership with Walmart December 23, 2024 exclusive offer Walmart Last-minute gifts from Walmart Shop Now Walmart The tech you've been wishing for–at everyday low

15 ways AI saved me weeks of work in 2024

Monday, December 23, 2024

ZDNET's product of the year; Windows 11 24H2 bug list updated -- ZDNET ZDNET Tech Today - US December 23, 2024 AI applications on various devices. 15 surprising ways I used AI to save me weeks of

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌