| | SciPy Builds on Windows Are a Minor Miracle Moving SciPy to Meson meant finding a different Fortran compiler on Windows, which was particularly tricky to pull off for conda-forge. This blog tells the story about how things looked pretty grim for the Python 3.12 release, and how things ended up working out just in the nick of time. Associated HN discussion. ALEX OBERMEIER
An Unbiased Evaluation of Environment and Packaging Tools This detailed article covers the wide world of packaging in Python, how the different tools overlap, and how each has its own area of specialization. A great deep dive on all the choices out there that can help you pick the right tool for your project. ANNA-LENA POPKES
Automate LLM Backend Deployments Using Infrastructure as Code New GitHub project to provision, update, and destroy the cloud infrastructure for a LLM backend using infrastructure as code (Python). Deployment options include deploying Hugging Face models to Docker (local), Runpod, and Azure → PULUMIsponsor
Document Your Python Code and Projects With ChatGPT Good documentation is a critical feature of any successful Python project. In practice, writing documentation is hard and can take a lot of time and effort. Nowadays, with tools like ChatGPT, you can quickly document your Python code and projects. REAL PYTHON
PSF Receives “Wonderfully Welcoming Award” From GitHub! PYTHON SOFTWARE FOUNDATION
Discussions Idea: Return a NamedTuple PYTHON.ORG
Articles & Tutorials Python Errors as Values Error handling can be done in a variety of ways, and this article discusses why one organization decided to use returned error values instead of exceptions. Along the way, you’ll see comparisons between Python, Go, and Rust to better understand the different mechanisms. AARON HARPER
Guide to Hash Tables in Python Hash tables offer an efficient and flexible method of storing and retrieving data, making them indispensable for tasks involving large data sets or requiring rapid access to stored items. Python’s dict is a hash, learn how it works and how it can help your code. DIMITRIJE STAMENIC
Confusing git Terminology Julia is working on a doc that explains git and in doing so polled some people about what git terminology they found confusing. This post covers the most common responses and attempts to clear up the confusion. JULIA EVANS
Check if a Python String Contains a Substring In this video course, you’ll learn the best way to check whether a Python string contains a substring. You’ll also learn about idiomatic ways to inspect the substring further, match substrings with conditions using regular expressions, and search for substrings in pandas. REAL PYTHON course
Building a Python Compiler and Interpreter This article starts the journey of building a compiler and interpreter for the Python programming language, in Python. You’ll learn all about tokenizing, parsing, compiling, and interpreting. RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão
TIL: Django Constraints Constraints in Django allow you to further restrict how data is managed in the database. This quick post covers how to use the CheckConstraint and UniqueConstraint classes in Django. SARAH ABDEREMANE
PEP 733: An Evaluation of Python’s Public C API This is an informational PEP describing the shared public view of the C API in Python. It talks about why the C API exists, who the stakeholders are, and problems with the interface. PYTHON.ORG
What Stage Startup Offers the Best Risk-Reward Tradeoff? A deep dive on the success rate statistics of startups in the US with analysis on what joining at different stages means to a stock package payout. BILLY GALLAGHER
Let’s Make a Silly JSON-like Parser This article goes into deep detail on how you would construct a JSON parser in Python. If you’re new to parsing, this is a great place to start. ARUN MANI J
Rust vs. Go, Java, and Python in AWS Lambda Functions A performance comparison of JSON parsing in AWS Lambda functions using Rust, Go, Java, and Python. CLIFF CROSLAND
Everything You Can Do With Python’s bisect Learn how to optimize search and keep your data sorted in Python with the bisect module MARTIN HEINZ • Shared by Martin Heinz
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 → uapi: Microframework for HTTP APIs GITHUB.COM/TINCHE
queryish: Data Queries Following Django’s QuerySet API GITHUB.COM/WAGTAIL
grablinks: Extract Links From a Remote HTML Resource GITHUB.COM/THE-REAL-TOKAI
Bottle: Lightweight WSGI Micro Web Framework BOTTLEPY.ORG
FunASR: Speech Recognition Toolkit GITHUB.COM/ALIBABA-DAMO-ACADEMY
| | | | | |
|