PyCoder - Best of PyCoder's 2022

#557 – DECEMBER 27, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo

It is that time of year again, everybody is making lists. Hopefully you weren’t on the “naughty” one. 2022 has seen a lot of change in tech, from the release of Python 3.11 to the sudden serge in Mastodon use, the world of Python has been busy.

This week’s newsletter is a collection of the most popular articles and projects linked in 2022. Maybe you missed one, maybe you’ve got more time to read something in depth.

Here’s to you, dear reader. Thanks for continuing to be with us at PyCoder’s Weekly. I’m sure 2023 will be just as wild. Speaking of 2023, if you come across something cool next year, an article or a project you think deserves some notice, send it to us and it might end up in a future issue.

Happy Pythoning!

— The PyCoder’s Weekly Team
    Christopher Trudeau, Curator
    Dan Bader, Editor

Python 3.11: Cool New Features for You to Try
Python 3.11 is out! In this article, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.
REAL PYTHON

Python f-Strings Are More Powerful Than You Might Think
Learn about the lesser-known features of Python’s f-strings, including date formatting, variable debugging, nested f-strings, and conditional formatting.
MARTIN HEINZ • Shared by Martin Heinz

TelemetryHub by Scout APM, A One-Step Solution for Open-Telemetry
Imagine a world where you could see all of your logs, metrics, and tracing data in one place. We’ve built TelemetryHub to be the simplest observability tool on the market. We supply peace of mind by providing an intuitive user experience that allows you to easily monitor your application →
SCOUT APMsponsor

Say Goodbye to These Obsolete Python Libraries
It’s time to say goodbye to os.path, random, pytz, namedtuple and many more obsolete Python libraries. Start using the latest and greatest ones instead.
MARTIN HEINZ • Shared by Martin Heinz

Python list vs tuple Comparison
Learn how list and tuple are similar and how they are different, including storage and speed differences and how to choose between them.
CHETAN AMBI

How to Write User-Friendly CLIs in Python
How to write user-friendly Command Line Interface applications and an overview of several of the popular CLI libraries: argparse, Click, Typer, Docopt, and Fire.
XIAOXU GAO

Where Exactly Does Python 3.11 Get Its Speedup?
This deep dive into Python 3.11’s speed-up walks you through nine different optimizations that contribute to the 25% performance improvement in CPython.
BESHR KAYALI

Taipy | The First Open-Source Python Application Builder
Taipy is a new low-code Python package that allows you to create complete Data Science applications, including both graphical visualization, using intuitive low-code programming (Taipy GUI) as well as managing data and execution flow through pipelines and “what-if” scenario management Taipy Core →
TAIPYsponsor

Python’s “Functions” Are Sometimes Classes
Ever use list() or enumerate()? Think of them as functions? They’re not, they’re classes. Sometimes we call classes functions in Python. Why? And what’s a “callable”?
TREY HUNNER

Processing Large JSON Files Without Running Out of Memory
Loading complete JSON files into Python can use too much memory, leading to slowness or crashes. The solution: process JSON data one chunk at a time.
ITAMAR TURNER-TRAURING

Dunder Methods in Python: The Ugliest Awesome Sauce
Double-underscore methods, also known as “dunder methods” or “magic methods” are an ugly way of bringing beauty to your code. Learn about constructors, __repr__, __str__, operator overloading, and getting your classes working with Python functions like len().
JOHN LOCKWOOD

A First Look at PyScript: Python in the Web Browser
In this tutorial, you’ll learn about PyScript, a new framework that allows for running Python in the web browser with few or no code modifications and excellent performance. You’ll leverage browser APIs and JavaScript libraries to build rich, highly interactive web applications with Python.
REAL PYTHON

Build an Alexa Equivalent in Python
It’s not as difficult as you think to build an AI program that listens to speech and answers questions. You can make the magic happen in an afternoon by leveraging a few Python packages and APIs.
ANDREW HERSHY

Connect, Integrate & Automate Your Data - From Python or Any Other Application
At CData, we simplify connectivity between the application and data sources that power business, making it easier to unlock the value of data.
CDATA SOFTWAREsponsor

10 Patterns for Writing Cleaner Python
Cleaner code is more focused, easier to read, easier to debug, and generally easier to maintain. This guide covers ten different patterns Python programmers should apply in their code.
ALEX OMEYER

Just Enough Cython to Be Useful
Cython is a superset of of Python designed to give C-like performance. Ever wanted to learn the basics? This article shows you how to get started.
PETER BAUMGARTNER


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 →

Python Libraries for Cleaner Code
ISAAK UCHAKAEV

Common Python Cheatsheets
GITHUB.COM/AFIZS

awesome-python: Awesome Python Libraries and Resources
GITHUB.COM/VINTA

BeeWare: Write Python, Run Everywhere Using Native UIs
BEEWARE.ORG

Python Graph Gallery: A Collection of Hundreds of Charts Made With Python
PYTHON-GRAPH-GALLERY.COM

Python f-Strings Number Formatting Cheat Sheet
BRIANALLAN

190 Python Projects With Source Code
AMAN KHARWAL

PyFlow: Visual and Modular Block Programing in Python
GITHUB.COM/BYCELIUM

pointers.py: Bringing the Hell of Pointers to Python
GITHUB.COM/ZEROINTENSITY

konsole: Readable, Pleasing Console Output
GITHUB.COM/APPAREBIT • Shared by Robert Grimm

📆🐍 Upcoming Python Events


PyKla Monthly Meetup
December 28, 2022

Heidelberg Python Meetup
December 28, 2022

SPb Python Drinkup
December 29, 2022

PyDelhi User Group Meetup
December 31, 2022

PythOnRio Meetup
December 31, 2022

Weekly Real Python Office Hours Q&A (Virtual)
January 4, 2023
Happy Pythoning!
Copyright © 2022 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

Build Systems, PEP 701, Python in ChatGPT, and More

Tuesday, December 20, 2022

Using a Build System & Continuous Integration in Python #556 – DECEMBER 20, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Using a Build System & Continuous Integration in Python What

Python Through Stories, Parallelism Control, Mastodon Bot on AWS, and More

Tuesday, December 13, 2022

Package Python Code With `pyproject.toml` & Listing Files With `pathlib` #555 – DECEMBER 13, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Package Python Code With pyproject.toml & Listing

Comprehensions, pathlib, Guido Interview, and More

Tuesday, December 6, 2022

Using Python's `pathlib` Module #554 – DECEMBER 6, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Using Python's pathlib Module In this video course, you'll learn how to effectively

Python + Power BI, Parallel Loops, Fast Testing, and More

Tuesday, November 29, 2022

Microsoft Power BI and Python: Two Superpowers Combined #553 – NOVEMBER 29, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Microsoft Power BI and Python: Two Superpowers Combined In this tutorial,

WebAuthn, Mastodon, Python 3.12, and More

Tuesday, November 22, 2022

Moving Projects Away From Passwords With WebAuthn #552 – NOVEMBER 22, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Moving Projects Away From Passwords With WebAuthn What if you didn't have to

You Might Also Like

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many