#526 – MAY 24, 2022
View in Browser »
Build a URL Shortener With FastAPI and Python
In this step-by-step project, you’ll build an app to create and manage shortened URLs. Your Python URL shortener can receive a full target URL and return a shortened URL. You’ll also use the automatically created documentation of FastAPI to try out your API endpoints.
REAL PYTHON
Contributing to Open Source: rich
#2073
Rodrigo decided he’d start contributing to Open Source and it began by being assigned bug #2073 in the rich
library. This article goes into great detail on environment set up, how he found the bug, and what it took to squish it.
RODRIGO GIRÃO SERRÃO• Shared by Rodrigo Girão Serrão
Optimize Python Code Inefficiencies and Latency With Datadog Application Monitoring
Datadog’s APM generates detailed flame graphs to provide you with deeper insights into code-level performance enabling teams to identify bottlenecks and latency in their Python code. Navigate seamlessly between app traces, logs and metrics to resolve app issues fast. Try Datadog APM free →
DATADOGsponsor
Robotic Water Pistol as Pigeon Deterent
Max built a wifi-equipped water gun to shoot the pigeons on his balcony. It is controlled over the internet by a python script running openCV
reading the camera image from an old iPhone. See all the details.
MAX NAGY
Swiss Python Summit: Early Bird Tickets & Call for Proposals
PYTHON-SUMMIT.CH• Shared by Denis Krienbühl
Discussions
Python Jobs
DevOps Engineer (Ann Arbor, MI, USA)
Academic Innovation Developer (Ann Arbor, MI, USA)
Software Development Lead (Ann Arbor, MI, USA)
Senior Backend Engineer (Anywhere)
Senior Storytelling Framework Engineer - Python (France)
Senior Software Engineer - Python Full Stack (USA)
Gameful Learning Developer (Ann Arbor, MI, USA)
Data & Operations Engineer (Ann Arbor, MI, USA)
Articles & Tutorials
The Real Python Podcast: Protobuf in Python
Would you like a way to send structured serialized data between different platforms and languages? What if the data was self-documenting, could automatically generate Python code, and would validate itself? This week on the show, Liran Haimovitch talks about protocol buffers and communicating with microservices through Remote Procedure Calls (RPC).
REAL PYTHONpodcast
Forget Jupyter, Showcase Your Data with Dashboards
Streamlit can be used as an alternative to Jupyter notebooks for sharing research data. Streamlit is a relatively new library for creating simple web apps and dashboards using just Python. Learn why it might be the right choice for your next data project.
STEF SMEETS• Shared by Stef Smeets
Find Your Next Tech Job Through Hired
Hired has 1000s of companies ranging from startups to Fortune 500s that are actively hiring developers, data scientists, mobile engineers, and more. It’s really simple: create a profile with your skills and preferences for hiring managers to reach you directly. Sign up today →
HIREDsponsor
Tips That May Save You From the Hell of PyYAML
YAML is a data-serialization language that is widely used, but processing YAML, especially using PyYAML can be painful and full of traps. Learn some tips and code snippets that can make your life with PyYAML easier.
XIAO / REORX• Shared by Reorx
Automate All the Boring Kubernetes Operations With Python
Kubernetes has become a de-facto standard in recent years, but many of the tasks in it are repetitive. Learn how to use Python’s Kubernetes Client library to automate all the boring Kubernetes tasks and operations.
MARTIN HEINZ• Shared by Martin Heinz
Pandas Tutor: Using Pyodide to Teach Data Science at Scale
Pandas Tutor is a data science education tool that visualizes how pandas
code transforms dataframes. It was recently ported to Pyodide and this article describes the journey.
LAU & GUO
Using Python Class Constructors
In this video course, you’ll learn how class constructors work in Python. You’ll also explore Python’s instantiation process, which has two main steps: instance creation and instance initialization.
REAL PYTHONcourse
A Dev’s Thoughts on Developer Productivity
Measuring developer productivity is a challenge and often done by those outside the group. This article talks about developer “flow state” and how interruptions disrupt productivity.
BEYANG LIU
Unlock Secret Knowledge From Python Experts for Just $10
Packt’s Spring Sale is on and for a limited period, all eBooks and Videos are only $10. Our Products are available as PDF, ePub, and MP4 files for you to download and keep forever. All the practical content you need - by developers for developers.
PACKT PUBLISHINGsponsor
Adding GraphQL to Your Django App
GraphQL is a powerful mechanism for defining APIs in your web application. Learn about Graphene and Strawberry, two libraries that work with Django to provide GraphQL end points.
PATRICK ALTMAN
If Programming Languages Were Futurama Characters
A little bit of fun. Evidently Python is Lrrr.... read on to find out why.
JAN SCHAUMANN
Projects & Code
rounder: Rounding Numbers in Collection Data Types
PYPI.ORG• Shared by Marcin
monaco_generations: Simulating an F1 Race With 308 Cars
GITHUB.COM/ADEILERTSON• Shared by Andrew Eilertson
Events
Python: The New Normal
May 23 to May 26, 2022
EVENTBRITE.COM
PyKla Monthly Meetup
May 25, 2022
MEETUP.COM
PyStaDa
May 25, 2022
PYSTADA.GITHUB.IO
PyCon LT 2022
May 26 to May 28, 2022
PYCON.LT
PyCon Italy 22
June 2 to June 6, 2022
PYCON.IT
Happy Pythoning!
This was PyCoder’s Weekly Issue #526.
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 ]