Issue #461

Python Turns 30, Concurrency is Tricky, You Should Upgrade pip, and More

Feb. 23, 2021

Python Turns 30, Concurrency is Tricky, You Should Upgrade pip, and More
#461 – FEBRUARY 23, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Concurrency: The Tricky Bits
An exploration of threads, processes, and coroutines in Python, with interesting examples that illuminate the differences between each.
HAMEL HUSAIN

Why You Really Need to Upgrade Pip
If you’re using an old version of pip, installing the latest version of a Python package might fail—or install in a slower, more complex way. Learn what the problem is exactly, how to solve it, and what causes it.
ITAMAR TURNER-TRAURING

Monitor Python Application Metrics and Distributes Traces in Real Time with Datadog APM
Datadog’s APM generates detailed flame graphs that will help your teams identify bottlenecks and latency. If an error is spotted, you can easily pivot to related logs and metrics in seconds to troubleshoot without switching tools or contexts. Visualize Python metrics end-to-end with a free trial →
DATADOGsponsor

12 Requests Per Second in Python
How much should we trust framework benchmarks? And to what extent should they influence your choice of technology?
SUADE.ORG

Python & APIs: A Winning Combo for Reading Public Data
Learn what APIs are and how to consume them using Python. You’ll also learn some core concepts for working with APIs, such as status codes, HTTP methods, using the requests library, and much more.
REAL PYTHON

How Python Strings Work
Learn the ins and outs of how Python strings work, with a focus on how text is encoded and represented internally.
VIKTOR SKVORTSOV

Python 3.X Through 3.9.1 Has a Buffer Overflow That May Lead to Remote Code Execution
Upgrade to 3.8.8 or 3.9.2 to avoid the issue.
NIST.GOV


Discussions


Happy Birthday, Python!
REDDIT

A Look Back at Python’s First Beta Release
In celebration of Python’s 30th anniversary, Stefane Fermigier has posted the code for Python’s first beta release on GitHub.
TWITTER.COM/SFERMIGIER

From print('Hello World!') to Getting My First Job
REDDIT


Python Jobs


How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →

Senior Backend Developer
ORDERBIRD AG 📍 BERLIN, GERMANY

Advanced Python Engineer
RESEARCH AFFILIATES 📍 NEWPORT BEACH, CA, USA

Senior Python Engineer
EAB 📍 REMOTE

Web developer
DER FREITAG MEDIENGESELLSCHAFT MBH & CO. KG 📍 BERLIN, GERMANY

More Python Jobs >>>


Articles & Tutorials


Happy Birthday, Python, You’re 30 Years Old This Week!
Via interviews with Armin Ronacher, Brett Cannon, and Ewa Jodloski, this piece of technical journalism takes a look at where Python has been, where it is, and where it is going.
THOMAS CLABURN

Python Programming and Numerical Methods: A Guide for Engineers and Scientists
This open-source book from Berkeley discusses numerical methods with Python. Numerical methods are essential for engineering and science, making this book a fantastic resource for folks in STEM fields.
QINGKAI KING, TIMMY SIAUW, ALEXANDRE BAYEN

Last chance! Download Your Free Digital Copy of Distributed Tracing in Practice
February 28 is the last day to download a digital copy of Distributed Tracing in Practice, published by O’Reilly Media and available at no cost, compliments of Lightstep →
LIGHTSTEPsponsor

Abstract Syntax Trees in Python
Learn about abstract syntax trees (ASTs), some of their use cases, and how to use the ast module in the Python standard library.
ALESSANDRO FINAMORE • Shared by Bob Belderbos

Stochastic Gradient Descent and Deploying Your Python Scripts on the Web
Do you know the initial steps to get your Python script hosted on the web? You may have built something with Flask, but how would you stand it up so that you can share it with others? This week on the show, guest Martin Breuss shares his recent article titled, “Python Web Applications: Deploy Your Script as a Flask App”. David Amos also returns, and he’s brought another batch of PyCoder’s Weekly articles and projects.
REAL PYTHON podcast

Automating Code Performance Testing Now Possible
Performance is a feature, test it as such. Test performance in CI/CD. Validate production deploys. Blackfire offers a robust way to run test scenarios and validate code changes, automatically. Discover Blackfire Builds now. Free 15 days trial.
BLACKFIREsponsor

Dictionaries and Arrays: Selecting the Ideal Data Structure
Learn about two of Python’s data structures: dictionaries and arrays. You’ll look at multiple types and classes for both of these and learn which implementations are best for your specific use cases.
REAL PYTHON course

Functional Programming in Python: When and How to Use It
Learn what functional programming is, how it’s supported in Python, and how you can use it in your Python code.
REAL PYTHON

Understand Django: Test Your Apps
Learn how to use automated tests to verify the correctness of your Django site.
MATT LAYMAN • Shared by Matt Layman

Adding Charts to Django with Chart.js
Learn how to add interactive charts to Django with Chart.js.
NIK TOMAZIC • Shared by Michael Herman


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 →

scikit-image: Image Processing in Python
GITHUB.COM/SCIKIT-IMAGE

python-precisely: Better Assertions for Python Tests
GITHUB.COM/MWILLIAMSON

Freewire: An Experiment With “Freely” Wired Neural Networks
GITHUB.COM/NOAHTREN

CompreFace: Free and Open-Source Face Recognition System
GITHUB.COM/EXADEL-INC

eth2.0-specs: Ethereum 2.0 Specifications
GITHUB.COM/ETHEREUM

metaflow: Build and Manage Real-Life Data Science Projects With Ease
GITHUB.COM/NETFLIX

ptpython: A Better Python REPL
GITHUB.COM/PROMPT-TOOLKIT

orator: A Simple Yet Beautiful ActiveRecord Implementation
GITHUB.COM/SDISPATER

📆🐍 Upcoming Python Events


Real Python Office Hours (Virtual)
February 24, 2020

Python Web Conference 2021 (Virtual)
March 22 – 26, 2021

PyCon Israel 2021 (Virtual)
May 2 – 3, 2021

PyCon 2021 (Virtual)
May 12 – 18, 2021

DjangoCon Europe 2021 (Virtual)
June 2 – 6, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.