Python 3.13, Rust Extensions, doctest, and More

#648 – SEPTEMBER 24, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python 3.13 Preview: Free Threading and a JIT Compiler
Get a sneak peek at the upcoming features in Python 3.13 aimed at enhancing performance. In this tutorial, you’ll make a custom Python build with Docker to enable free threading and an experimental JIT compiler. Along the way, you’ll learn how these features affect the language’s ecosystem.
REAL PYTHON

Let’s Build and Optimize a Rust Extension for Python
Python code too slow? You can quickly create a Rust extension to speed it up. This post shows you how to re-implement some Python code as Rust, connect the Rust to Python, and optimize the Rust for even further performance improvements.
ITAMAR TURNER-TRAURING

Join John Hammond & Daniel Miessler at DevSecCon 2024
Snyk is thrilled to announce DevSecCon 2024, Developing AI Trust Oct 8-9, a FREE virtual summit designed for DevOps, developer and security pros of all levels. Hear from industry pros John Hammond & Daniel Miessler for some practical tips on devsecops approach to secure development. Save our spot →
SNYK.IOsponsor

Document Intended Usage Through Tests With doctest
This post covers Python’s doctest which allows you to write tests within your code’s docstrings. This does two things: it gives you tests, but it also documents how your code can be used.
JUHA-MATTI SANTALA

Quiz: Python 3.13: Free-Threading and a JIT Compiler
REAL PYTHON

Quiz: Lists vs Tuples in Python
REAL PYTHON


Articles & Tutorials


Customizing VS Code Through Color Themes
A well-designed coding environment enhances your focus and productivity and makes coding sessions more enjoyable. In this Code Conversation, your instructor Philipp Ascany will guide you step-by-step through the process of finding, installing, and adjusting color themes in VS Code.
REAL PYTHON course

Thriving as a Developer With ADHD
What are strategies for being a productive developer with ADHD? How can you help your team members with ADHD to succeed and complete projects? This week on the show, we speak with Chris Ferdinandi about his website and podcast “ADHD For the Win!”
REAL PYTHON podcast

Build AI Apps with More Flexibility for the Edge
Intel makes it easy to develop AI applications on open frameworks and libraries. Seamlessly integrate into an open ecosystem and build AI solutions with more flexibility and choice. Explore the possibilities available with Intel’s OpenVINO toolkit →
INTEL CORPORATIONsponsor

Things I’ve Learned Serving on the Board of the PSF
Simon has been on the Python Software Foundation Board for two years now and has recently returned from a board retreat. This post talks about what he has learned along the way, including just what does the PSF do, PyPI, PyCons, and more.
SIMON WILLISON

Goodhart’s Law in Software Engineering
Goodhart’s law states: “When a measure becomes a target, it ceases to be a good measure.” Whether that’s test coverage, cyclomatic complexity, or code performance, all metrics are proxies and proxies can be gamed.
HILLEL WAYNE

AI-Extracted Asian Building Footprints
This post covers how Mark did a deep dive on a large dataset covering building footprints in Asia. He uses a variety of tools including duckdb and the multiprocessing module in Python.
MARK LITWINTSCHIK

Why We Wrote a New Form Library for Django
“Django comes with a form library, and yet we wrote a total replacement library… Django forms were fundamentally not usable for what we wanted to do.”
KODARE.NET

Case-Insensitive String Class
This article shows how you can create a case-insensitive string class using some basic meta programming with the dunder method __new__.
RODRIGO GIRÃO SERRÃO

7 Ways to Use Jupyter Notebooks Inside PyCharm
Discover seven ways you can use Jupyter notebooks in PyCharm to explore and work with your data more quickly and effectively.
HELEN SCOTT

Unified Python Packaging With uv
Talk Python interviews Charlie Marsh, the maintainer of ruff, and they talk about uv and other projects at Astral.
KENNEDY & MARSH podcast

It’s Time to Stop Using Python 3.8
Python 3.8 will stop getting security updates in November 2024. You really should upgrade!
ITAMAR TURNER-TRAURING


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 →

LightAPI: Lightweight API Framework
GITHUB.COM/IKLOBATO

peepdb: CLI Tool to View Database Tables
GITHUB.COM/EVANGELOSMEKLIS

