Sudoko in Packaging, Thread Safety, Sigstore, and More

#653 – OCTOBER 29, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Sudoku in Python Packaging
Simon writes about a Soduku solver written by Konstin that uses the Python packaging mechanisms to do Soduku puzzles. The results are output using a requirements.txt file, where soduku-0-3==5 represents the (0,3) cell’s answer of 5.
SIMON WILLISON

Python Thread Safety: Using a Lock and Other Techniques
In this tutorial, you’ll learn about the issues that can occur when your code is run in a multithreaded environment. Then you’ll explore the various synchronization primitives available in Python’s threading module, such as locks, which help you make your code safe.
REAL PYTHON

OpenAPI Python SDK Creation: Speakeasy vs Open Source
Open-source OpenAPI generators are great for experimentation and hobby projects but lack the reliability, performance, and intuitive developer experience required for critical applications. Speakeasy creates idiomatic SDKs that meet the bar for enterprise use. Check out this comparison guide →
SPEAKEASYsponsor

Python and Sigstore
PEP 761 proposes removing PGP signatures from CPython artifacts and solely relying on Sigstore. But just what is Sigstore? This post explains how CPython gets signed and why Sigstore is a good choice.
SETH LARSON

PSF Fellow Members for Q2 2024!
PYTHON SOFTWARE FOUNDATION

Quiz: Thread Safety: Using a Lock and Other Techniques
REAL PYTHON

Quiz: Python Closures: Common Use Cases and Examples
REAL PYTHON


Discussions


Ideas: Multi-String Replacement Using a Dictionary
PYTHON.ORG

Python LTS and Maintenance Cycles
PYTHON.ORG


Articles & Tutorials


Introducing the New Starter Kit for Wagtail CMS
Currently, if you want to play around with Wagtail, most people try the Bakery Demo test site, but it is not meant to be a starter site. They’ve created a new starter template that provides you with a high-performance, production-grade Wagtail site. This introduces you to it.
JAKE HOWARD • Shared by Meagen Voss

Understanding Python’s Global Interpreter Lock (GIL)
Python’s Global Interpreter Lock or GIL, in simple words, is a mutex (or a lock) that allows only one thread to hold the control of the Python interpreter at any one time. In this video course you’ll learn how the GIL affects the performance of your Python programs.
REAL PYTHON course

Write Code as if Failure Doesn’t Exist
“With Temporal, we…regularly reduced lines of code from 300 to 30.” -DigitalOcean. Ever wish you could eliminate recovery logic, callbacks, and timers? Temporal’s open source programming model allows you to stop plumbing and start focusing on what matters: building awesome features. Check it out now →
TEMPORAL TECHNOLOGIESsponsor

Python and SysV Shared Memory
At work, Adriaan deals with code that interfaces with Unix SysV’s shared memory components. For convenience he wanted to get at this from Python, and “because work”, from Python 3.7. This post talks about how he solved the problem.
ADRIAAN DE GROOT

Python 3.13, What Didn’t Make the Headlines
Bite Code summarizes some of the lesser covered changes to Python in the 3.13 release, including how some of the REPL improvements made it into pdb, improvements to shutil, and small additions to the asyncio library.
BITE CODE!

Django and HTMX Tutorial: Easier Web Development
This tutorial explores how the htmx library can bring dynamic functionality, like lazy loading, search-as-you-type, and infinite scroll to your Django project with almost no JavaScript necessary.
PYCHARM CHANNEL video

Python 3.12 vs 3.13: Performance Testing
This post shows the results of a performance comparison between Python 3.12 and 3.13 on two different processors. TL;DR: Python 3.13 is faster, but there are a couple of hairy edge cases.
WŁODZIMIERZ LEWONIEWSKI

Software Engineer Titles Have (Almost) Lost All Their Meaning
This post examines the devaluation of software engineer titles and its impact on the integrity of the tech industry.
TREVOR LASN

PyData Amsterdam 2024 Talks
This is a listing of the recorded talks from PyData Amsterdam.
YOUTUBE video


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 →

Encode Numbers Into Words and Decode It Back
GITHUB.COM/NIKDEDOV • Shared by Nikolai

Scrapling: Lightning-Fast, Adaptive Web Scraping for Python
GITHUB.COM/D4VINCI • Shared by Karim Shoair

otterwiki: A Minimalistic Wiki Powered by Python
GITHUB.COM/REDIMP

