Python 3.12 Error Messages, Monorepos, Effective Packaging, and More

#572 – APRIL 11, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python 3.12 Preview: Ever Better Error Messages
Python 3.12 will be released in October 2023. In this tutorial, you’ll preview one of its upcoming features: even more precise error messages that’ll help you debug your code more efficiently.
REAL PYTHON

Python Monorepo: An Example. Part 1: Structure and Tooling
Good build systems help teams, and a monorepo approach is an excellent way to do that. This article describes the structure and tooling of a monorepo for Python projects.
DESFORGES & HURLIN

All of Your Data, from Python or Any Other Application, in Real-Time
CData simplifies connectivity to the data sources that power business, making it easier to unlock the value of data. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise or cloud databases, SaaS, APIs, NoSQL, and Big Data. Learn more at cdata.com →
CDATA SOFTWAREsponsor

Python Packaging and Effective Developer Tooling
Dane Hillard, author of “Publishing Python Packages” is interviewed about packaging and the rich ecosystem of Python tooling.
HILLARD, SEQUEIRA, & BELDERBOS podcast

PEP 684: “A Per-Interpreter GIL” Accepted
PYTHON.ORG

Python 3.11.3, Python 3.10.11 and 3.12.0 Alpha 7 Released
PYTHON.ORG


Discussions


Programmer Interrupted: The Cost of Context Switching
HACKER NEWS


Python Jobs


Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


Syntactic Sugar
“In computer science, syntactic sugar is syntax within a programming language that is designed to make things easier to read or to express. It makes the language ‘sweeter’ for human use: things can be expressed more clearly, more concisely, or in an alternative style that some may prefer.”
BRETT CANNON

Python’s del: Remove References From Scopes and Containers
In this tutorial, you’ll learn how Python’s del statement works and how to use it in your code. This statement will allow you to remove references from different scopes, items from lists, keys from dictionaries, and members from classes. This will lead to potentially memory-efficient code.
REAL PYTHON

The New Notification Stack for Python Developers
Get the Python resources you need to build your notifications infrastructure, faster. Everything from code tutorials, to an SDK and docs all in one place. See for yourself →
COURIERsponsor

A Python Implementation of the ReAct Pattern for LLMs
The “ReAct” pattern for Large Language Models defines how to give the model access to the outside world through actions. For example, allowing it to hit Wikipedia to gather more data when asked a question. This article briefly describes some such actions.
SIMON WILLISON

Algebraic Data Types in (Typed) Python
“Algebraic Data Types (not to be confused with abstract data types) can transform certain types of invalid states from runtime errors into type-checking errors, making them an excellent method for representing data and managing state.”
TIN TVRTKOVIĆ

The Different Uses of Python Type Hints
Python type hints can be used in five different ways: interactive programming help, static type checking, runtime behavior determination, documentation, and compiler instructions. Read on to learn more about each case.
LUKE PLANT

Groovy Datasets for Test Databases
When you experiment with a new-to-you data science skill, you need some sort of data to work with. Why be boring? This article talks about several available data sets you can use when you practice your coding skills.
ESTHER SCHINDLER

Time Travel With django-simple-history
Are you tired of manually tracking changes to your Django models? Say hello to django-simple-history! This powerful package allows you to easily keep track of modifications made to your models over time.
MATT LAYMAN

FawltyDeps: A Dependency Checker for Your Python
FawltyDeps is a new tool to help you identify undeclared and unused dependencies in your Python code, making your projects leaner and more reproducible.
HERLAND, EL MAWASS, KNORPS, & REUTER

A Gentle Introduction to the Python Match Statement
Structural pattern matching was first introduced in Python 3.10 and is based on ideas from Scala and other functional languages. Learn how to use it and why in this post.
MATT WRIGHT

From Hell to HTML: Working With Wikimedia Dumps
This article describe the journey of mwparserfromhtml, a tool for dealing with the XML data dumps from Wikimedia.
JOHNSON AND NAZIA TASNIM

Postgres Performance Boost
Dig into our case study on migrating to Crunchy Bridge with easy migration and a big performance increase. Leave the CPU and IOPS struggle behind.
CRUNCHY DATAsponsor

Fun With Vector Databases
Learn about vector databases and embeddings. Covers building a FastAPI layer to semantically query the Enron email dataset.
GARY BAKE • Shared by Gary Bake

An Education Platform With ChatGPT and Django
This tutorial shows how to build an intelligent educational platform using OpenAI’s GPT-3 and Django.
TESTDRIVEN.IO • Shared by Michael Herman


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 →

shedskin: Restricted-Python-to-C++ Compiler
GITHUB.COM/SHEDSKIN

data-morph: Morph Datasets, Preserving Summary Stats
GITHUB.COM/STEFMOLIN • Shared by Stefanie Molin

langchain: Building Apps With LLMs Through Composability
GITHUB.COM/HWCHASE17

Full-Body Keyboard Using OpenCV and Mediapipe
GITHUB.COM/EVERYTHINGISHACKED • Shared by Fletcher Heisler

text2room: Generate Textured 3D Meshes From a Text Prompt
GITHUB.COM/LUKASHOEL

📆🐍 Upcoming Python Events


Santa Cruz Python Meetup
April 12, 2023

Weekly Real Python Office Hours Q&A (Virtual)
April 12, 2023

pyCologne User Group Treffen
April 12, 2023

Python North East
April 12, 2023

Python Atlanta
April 13, 2023

Python Education Summit Kigali
April 14 to April 16, 2023

PyCon DE & PyData Berlin 2023
April 17 to April 20, 2023

PyCon US 2023
April 19 to April 28, 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

Maze Solvers, Conference Talks, Text Processing, and More

Tuesday, April 4, 2023

Build a Maze Solver in Python Using Graphs #571 – APRIL 4, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Build a Maze Solver in Python Using Graphs In this step-by-step project, you'll build a

Lessons Learned, Pydantic, ChatGPT Outage, and More

Tuesday, March 28, 2023

Lessons Learned From Four Years Programming With Python #570 – MARCH 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Lessons Learned From Four Years Programming With Python What are the core

Evaluating Packages, PyTorch 2.0, Lazy Recursion, and More

Tuesday, March 21, 2023

How to Evaluate the Quality of Python Packages #569 – MARCH 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Evaluate the Quality of Python Packages Just like you shouldn't download

BeeWare, Asyncio Overhead, Python & Julia, and More

Tuesday, March 14, 2023

Sharing Your Python App Across Platforms With BeeWare #568 – MARCH 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Sharing Your Python App Across Platforms With BeeWare Are you interested in

Inlined Comprehensions PEP, Iterators, Pandas 2.0, and More

Tuesday, March 7, 2023

PEP 709: Inlined Comprehensions #567 – MARCH 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 709: Inlined Comprehensions Python Enhancement Proposal 709 covers a change to how comprehensions

You Might Also Like

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