| | 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
| | | | | |
|