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

#522 – APRIL 26, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Type Hints in Code Supporting Multiple Python Versions
The typing module continues to evolve, with new features in every Python version. This can make it tricky if you’re trying to type code that supports multiple Python versions. Learn just what you can do when you need to support Type Hints in multiple versions.
ADAM JOHNSON

PyCon US 2022: Getting the Most Out of Your Conference Visit
Tips for getting the most out of your visit to PyCon US, the world’s biggest Python conference taking place April 27, 2022 to May 3, 2022 in Salt Lake City, Utah. Whether you’re a first-timer or a seasoned attendee, this guide will help you get ready to have a great PyCon. If you’re attending, stop by the Real Python booth and say hello! :)
REAL PYTHON

Proactively Monitor Python App Uptime with Datadog APM
Datadog APM empowers developer teams to identify anomalies, resolve issues, and improve application performance. Easily identify bottlenecks, errors, heavy traffic issues, slow-running queries, and more with end-to-end application tracing and continuous profiling. Start a free Datadog APM trial β†’
DATADOGsponsor

Add Additional Attributes to Enum Members in Python
Sometimes you want your Enum objects to reference more than just a single piece of data. You can use a tuple but then you have to de-reference it. This article shows a technique used in http.HTTPStatus that you can do in your own code.
REDOWAN DELOWAR

Building a Django User Management System
In this video course, you’ll learn how to extend your Django application with a user management system, complete with email sending and third-party authentication.
REAL PYTHON course

PyOhio Call for Proposals Open Through May 2
PYOHIO.ORG β€’ Shared by Dave Forgac


Discussions


Python’s “Type Hints” Are a Bit of a Disappointment to Me
HACKER NEWS

Where Can I See Examples of Large S/W Architecture?
HACKER NEWS


Python Jobs


Gameful Learning Developer
UNIVERSITY OF MICHIGAN πŸ“ ANN ARBOR, MI, USA

Data & Operations Engineer
UNIVERSITY OF MICHIGAN πŸ“ ANN ARBOR, MI, USA

Python Technical Architect
BLENDERBOX πŸ“ USA

Academic Innovation Software Developer
UNIVERSITY OF MICHIGAN πŸ“ ANN ARBOR, MI, USA

Software Development Lead
UNIVERSITY OF MICHIGAN πŸ“ ANN ARBOR, MI, USA

Lead Software Engineer
RIGHT SIDE UP πŸ“ ANYWHERE

Data Engineer
AQUATIC CAPITAL MANAGMENT πŸ“ CHICAGO, IL, USA

More Python Jobs >>>


Articles & Tutorials


From 30 Lines of Code to 11: Rock Paper Scissors in Python
When you’re a beginner you need projects that allow you to practice basic concepts. But do you ever revisit those projects as a more advanced developer? This article looks at one common beginner Python project β€” implementing Rock Paper Scissors in Python β€” and how you could approach the game logic from a more advanced perspective.
DAVIDAMOS.DEV β€’ Shared by David Amos

Python Bidirectional Dictionary
Learn about the Bidict library, a bi-directional dictionary where your keys and your values can both be used to look up an item. This can be a useful tool when dealing with mapped data like country code to country name where you want to look up either side of the relationship.
CHRISTOPHER TAO

Join Our Free Online Community With Anaconda Nucleus
Anaconda Nucleus is our education and community engagement platform. The platform features a wealth of data science content ranging from articles to webinars to videos and more. Join to ask questions and engage other data professionals β†’
ANACONDAsponsor

Use Python to Send Notifications During Model Training
We’ve all been there. Whether you are experimenting with a new fun model or grinding for that Kaggle competition prize pool, it can be hard to leave your models running in peace. Learn how to use Twilio’s API to notify you during your model training.
BRADEN RIGGS

What is Synthetic Data?
Synthetic data is artificially annotated information that is generated by computer algorithms or simulations, commonly used as an alternative to real-world data. Learn where it can be useful and how it helps train your machine learning algorithms.
GRETEL.AI β€’ Shared by Mason Egger

Python 3.11 Preview: Task and Exception Groups
Python 3.11 will be released in October 2022. In this tutorial, you’ll install the latest alpha release of Python 3.11 in order to preview task and exception groups and learn about how they can improve your asynchronous programming in Python.
REAL PYTHON

Create an Interactive Dashboard With Pandas and hvPlot
This article will show you the easiest way to create an interactive dashboard in Python from any Pandas DataFrame. If you already know some Pandas, you can almost immediately use hvPlot .interactive and turn your data into a dashboard.
SOPHIA YANG

How I Integrated Zapier Into My Django Project
Zapier is a no-code tool that takes input from a wide variety of web applications and connects their output to other applications. This article walks you through what you need to do to integrate Zapier with your Django project.
AIDAS BENDORAITIS

Concurrent Web Scraping With Selenium and Docker Swarm
This tutorial shows you how to use Python and Selenium Grid to build a parallel web scraper. By packaging it up in Docker and executing it in a swarm, you can scrape all the things!
MICHAEL HERMAN

Find Your Next Tech Job Through Hired
Hired has 1000s of companies of all sizes who are actively hiring developers, data scientists, mobile engineers, and more. It’s really simple: create a profile with your skills for hiring managers to reach you directly. Sign up today!
HIREDsponsor

Top 10 VSCode Extensions for More Productive Python
Bas’s top 10 VSCode extensions for Python, including tools for indentation management, comments, tests, type hints, docstrings, and more.
BAS STEINS

Common Python Anti-Patterns to Watch Out For
Fifteen code patterns that are problematic in Python and what alternatives to use instead.
KOUSHIK THOTA


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 β†’

memray: Memory Profiler for Python
GITHUB.COM/BLOOMBERG

git-gud: Command-Line Game to Learn git
GITHUB.COM/BENTHAYER

dunk: Prettier Git Diffs
GITHUB.COM/DARRENBURNS

pandera: Data Validation Library for Pandas Dataframes
GITHUB.COM/PANDERA-DEV

pypyr: make Alternative for Automation Pipelines
GITHUB.COM/PYPYR

πŸ“†πŸ Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
April 27, 2022

PyCon US 2022
April 27 to May 6, 2022

PyKla Monthly Meetup
April 27, 2022

PyStaDa
April 27, 2022

SPb Python Drinkup
April 28, 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

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

Levenshtein Distances, urllib, Python's Performance, and More

Tuesday, April 5, 2022

Python's `urllib.request` for HTTP Requests #519 – APRIL 5, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python's urllib.request for HTTP Requests In this tutorial, you'll be making

James Webb Telescope, Large JSON Files, Pillow, and More

Tuesday, March 29, 2022

Python and the James Webb Space Telescope #518 – MARCH 29, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python and the James Webb Space Telescope Python is used extensively in the data pipeline

Lists vs Tuples, Building Hash Tables, Frame-Based Editing, and More

Tuesday, March 22, 2022

Python `list` vs `tuple` Comparison #517 – MARCH 22, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Python list vs tuple Comparison Learn how list and tuple are similar and how they are different,

CLIs, Cython, 3.11's Better Error Messages, and More

Tuesday, March 15, 2022

How to Write User-Friendly CLIs in Python #516 – MARCH 15, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo How to Write User-Friendly CLIs in Python How to write user-friendly Command Line Interface

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