#522 β APRIL 26, 2022
View in Browser Β»
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 β
DATADOG sponsor
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 (Ann Arbor, MI, USA)
University of Michigan
Data & Operations Engineer (Ann Arbor, MI, USA)
University of Michigan
Python Technical Architect (USA)
Blenderbox
Academic Innovation Software Developer (Ann Arbor, MI, USA)
University of Michigan
Software Development Lead (Ann Arbor, MI, USA)
University of Michigan
Lead Software Engineer (Anywhere)
Right Side Up
Data Engineer (Chicago, IL, USA)
Aquatic Capital Management
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 β
ANACONDA sponsor
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!
HIRED sponsor
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
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
Events
Weekly Real Python Office Hours Q&A (Virtual)
April 27, 2022
REALPYTHON.COM
PyCon US 2022
April 27 to May 6, 2022
PYCON.ORG
PyKla Monthly Meetup
April 27, 2022
MEETUP.COM
PyStaDa
April 27, 2022
PYSTADA.GITHUB.IO
SPb Python Drinkup
April 28, 2022
MEETUP.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #522.
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 ]
.