#603 – NOVEMBER 14, 2023
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.
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.
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 →
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.
PSF Receives “Wonderfully Welcoming Award” From GitHub!
PYTHON SOFTWARE FOUNDATION
Idea: Return a NamedTuple
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.
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.
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.
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
UniqueConstraint classes in Django.
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.
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.
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.
Everything You Can Do With Python’s
Learn how to optimize search and keep your data sorted in Python with the
MARTIN HEINZ • Shared by Martin Heinz
Projects & Code
uapi: Microframework for HTTP APIs
queryish: Data Queries Following Django’s QuerySet API
grablinks: Extract Links From a Remote HTML Resource
Bottle: Lightweight WSGI Micro Web Framework
FunASR: Speech Recognition Toolkit
Weekly Real Python Office Hours Q&A (Virtual)
November 15, 2023
PyData Bristol Meetup
November 16, 2023
PyData Karlsruhe #8
November 16, 2023
November 16, 2023
Hamburg Python Pizza
November 17 to November 18, 2023
PyCon ID 2023
November 18 to November 20, 2023
PyCon Chile 2023
November 24 to November 27, 2023
This was PyCoder’s Weekly Issue #603.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]