SciPy Builds, Packaging Tools, Document with ChatGPT, and More

#603 – NOVEMBER 14, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
November 15, 2023

PyData Bristol Meetup
November 16, 2023

PyData Karlsruhe #8
November 16, 2023

PyLadies Dublin
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
Happy Pythoning!
Copyright © 2023 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

Porting from setup.py, Hangman, Timestamp Performance, and More

Tuesday, November 7, 2023

My User Experience Porting Off `setup.py` #602 – NOVEMBER 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo My User Experience Porting Off setup.py It is no secret that packaging in Python is

Ptpython, Ruff Formatter, Lambdas, and More

Tuesday, October 31, 2023

Boost Your Coding Productivity With Ptpython #601 – OCTOBER 31, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Boost Your Coding Productivity With Ptpython Learn how to enhance your Python

FastAPI Middleware, OOP, 3.12 Performance, and More

Tuesday, October 24, 2023

Building Custom Middleware in FastAPI #600 – OCTOBER 24, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Building Custom Middleware in FastAPI Middleware in a web stack framework is able to

Sorting Unicode, Functools, Payments, and More

Thursday, October 19, 2023

How to Sort Unicode Strings Alphabetically in Python #599 – OCTOBER 17, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Sort Unicode Strings Alphabetically in Python In this tutorial, you

Tuples, CLI Tools, 3.12, and More

Tuesday, October 10, 2023

Python's `tuple` Data Type: A Deep Dive With Examples #598 – OCTOBER 10, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python's tuple Data Type: A Deep Dive With Examples In Python, a

You Might Also Like

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.