msgspec: Fast Serialization and Validation Library
JCRISTHARIF.COM

beartype: Bare Metal Type Checker
BEARTYPE.READTHEDOCS.IO

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
October 30, 2024

PyCon FR 2024
October 31 to November 3, 2024

PyCon Zimbabwe
October 31 to November 3, 2024

SPb Python Drinkup
October 31, 2024

PyDelhi User Group Meetup
November 2, 2024

Melbourne Python Users Group, Australia
November 4, 2024
Happy Pythoning!
Copyright © 2024 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

Unlock Python's Pattern Matching, Combinatoric Iterators, SSH Scripting, and More

Tuesday, October 22, 2024

Structural Pattern Matching in Python #652 – OCTOBER 22, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Structural Pattern Matching in Python In this tutorial, you'll learn how to harness the

Lots of PEPs, More Py3.13, HPy, and More

Sunday, October 20, 2024

Exploring the New Features of Python 3.13 #651 – OCTOBER 15, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring the New Features of Python 3.13 Python 3.13 is here! Our regular guests, Geir

Immutable Types, DuckDB & Pyodide, Free Threaded, and More

Tuesday, October 8, 2024

Differences Between Python's Mutable and Immutable Types #650 – OCTOBER 8, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Differences Between Python's Mutable and Immutable Types In this

Python 3.13, pdb, Django Project Ideas, and More

Tuesday, October 1, 2024

Python 3.13: Cool New Features for You to Try #649 – OCTOBER 1, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.13: Cool New Features for You to Try In this tutorial, you'll learn about

Python 3.13, Rust Extensions, doctest, and More

Tuesday, September 24, 2024

Python 3.13 Preview: Free Threading and a JIT Compiler #648 – SEPTEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.13 Preview: Free Threading and a JIT Compiler Get a sneak peek at

You Might Also Like

Want to earn easy money? Join Wynter.

Monday, January 6, 2025

Get paid to participate in research studies, customer interviews, and product demos. It's a way for you to give back to the community while having a low-key side hustle. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1660 [Hard]

Monday, January 6, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Adobe. You are given a tree with an even number of nodes. Consider each connection

🐧 2025 Won't Be the Year of the Linux Desktop — Everything Apple Could Release This Year

Monday, January 6, 2025

Also: Why I Switched to macOS After Two Decades, and More! How-To Geek Logo January 6, 2025 Did You Know The "root" in root beer is literal. The original recipes for root beer used the root

Welcome to 2025 & How to get good at anything creative

Monday, January 6, 2025

Polywork shutting down, the end of news, a year of curiosity, and a lot more in this week's issue of Creativerly. Creativerly Welcome to 2025 & How to get good at anything creative By Philipp

Infographic | The Global Semiconductor Industry, in One Giant Chart 📊

Monday, January 6, 2025

American companies account for 71.5% of the semiconductor industry's global market cap, despite most chips being manufactured elsewhere. View Online | Subscribe Presented by: Non-consensus

Spyglass Dispatch: Cutting Checks, Bending Knees & Kissing Rings

Monday, January 6, 2025

Sam Altman Reflects on a Chaotic Couple Years • 2025 Golden Globes • AI TVs • Uber & Lyft + Robotaxis • Thoughts on Dune: Prophecy The Spyglass Dispatch is a newsletter sent on weekdays featuring

I saw Samsung's 8K TVs at CES 2025

Monday, January 6, 2025

🛜 My off-grid internet solution; Wi-Fi 8; AI PCs; iOS 18.2 problems -- ZDNET ZDNET Tech Today - US January 6, 2025 Samsung Neo QLED 8K TV at CES I saw Samsung's 8K TV at CES 2025 - and these 3 new

GCP Newsletter #432

Monday, January 6, 2025

Welcome to issue #432 January 6th, 2025 News AI Official Blog Public Sector A Look Back at the AI Innovations Transforming the Public Sector - In 2024, Google AI made significant advancements in

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips [6 Jan]

Monday, January 6, 2025

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News Every tap, click, and swipe we make online shapes our digital lives, but it also opens doors—some we never meant to

🚀 Ready to Level Up Your Cloud, 🤖 AI and DevOps Skills?

Monday, January 6, 2025

Access top-tier courses and labs right now! Hey there, Are you still wrestling with cloud deployments, AI integrations, or DevOps workflows? Maybe you're spending hours troubleshooting, or worse –