Python JIT, Security Pitfalls, macOS Deprecates Python 2, Black Formatter Stable Release, and More

#510 – FEBRUARY 1, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
What Is a JIT and How Can Pyjion Speed Up Your Python?
How can you can speed up Python? Have you thought of using a JIT (Just-In-Time Compiler)? This week on the show, we have Real Python author and previous guest Anthony Shaw to talk about his project Pyjion, a drop-in JIT compiler for CPython 3.10.
REAL PYTHON podcast

10 Unknown Security Pitfalls for Python
“In this blog post, we share 10 security pitfalls we encountered in real-world Python projects. We chose pitfalls that we believe are less known in the developer community.”
DENNIS BRINKROLF

Monitor and Optimize Python Application Uptime and Trace App Requests in Real Time With Datadog APM
Trace requests across service boundaries and identify latency and other potential errors with end-to-end application tracing. Datadog’s unified platform enables you to correlate traces with related metrics and logs for fast troubleshooting. Track Python app performance by trying Datadog APM out →
DATADOGsponsor

Draw the Mandelbrot Set in Python
In this tutorial, you’ll visualize the famous Mandelbrot set using Python’s Matplotlib and Pillow libraries. You’ll learn how to draw the fractal in black and white, grayscale, and color.
REAL PYTHON

Apple Removes Python 2.7 in macOS Monterey 12.3
“Python 2.7 was removed from macOS in this update. Developers should use Python 3 or an alternative language instead.” Also see the related discussion on Hacker News.
APPLE.COM

Black, the Python Code Formatter, Is Stable
The popular Python auto-formatter Black is finally non-beta software. Related discussion on Hacker News and Black’s stability policy doc.
HACKER NEWS

Django Security Releases Issued: 4.0.2, 3.2.12, and 2.2.27
Includes fixes for a possible XSS via debug template tag and a denial-of-service possibility in file uploads.
DJANGO SOFTWARE FOUNDATION

Textual v0.1.14 Adds Windows Support
WILL MCGUGAN


Discussions


Should PyPI Deprecate .egg Uploads?
.egg uploads make up less than 1% of built distribution uploads in Dec 2021. Do you still build or install eggs, or maintain a tool that supports eggs?
DUSTIN INGRAM

What’re the Cleanest, Most Beautifully Written Projects in Github That Are Worth Studying the Code?
REDDIT


Python Jobs


Senior Python Engineer (Anywhere)
FLASHPOINT

Senior Backend Engineer Django (UK, Europe)
DATAPANE

Backend Software Engineer (Anywhere)
CATALPA INTERNATIONAL

Senior Full-Stack Web Developer (Anywhere)
MONETIZEMORE

Python Engineer Web Scraping (Asia, TX, America)
NEWSCATCHER

Python Trainer (Jakarta, Indonesia)
PHYSIKALISCH-TECHNISCHE BUNDESANSTALT

More Python Jobs >>>


Articles & Tutorials


Looping With Python enumerate()
Once you learn about for loops in Python, you know that using an index to access items in a sequence isn’t very Pythonic. So what do you do when you need that index value? In this course, you’ll learn all about Python’s built-in enumerate(), where it’s used, and how you can emulate its behavior.
REAL PYTHON course

PySide2 vs PySide6: What Are the Differences, and Is It Time to Upgrade?
If you are already developing Python GUI apps with PySide2, you might be asking yourself whether it’s time to upgrade to PySide6 and use the latest version of the Qt library.
MARTIN FITZPATRICK

Data Elixir: Data Science Newsletter
Data Elixir is a free newsletter that curates intermediate and advanced data science content from around the web. Covers analytics, machine learning, data visualization, analytics, and strategy →
DATA ELIXIRsponsor

The Fastest Way to Read a CSV in Pandas
This article covers: Pandas’ default CSV reading, the faster, more parallel CSV reader introduced in v1.4, and a different approach that can make things even faster.
ITAMAR TURNER-TRAURING

Executable Docs
It’s common to include interactive Python sessions inside documentation. With a small script we can turn these docs into Jupyter notebooks and serve them instantly.
IVO HOUBRECHTS • Shared by Ivo Houbrechts

Raining Outside? Build a Weather CLI App With Python
In this tutorial, you’ll write a nicely formatted Python CLI app that displays information about the current weather in any city you provide the name for.
REAL PYTHON

Find and Fix Performance Issues Fast With Scout APM
Scout APM is an application performance monitoring tool that ties performance anomalies directly to endpoints, saving developers hours of time spent on troubleshooting and debugging. Start your free trial today to see if Scout APM is right for you!
SCOUT APMsponsor

Using Pyenv and Pyenv-Virtualenv to Install Python and Create a Virtual Environment on macOS
ANDREA GRANDI

Unravelling Python’s Ellipsis Literal (...)
BRETT CANNON


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 →

pip-secure-install: GitHub Action That Securely Installs Python Dependencies on CI
GITHUB.COM/MARKETPLACE

mureq: Single-File Alternative to Requests
GITHUB.COM/SLINGAMN

Python Graph Gallery: A Collection of Hundreds of Charts Made With Python
PYTHON-GRAPH-GALLERY.COM

Procrastinate: PostgreSQL-based Task Queue for Python
PROCRASTINATE.READTHEDOCS.IO

PyFlow: Visual and Modular Block Programing in Python
GITHUB.COM/BYCELIUM

konsole: Readable, Pleasing Console Output
GITHUB.COM/APPAREBIT • Shared by Robert Grimm

django-plpy: Django Toolkit for Python Stored Procedures in PostgreSQL
MEDIUM.COM/P • Shared by Thorin Schiffer

q: Quick-and-Dirty Debugging Output for Tired Programmers
PYPI.ORG

📆🐍 Upcoming Python Events


⋅ Weekly Real Python Office Hours Q&A (Virtual) February 2, 2022

⋅ Canberra Python Meetup February 3, 2022

⋅ Sydney Python User Group (SyPy) February 3, 2022

⋅ Reunión Python Valencia February 3, 2022

⋅ PyCascades Remote 2020 February 5 to February 7, 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

PEP 646 Accepted, Strict Function Parameters, Solving Wordle, and More

Tuesday, January 25, 2022

PEP 646: Variadic Generics Was Accepted #509 – JANUARY 25, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 646: Variadic Generics Was Accepted This PEP introduces TypeVarTuple , enabling

Object Subscriptions Deep-Dive, Django Survey Results, Pip Caching, and More

Tuesday, January 18, 2022

Unravelling "`[]`" Subscriptions in Python #508 – JANUARY 18, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Unravelling “ [] ” Subscriptions in Python “It's quite possible you're

Django Front Ends, Language of the Year, PSF News, and More

Tuesday, January 11, 2022

Build a Django Front End With Bulma – Part 2 #507 – JANUARY 11, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Hey there, Quick announcement: I'm looking to hire a talented PyCoder's Weekly

Build a Social Network With Django, Make Your Own Linter, Log Injections Attacks, and More

Tuesday, January 4, 2022

Gem: Exploding String Alternatives #506 – JANUARY 4, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Gem: Exploding String Alternatives Here's a Python gem: a small bit of Python that uses the

The "zipimport" Module, Fast Async HTTP Requests, Versioning, PEP 669, and More

Tuesday, December 28, 2021

Python Zip Imports: Distribute Modules and Packages Quickly #505 – DECEMBER 28, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Zip Imports: Distribute Modules and Packages Quickly In this

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your