dante: Zero-Setup Document Store for Python
GITHUB.COM/SENKO

cookiecutter-uv: A Modern Template for Python Projects
GITHUB.COM/FPGMAAS • Shared by Florian Maas

Django Content Settings: Advanced Admin Editable Settings
DJANGO-CONTENT-SETTINGS.READTHEDOCS.IO • Shared by oduvan

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
September 25, 2024

PyData Paris 2024
September 25 to September 27, 2024

PiterPy 2024
September 26 to September 27, 2024

PyConf Mini Davao 2024
September 26 to September 27, 2024

PyCon JP 2024
September 27 to September 30, 2024

PyCon Niger 2024
September 28 to September 30, 2024

PyConZA 2024
October 3 to October 5, 2024

PyCon ES 2024
October 4 to October 6, 2024
Happy Pythoning!
Copyright © 2024 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

NumPy where(), Python & R, HTTP Clients, and More

Tuesday, September 17, 2024

How to Use Conditional Expressions With NumPy `where()` #647 – SEPTEMBER 17, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo How to Use Conditional Expressions With NumPy where() This tutorial

Pydantic, PSF Office Hours, Polars, and More

Tuesday, September 10, 2024

Using Pydantic to Simplify Python Data Validation #646 – SEPTEMBER 10, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Using Pydantic to Simplify Python Data Validation Discover the power of

Astronomy, Language Summit, Built-ins, and More

Tuesday, September 3, 2024

Using Astropy for Astronomy With Python #645 – SEPTEMBER 3, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Using Astropy for Astronomy With Python This course covers two problems from introductory

Astrophysics, pyproject.toml, Query Languages, and More

Tuesday, August 27, 2024

Exploring Astrophysics in Python With pandas and Matplotlib #644 – AUGUST 27, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Astrophysics in Python With pandas and Matplotlib This course

Scrapy Extensions, REST APIs, Django Sub-Commands, and More

Tuesday, August 20, 2024

Using a Custom Scrapy Extension to Log to a DB #643 – AUGUST 20, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Using a Custom Scrapy Extension to Log to a DB The Scrapy crawl stat logs are useful

You Might Also Like

JSK Daily for Sep 24, 2024

Tuesday, September 24, 2024

JSK Daily for Sep 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news A Full-Stack Web App Using Angular and GraphQL: Perform Edit, Delete, and Advanced

🫣 Hiding App Names On Your iPhone Home Screen — Password Hints Are a Terrible Idea

Tuesday, September 24, 2024

Also: This Smart Doorbell Doesn't Require a Subscription, and More! How-To Geek Logo September 24, 2024 Did You Know Astronauts in Earth orbit experience up to a three percent increase in height as

A type by any other name would smell as sweet..

Tuesday, September 24, 2024

Plus both WIRED and the ACM take a look at Go, scripting Go with Prolog, and a faster linter for Go code. | #​524 — September 24, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly

Daily Coding Problem: Problem #1566 [Hard]

Tuesday, September 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given a string, find the longest palindromic contiguous substring. If there are

In Our Innovation Era: Seamless Messaging, 77 Language Translations, Tag Search, and More

Tuesday, September 24, 2024

Meet HackerNoon's Latest Features ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌

Software Testing Weekly - Issue 238

Tuesday, September 24, 2024

AI Test Reporter 📊 View on the Web Archives ISSUE 238 September 24th 2024 COMMENT Welcome to the 238th issue! I've just stumbled upon AI Test Reporter. It's an open-source library created by

Marzipan

Tuesday, September 24, 2024

AI's Call to Arms, AI's American Front, AI's Audible Augmentation Marzipan AI's Call to Arms, AI's American Front, AI's Audible Augmentation By MG Siegler • 24 Sept 2024 View in

Charted | The Growth in Working Age Populations Over the Next 10 Years 🌎

Tuesday, September 24, 2024

Nearly half of the world's major economies are projected to see their working age population decline over the next decade. View Online | Subscribe | Download Our App Presented by: Find the

Meet Wellfound: HackerNoon Company of the Week

Tuesday, September 24, 2024

Top Tech Content sent at Noon! A dev conference with discussions, workshops, and 1:1 feedback sessions Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today