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

The Race for AI Reasoning is Challenging our Imagination

Sunday, December 22, 2024

New reasoning models from Google and OpenAI ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

ScienceDaily/Minimalist lamp/Avocado tip

Sunday, December 22, 2024

Recomendo - issue #442 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Laravel VS Code Extension, Laravel 11.36, Wirechat, and more! - №544

Sunday, December 22, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Kotlin Weekly #438

Sunday, December 22, 2024

ISSUE #438 22nd of December 2024 Announcements klibs.io JetBrains has introduced the alpha version of klibs.io – a web service that speeds up and simplifies discovering KMP libraries that best meet

Weekend Reading — Happy "That's a January Problem" week

Saturday, December 21, 2024

Can Christmas season start a little earlier this year Tech Stuff Ramsey Nasser fuck it happened i am in a situation where i do actually need to reverse a linked list Atuin I just learned about Atuin

Daily Coding Problem: Problem #1644 [Easy]

Saturday, December 21, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by IBM. Given an integer, find the next permutation of it in absolute order. For example,

🐧 Whatever Happened to Unix Workstations? — My Incredibly Cheap Alternative to a Soundbar

Saturday, December 21, 2024

Also: Here's Why More Games Need Expanded Difficulty Settings How-To Geek Logo December 21, 2024 Did You Know Lake Wendouree, an artificially created and maintained shallow urban lake in Australia,

Supercharge Your Knowledge Capture Workflow with the Obsidian Web Clipper

Saturday, December 21, 2024

Stop juggling multiple tools and supercharge your knowledge capture workflow with Obsidian's powerful Web Clipper browser extension Sébastien Dubois DeveloPassion's Newsletter Supercharge Your

Charted | The World's Most Valuable Automakers 🚙

Saturday, December 21, 2024

Tesla shares reached a record high, setting a new valuation milestone. This graphic highlights the world's most valuable automakers by market cap. View Online | Subscribe | Download Our App

Next Holiday Season, Ignore Everyone Except One Customer

Saturday, December 21, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 21, 2024? The