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

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many