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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your