#556 – DECEMBER 20, 2022
View in Browser »
Using a Build System & Continuous Integration in Python
What advantages can a build system provide for a Python developer? What new skills are required when working with a team of developers? This week on the show, Benjy Weinberger from Toolchain is here to discuss the Pants build system and getting started with continuous integration (CI).
REAL PYTHONpodcast
PEP 701: Syntactic Formalization of F-Strings
This Python Enhancement Proposal describes the formalization of a grammar for f-strings, allowing a reduction in the underlying parser code complexity and providing future features like comments in multi-line f-strings.
PYTHON.ORG
TelemetryHub by Scout APM, A One-Step Solution for Open-Telemetry
Imagine a world where you could see all of your logs, metrics, and tracing data in one place. We’ve built TelemetryHub to be the simplest observability tool on the market. We supply peace of mind by providing an intuitive user experience that allows you to easily monitor your application →
SCOUT APMsponsor
Running Python Inside ChatGPT
Did you know that ChatGPT knows Python? It knows Python so well, you can even run a Python REPL inside ChatGPT and it supports non-trivial features like decorators, properties, and asynchronous programming.
RODRIGO GIRÃO SERRÃO• Shared by Rodrigo Girão Serrão
Discussions
Articles & Tutorials
Python Magic Methods You Might Not Have Heard About
Python classes support operations through the definition of magic methods, also known as dunder-methods. To enable to support for len()
, you define __len__()
on your class. There are many Python magic methods, read on to learn about some of the less common ones.
MARTIN HEINZ• Shared by Martin Heinz
Finding JIT Optimizer Bugs Using SMT Solvers and Fuzzing
Finding bugs can be a challenging exercise, but when your code is a Just-In-Time compiler, your bugs create bugs for other people. PyPy has recently added new techniques to find errors in the JIT optimizer. Dive deep into Z3 theory and using fuzzing to find errors.
PYPY.ORG
Connect, Integrate & Automate Your Data - From Python or Any Other Application
At CData, we simplify connectivity between the application and 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 →
CDATA SOFTWAREsponsor
Testing AWS Chalice Applications
“AWS Chalice is a Python-based web micro-framework that leverages on the AWS Lambda and API Gateway services. It is used to create serverless applications.” Learn how to write unit and integration tests in the AWS Chalice space.
AUTH0.COM• Shared by Robertino
8 Levels of Using Type Hints in Python
This article introduces the reader to eight separate levels of type-hint use in Python, starting with annotating basic data types and going all the way up to compound and types for classes.
YANG ZHOU
Concurrency in Python With FastAPI
FastAPI is an asyncio
friendly library, which means you can dive deep into your concurrency needs. This article shows you how to get high performance out of FastAPI using co-routines.
HORACE GUY
Django Domain-Driven Design Guide
“This style guide combines domain-driven design principles and Django’s apps pattern to provide a pragmatic guide for developing scalable API services with the Django web framework.”
PHALT.GITHUB.IO
Summary of Guido van Rossum Interview
In case you missed the three hour interview by Lex Fridman, or decided that it was a bit too long, this article summarizes key points.
DAVID CASSEL
Context Managers and Python’s with
Statement
In this video course, you’ll learn what the Python with
statement is and how to use it with existing context managers. You’ll also learn how to create your own context managers.
REAL PYTHONcourse
What I Learned From Pairing by Default
Eve recently worked on a client site where pair programming was the default. She outlines the pros and cons of her experience and what she learned.
EVE RAGINS
How to Use Async Python Correctly
See some common mistakes when writing Python Async and learn how to avoid them to increase your code’s performance.
GUI LATROVA• Shared by Gui Latrova
Projects & Code
Events
Python Web Conf 2023 (Virtual)
March 13 to March 17, 2023
PYTHONWEBCONF.COM
An Introduction to Model Drift
December 21, 2022
MEETUP.COM
Weekly Real Python Office Hours Q&A (Virtual)
December 21, 2022
REALPYTHON.COM
Heidelberg Python Meetup
December 21, 2022
MEETUP.COM
XtremePython 2022
December 27 to December 28, 2022
XTREMEPYTHON.DEV
Happy Pythoning!
This was PyCoder’s Weekly Issue #556.
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 ]