Building a URL Shortener, Debug Life, Pigeon Deterents, and More

#526 – MAY 24, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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

TensorFlow 2.9.0 Released
GITHUB.COM/TENSORFLOW

Django 4.1 Alpha 1 Released
DJANGO SOFTWARE FOUNDATION

Python 3.9.13 Maintenance Release
CPYTHON DEV BLOG

CPython Faster: Timing Improvement Results in Beta
GITHUB.COM/FASTER-CPYTHON


Discussions


Do You Have a Favorite Playlist for Coding?
TWITTER.COM/PYTHON_ENGINEER

What’s Your Favorite Feature in Python?
TWITTER.COM/DRISCOLLIS


Python Jobs


DevOps Engineer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Academic Innovation Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Senior Backend Engineer
DOIST 📍 ANYWHERE

Senior Storytelling Framework Engineer - Python
GOPRO 📍 FRANCE

Senior Software Engineer - Python Full Stack
BLENDERBOX 📍 USA

Gameful Learning Developer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Data & Operations Engineer
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

More Python Jobs >>>


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 PYTHON podcast

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 PYTHON course

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


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 →

pikascript: Lightweight Python Engine That Fits in 32KB Flash
GITHUB.COM/PIKASTECH

envelope: Sign, Attach, & Send E-Mail in a Single Line of Code
GITHUB.COM/CZ-NIC

rounder: Rounding Numbers in Collection Data Types
PYPI.ORG • Shared by Marcin

plux: A Dynamic Code Loading Framework for Plug-Ins
GITHUB.COM/LOCALSTACK • Shared by Harsh Mishra

monaco_generations: Simulating an F1 Race With 308 Cars
GITHUB.COM/ADEILERTSON • Shared by Andrew Eilertson

Pants: Video Filter to Add Pants on Zoom Calls
GITHUB.COM/EVERYTHINGISHACKED

📆🐍 Upcoming Python Events


Python: The New Normal
May 23 to May 26, 2022

Weekly Real Python Office Hours Q&A (Virtual)
May 25, 2022

PyKla Monthly Meetup
May 25, 2022

PyStaDa
May 25, 2022

PyCon LT 2022
May 26 to May 28, 2022

PyCon Italy 22
June 2 to June 6, 2022
Happy Pythoning!
Copyright © 2022 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

Python's min() and max(), django-rich, Evaluating Dependencies, and More

Tuesday, May 17, 2022

Python's min() and max(): Find Smallest and Largest Values #525 – MAY 17, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's min() and max(): Find Smallest and Largest Values In this

PyCon US 2022 Wrap-Up, Game Engines, PyScript, and More

Tuesday, May 10, 2022

PyCon US 2022 Highlights #524 – MAY 10, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo PyCon US 2022 Highlights “It was wonderful to be back at PyCon US in person again. PyCon is way too big for

Dunder Methods, Closing Files, The GIL, and More

Tuesday, May 3, 2022

Dunder Methods in Python: The Ugliest Awesome Sauce #523 – MAY 3, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Dunder Methods in Python: The Ugliest Awesome Sauce Double-underscore methods, also

Type Hints in Multi-Version Code, Extras for Enum, Django Users, and More

Tuesday, April 26, 2022

Type Hints in Code Supporting Multiple Python Versions #522 – APRIL 26, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Type Hints in Code Supporting Multiple Python Versions The typing module

WASM, Python Keywords, PyInstaller, and More

Tuesday, April 19, 2022

Build an Editor in Python and WebAssembly #521 – APRIL 19, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Build an Editor in Python and WebAssembly Step-by-step instructions on how to build a code

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your