Python and REST APIs, Launchpad Finishes Python 3 Transition, New Way to Specify Python Project Install Requirements, and More

#484 – AUGUST 3, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python and REST APIs: Interacting With Web Services
In this tutorial, you’ll learn how to use Python to communicate with REST APIs. You’ll learn about REST architecture and how to use the requests library to get data from a REST API. You’ll also explore different Python tools you can use to build REST APIs.
REAL PYTHON

Launchpad Now Runs on Python 3
Python 2 was sunsetted over a year ago, but many folks still find themselves maintaining large Python 2 codebases. The Launchpad team recently finished porting their entire codebase to Python 3, and this article reflects on that process, discusses some of the difficulties they encountered, regressions that occurred, and provides a number of lessons they learned throughout the process. If you are in a position of porting a Python 2 codebase to Python 3, definitely check this out.
COLIN WATSON

Monitor Errors & Performance in your Python Apps = Keep Users Happy
For software teams, monitoring code health is essential. From Error tracking to Performance monitoring, Sentry helps developers see clearer, solve quicker, and learn continuously about their applications - from frontend to backend. Try Sentry for free β†’ with code: PYCODERS
SENTRYsponsor

PEP 665: Specifying Installation Requirements for Python Projects
There’s a new PEP in town, and this one deals with improving how installation requirements are specified in Python projects. The PEP is still in Draft status.
PYTHON.ORG

Twisted 21.7.0 Released
TWISTEDMATRIX.COM

Django Bugfix Release: 3.2.6
DJANGO SOFTWARE FOUNDATION


Discussions


Do Coders Really Learn How to Use Entire Libraries Just From the Documentation?
How do you learn a new library? Do you start with the docs? What do you do if the documentation is lacking? Or do you first search for video lessons or written tutorials?
REDDIT


Python Jobs


Backend Software Engineer (Remote)
CATALPA INTERNATIONAL

Python Developer (Remote)
TESSIAN

Software Developer (Remote)
UNIVENTION GMBH

Backend Software Engineer (Washington, D.C., USA)
QUORUM

Senior Cloud Platform Engineer (Berlin, Germany)
APHERIS

Software Engineer (Remote)
CLOSE

Backend Software Engineer (Remote)
TESSIAN

Python Web Developer (Remote)
PREMIERE DIGITAL SERVICES

More Python Jobs >>>


Articles & Tutorials


Python’s ChainMap: Manage Multiple Contexts Effectively
In this step-by-step tutorial, you’ll learn about Python’s ChainMap and how to use it to group multiple dictionaries together and manage them as a single one. ChainMap is handy when you need to manage multiple scopes and contexts and define access priorities.
REAL PYTHON

Handling 100 Requests Per Second With Python & Django
The folks over at Ethical Ads recently broke their ads out of the codebase for Read the Docs, where it had been served from a Django app as part of the Read the Docs code line up until 2019. They decided to use Python and Django for their application since the team already knew that stack well. This article compares the performance of hosting services and explains how they stress-tested their application to ensure the best performance at the right cost.
DAVID FISCHER

PyCharm 2021.2 is Out With Built-In Support For Some Cool New Python 3.10 Features
Get hands-on with learning about the new Structural Pattern Matching. PyCharm’s support for Python 3.10 will help you avoid unexpected errors and quickly get to grips with them. If you are as excited about Python 3.10, use the code PYCODERS21 to get 3 free months of PyCharm Professional β†’
JETBRAINSsponsor

Start Using a Debugger With Your Python Code
Are you still sprinkling print statements throughout your code while writing it? Print statements are often clunky and offer only a limited view of the state of your code. Have you thought there must be a better way? This week on the Real Python Podcase, Nina Zakharenko discusses her conference talk titled “Goodbye Print, Hello Debugger.”
REAL PYTHON podcast

Replit.web: A Python Framework With Built-in Database and Auth Support
The folks over at replit have released a new Python web framework with built-in authentication and database support and, more interestingly, hosting. In a few lines of code, you can have a Python web app connected to a database, authenticating users, and hosted on replit. This could be a great tool for quickly building and hosting prototypes or experimental projects.
SPENCER POGORZELSKI

Monitor Your Home’s Temperature and Humidity With Raspberry Pis and Prometheus
Do you enjoy collecting and analyzing data, or are you looking for a fun project to improve your data skills? Do you also enjoy tinkering with hardware? Then this project might be a fun one for you to check out! Learn how to set up a RaspberryPi using Prometheus to collect and monitor temperature sensor data.
CHRIS COLLINS

