Site icon GIXtools

Issue #572 (April 11, 2023)

#572 – APRIL 11, 2023

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 SOFTWARE sponsor

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) (Anywhere)

Close

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 →
COURIER sponsor

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 DATA sponsor

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

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

Events

Santa Cruz Python Meetup

April 12, 2023
MEETUP.COM

Weekly Real Python Office Hours Q&A (Virtual)

April 12, 2023
REALPYTHON.COM

pyCologne User Group Treffen

April 12, 2023
MEETUP.COM

Python North East

April 12, 2023
PYTHONNORTHEAST.COM

Python Atlanta

April 13, 2023
MEETUP.COM

Python Education Summit Kigali

April 14 to April 16, 2023
AFRODJANGOINITIATIVES.ORG

PyCon DE & PyData Berlin 2023

April 17 to April 20, 2023
PYCON.DE

PyCon US 2023

April 19 to April 28, 2023
PYCON.ORG

Happy Pythoning!
This was PyCoder’s Weekly Issue #572.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s

Exit mobile version