What To Do When You Botch a PyPI Release, E2E Testing Approaches, Walrus Operator Use Cases, And More

#485 – AUGUST 10, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
What to Do When You Botch a Release on PyPI
Mistakes happen to everyone. But what do you do if you make a mistake when releasing a package to PyPI? Don’t panic! There are a number of things you can do to fix a bad release. This article walks you through several scenarios and suggested solutions.
BRETT CANNON

Scale Up Your E2E Tests Using Mock Server
End-to-end (E2E) testing is a crucial step in delivering high-quality software, but the ins and outs of E2E can be challenging. You often need multiple, separate services to talk to each other during tests, and coordinating this can be difficult. Learn some approaches for E2E test development and how the new Cornell Python package can help make your life easier.
YAEL MINTZ

Track Requests to Your Python Applications End-to-End With Datadog APM
Analyze your Python apps’ performance by drilling into error traces with Datadog’s App Analytics to debug and optimize Python code. Trace requests end-to-end across web servers, databases, and services in your environment and start visualizing your apps’ performance with Datadog APM free →
DATADOGsponsor

The Walrus Operator: Python 3.8 Assignment Expressions
In this tutorial, you’ll learn about assignment expressions and the walrus operator. The biggest change in Python 3.8 was the inclusion of the := operator, which you can use to assign variables in the middle of expressions. You’ll see several examples of how to take advantage of this new feature.
REAL PYTHON

2021 Django Developers Survey
Are you a Django user? The Django Software Foundation wants to hear from you!
DJANGO SOFTWARE FOUNDATION

The First Python 3.10 Release Candidate Is Out
PYTHON.ORG


Discussions


Reddit AMA With Will McGugan, Author of Rich and Textual
Learn all about Rich and Textual in this Q&A thread with the libraries’ author. Ever wondered what Will thinks of the new pattern matching feature coming in Python 3.10, or whether plots will ever come to Rich or Textual? Find out here!
REDDIT


Python Jobs


Data Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES

Sr Backend Developer (Amsterdam, Netherlands)
GUTS TICKETS

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

More Python Jobs >>>


Articles & Tutorials


Django Rest Framework Recipes
The Django Rest Framework (DRF) allows you to build REST APIs on top of Django. This article explores some recipes for various tasks in DRF taken from the author’s real-world experience.
JUSTYNA ILCZUK

Starting With FastAPI and Examining Python’s Import System
Have you heard of FastAPI? An application programming interface is vital to make your software accessible to users across the internet. FastAPI is an excellent option for quickly creating a web API that implements best practices. This week on the Real Python Podcast, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.
REAL PYTHON podcast

Rev APIs Solve All of Your Speech-to-Text Needs
Rev.ai is the most sophisticated automatic speech recognition in the world. Our speech-to-text APIs are more accurate, easier to use, and have less bias than competitors like Google, Amazon, and Microsoft. Try Rev.ai free for five hours right now →
REV.AIsponsor

NumPy Views: Saving Memory, Leaking Memory, and Subtle Bugs
NumPy has a built-in memory view feature that helps reduce memory usage for large arrays. But in some cases, memory views can cause higher memory usage, and even cause bugs by mutating data in unexpected ways. Learn how memory views work, what common issues are, and some takeaways to help you decide when memory views are a good choice.
ITAMAR TURNER-TRAURING

Using the Python return Statement Effectively
In this step-by-step course, you’ll learn how to use the Python return statement when writing functions. Additionally, you’ll cover some good programming practices related to the use of return. With this knowledge, you’ll be able to write readable, robust, and maintainable functions in Python.
REAL PYTHON course

Add Vector-Based Semantic Search to Your Applications Using Pinecone
Pinecone makes it easy to add vector-based semantic search (and more) to your applications. Try it free today
PINECONEsponsor

Get Yourself a Better Django Proxy Experience
Ah, Django proxy models and the power they hold! Yet, the implementation aftermath can highlight a number of unwanted side-effects. Here’s a couple of tips when working with Django proxies that will make end-users grateful and developers sigh in relief.
NICCOLÒ MINEO • Shared by Niccolò Mineo


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 →

catanatron: Fast Settlers of Catan Python Implementation and Strong AI Player
GITHUB.COM/BCOLLAZO

python-ftfy: Fixes Mojibake and Other Glitches in Unicode Text, After the Fact
GITHUB.COM/LUMINOSOINSIGHT

cornell: Record and Replay Mock Server for End-to-End Testing
GITHUB.COM/HIREDSCORELABS

bagua: A Distributed Training Library for PyTorch at Blazing Fast Speeds
GITHUB.COM/BAGUASYS • Shared by Xiangru Lian

Refactor: Python Source Code Refactoring Toolkit
GITHUB.COM/ISIDENTICAL • Shared by Batuhan Taskaya

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) August 11, 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 and REST APIs, Launchpad Finishes Python 3 Transition, New Way to Specify Python Project Install Requirements, and More

Tuesday, August 3, 2021

Python and REST APIs: Interacting With Web Services #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

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

You Might Also Like

Daily Coding Problem: Problem #1422 [Hard]

Wednesday, April 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. Given a list of integers, write a function that returns the largest sum of non-

Charted | Artificial Intelligence Patents, by Country 🤖

Wednesday, April 24, 2024

This visualization shows which countries have been granted the most AI patents each year, from 2012 to 2022. View Online | Subscribe Presented by: New on VC+: Our Visual Briefing on the IMF's World

Save your seat: 1Password’s 2024 Security report insights webinar

Wednesday, April 24, 2024

Join us April 25th. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Top Tech Deals 📱 LG Flex TV, Google Pixel 7, DJI Mini 3, and More

Wednesday, April 24, 2024

Get yourself a discounted DJI drone, save on the Pixel 7, or score some PC and phone accessories. How-To Geek Logo April 24, 2024 Top Tech Deals: LG Flex TV, Google Pixel 7, DJI Mini 3, and More Find

The Protest Song Wakes Up 🎙️

Wednesday, April 24, 2024

Is this song the future of musical protest? Here's a version for your browser. Hunting for the end of the long tail • April 24, 2024 The Protest Song Wakes Up A buzzy protest song about the

JSK Weekly - 24th April, 2024

Wednesday, April 24, 2024

React 19 has introduced many great functionalities and features, among which the useOptimistic hook stands out. The useOptimistic hook offers a seamless way to manage UI states during asynchronous

The clock’s ticking for TikTok

Wednesday, April 24, 2024

The US Senate has passed a bill that would ban TikTok if its US business is not divested by Bytedance View this email online in your browser By Alex Wilhelm Wednesday, April 24, 2024 Good morning, and

How to block Windows 11 Start menu ads

Wednesday, April 24, 2024

Oura Ring hits Target; 7 iPad Pro features we need; AI hallucinations aren't all bad -- ZDNET ZDNET Tech Today - US April 24, 2024 placeholder Microsoft is now showing ads in Windows 11's Start

The Chilling of TikTok

Wednesday, April 24, 2024

Ban or not, this is the end of TikTok as we know it The Chilling of TikTok By MG Siegler • 24 Apr 2024 View in browser View in browser The tok is tiking... Later today, President Biden will sign a bill

GenAI is transforming materials design

Wednesday, April 24, 2024

‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