| 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.
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 →
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 3.11.3, Python 3.10.11 and 3.12.0 Alpha 7 Released
Programmer Interrupted: The Cost of Context Switching
Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE
More Python Jobs >>>
Articles & Tutorials
“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.”
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.
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 →
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.
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.”
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.
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.
Time Travel With
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.
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.
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.
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
data-morph: Morph Datasets, Preserving Summary Stats
GITHUB.COM/STEFMOLIN • Shared by Stefanie Molin
langchain: Building Apps With LLMs Through Composability
Full-Body Keyboard Using OpenCV and Mediapipe
GITHUB.COM/EVERYTHINGISHACKED • Shared by Fletcher Heisler
text2room: Generate Textured 3D Meshes From a Text Prompt