Cheat Sheet: 9 Python Security Best Practices
Tip #1: Avoid PyYAML vulnerabilities by using yaml.SafeLoader() instead of yaml.Loader(). Learn 8 more tips in the Python security cheat sheet.
SNYK.IOsponsor

Using sleep() to Code a Python Uptime Bot
Learn how to add time delays to your Python programs. You’ll use the built-in time module to add Python sleep() calls to your code. To practice, you’ll use time.sleep() when making an uptime bot that checks whether a website is still live.
REAL PYTHON course

How to Dockerize Django in 5 Minutes
This short yet informative tutorial explains how to Dockerize a Django application. The tutorial clocks in at less than a 10 minute read, but still finds time to explain why you should consider using Docker in your Django projects.
MATTHEW FREIRE


Projects & Code


prometheus: The Prometheus Monitoring System and Time Series Database
GITHUB.COM/PROMETHEUS

BirdNET: Soundscape Analysis With BirdNET
GITHUB.COM/KAHST

python-launcher: Python Launcher for Unix
GITHUB.COM/BRETTCANNON

connector-x: Fastest Library to Load Data From DB to DataFrames in Rust and Python
GITHUB.COM/SFU-DB

πŸ“†πŸ Upcoming Python Events


β‹… Real Python Office Hours (Virtual) August 4, 2021

β‹… PyCon India 2021 (Virtual) September 17 – 20, 2021
Happy Pythoning!
Copyright Β© 2021 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 Collections, SciPy's New Build System, What To Know About the "operator" Module, and More

Tuesday, July 27, 2021

Python's `collections`: A Buffet of Specialized Data Types #483 – JULY 27, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python's collections : A Buffet of Specialized Data Types Python

Building Web Apps With FastAPI, How Python Imports Work, 1st Week of CPython Developer-In-Residence, and More

Tuesday, July 20, 2021

Using FastAPI to Build Python Web APIs #482 – JULY 20, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Using FastAPI to Build Python Web APIs In this guide, written by FastAPI creator Sebastián

One Database Transaction Too Many, State of Python Packaging in 2021, Final Python 3.10 Beta Released, and More

Tuesday, July 13, 2021

One Database Transaction Too Many #481 – JULY 13, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo One Database Transaction Too Many Learn how a bug was born — one that resulted in hundreds of users

Python Typeclasses, Custom DRF Permissions Classes, How to Count in Python, and More

Tuesday, July 6, 2021

Typeclasses in Python #480 – JULY 6, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Typeclasses in Python Sometimes you need to change the behavior of a function based on the type of argument

Subclassing in Python, Correlation Analysis 101, Reversion Python Lists and Beyond, And More

Tuesday, June 29, 2021

Subclassing in Python Redux #479 – JUNE 29, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Subclassing in Python Redux Have you ever heard someone say that composition is better than inheritance?

You Might Also Like

Ranked | The Most Satisfying vs. Most Reliable Car Brands in 2024 🚙

Monday, December 23, 2024

The most reliable car brands are rarely the most satisfying to own, according to recent Consumer Reports survey data. View Online | Subscribe | Download Our App Presented by: Find the megatrends

Bitcoin Enthusiasts Are Letting Altcoins Pass by

Monday, December 23, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 23, 2024? The

Last Minute Gifts from Walmart

Monday, December 23, 2024

ZDNET ZDNET Sponsored Message In Partnership with Walmart December 23, 2024 exclusive offer Walmart Last-minute gifts from Walmart Shop Now Walmart The tech you've been wishing for–at everyday low

15 ways AI saved me weeks of work in 2024

Monday, December 23, 2024

ZDNET's product of the year; Windows 11 24H2 bug list updated -- ZDNET ZDNET Tech Today - US December 23, 2024 AI applications on various devices. 15 surprising ways I used AI to save me weeks of

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 12/23/2024

Monday, December 23, 2024

New blogs from Syncfusion Introducing the New WinUI Kanban Board By Karthick Mani This blog explains the features of the new Syncfusion WinUI Kanban Board control introduced in the 2024 Volume 4

Import AI 395: AI and energy demand; distributed training via DeMo; and Phi-4

Monday, December 23, 2024

What might fighting for freedom in an AI age look like? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

LockBit Ransomware Developer Charged for Billions in Global Damages

Monday, December 23, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest