GIL News, "zipapp" Module in 3.5+, PSF Community Service Awards, and More

#497 – NOVEMBER 2, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
A Viable Solution for Python Concurrency
“The end result thus appears to be a GIL-removal effort that has a rather better-than-average chance of making it into the CPython interpreter. That would be cause for a lot of rejoicing among Python developers. That said, a change this fundamental is unlikely to be rushed into the CPython mainline; it will take a lot of testing to convince the community that it is ready for production use.”
JONATHAN CORBET

Django Templates: Implementing Custom Tags and Filters
Django templates have many built-in tags and filters to render content, but they may not meet all your needs. This tutorial covers how to write Django custom template tags and filters, including simple tags, inclusion tags, block tags, and different types of filters.
REAL PYTHON

DataStax Astra DB, Built on Apache Cassandra™ Get 80 Gigabytes of Storage Free Every Month
DataStax Astra DB, built on Cassandra - now made easy in the cloud. Create a free Cassandra database in minutes for global scale on a startup budget. Get 80 gigabytes of storage free every month! Register now →
DATASTAXsponsor

Python’s zipapp Module: Build Executable Zip Applications
In this step-by-step tutorial, you’ll learn what Python Zip applications are and how to create them quickly using the zipapp module from the standard library. You’ll also learn some alternative tools you can use to build this kind of application manually.
REAL PYTHON

Infix Operators (Python Recipe)
Python has the in operator and it would be nice to have additional infix operator like this. This recipe shows how (almost) arbitrary infix operators can be defined in vanilla Python: x |op| y or x <<op>> y
ACTIVESTATE.COM

PSF Community Service Awards Nominations
Do you know of a deserving individual who should be considered for a PSF Community Service Award? The PSF is accepting nominations for the Q4 2021 Community Service Award.
PYTHON.ORG


Discussions


I Googled How to Modify a Python String During a Coding Interview
REDDIT

Is the Key Order the Same for OrderedDict and dict?
STACK OVERFLOW

Is There a Way to Pattern Match Inequalities in Python ≥ 3.10?
STACK OVERFLOW


Python Jobs


Tutorial Editor (Full-Time, Remote)
REAL PYTHON

Full Stack Software Engineer Django/Postgres/React (Washington D.C.)
QUORUM

Senior Software Engineer (Washington D.C.)
QUORUM

Senior Python Engineer @ Moody's AI & ML Center of Excellence (New York, NY, USA)
MOODY'S

Full Stack Developer (Anywhere)
LEVEL 12

Software Engineer (Anywhere)
1POINT21 INTERACTIVE

More Python Jobs >>>


Articles & Tutorials


Understanding Complex Code by Refactoring Into Larger Functions
“To understand complex code, it can be helpful to remove abstractions, even if it results in larger functions. This episode walks through a process I use to refactor code that I need to debug and fix, but don’t completely understand.”
TEST & CODE podcast

Quickly Optimizing Python Code With FunctionTrace
“I recently did a quick optimization pass over glyphsLib, using FunctionTrace to improve performance by ~30% in under half an hour. This is writeup of my approach, which should be mostly extensible to optimizing other codebases.”
MATT BRYANT

Find Out Why Scout’s a Developer’s Best Friend With a Free 14-Day Trial, No Credit Card Needed
Scout uses tracing logic to tie bottlenecks to source code so developers can get back to building great products instead of wasting time fixing performance issues. Real-time alerting gives you the insights you need in 4 min or less! Deploy today and we’ll donate $5 to the OSS project of your choice →
SCOUT APMsponsor

Reading Input and Writing Output in Python
In this introductory Python course, you’ll learn how to take user input from the keyboard with the built-in function input() and how to display output to the console with the built-in function print().
REAL PYTHON course

Creating and Manipulating PDFs in Python With borb
Have you wanted to generate PDFs from your Python project? This week on the show, it’s Joris Schellekens talking about his library for creating and manipulating PDFs named borb.
REAL PYTHON podcast

Roadmap for the Pyston Python Implementation
“We’ve spent some time recently thinking about the future of Pyston, our faster implementation of Python, and wanted to share what’s on our mind.”
KEVIN MODZELEWSKI

A New, Free Python Code Quality & Security Scanner With Real-Time Scanning
Like Grammarly for your code. Scan your Python code for quality & security issues, and get fix advice in your IDE. Get started with Snyk for free.
SNYK.IOsponsor

Pants 2.8 Supports PEP 517: Build Python Native Extensions With Ease
Pants is a software build system. It orchestrates the various tools and steps that process your source code into deployable software.
BENJY WEINBERGER

PyDev of the Week: Tzu-ping Chung
Tzu-ping is a member of Python Packaging Authority (PyPA) and a maintainer of pip and pipx.
MIKE DRISCOLL

Streamline Your Docker Builds With Pants and PEX
BENJY WEINBERGER

Coverage Goals in coverage.py
NED BATCHELDER


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 →

detr: End-to-End Object Detection With Transformers
GITHUB.COM/FACEBOOKRESEARCH

pyhpc-benchmarks: Benchmarks for CPU and GPU of the Most Popular High-Perf Python Libs
GITHUB.COM/DIONHAEFNER

structlog: Structured Logging for Python
STRUCTLOG.ORG

Dataconf: Configuration Library With Automatic Dataclasses Parsing
GITHUB.COM/ZIFEO • Shared by Teo

epilog: Docker Container Log Aggregation With Elasticsearch, Kibana, and Filebeat
GITHUB.COM/REDNAFI • Shared by Redowan Delowar

Closember: Close/Merge as Many Issues and PR as Possible During the Month of November
CLOSEMBER.ORG

📆🐍 Upcoming Python Events


⋅ Weekly Real Python Office Hours Q&A (Virtual) November 3, 2021

⋅ PyCon Chile November 5 to November 8, 2021

⋅ PyDelhi User Group Meetup November 6, 2021

⋅ Edmonton Python User Group November 8, 2021

⋅ IndyPy Monthly Meetup November 9, 2021

⋅ TuPLE (Tucson Python Language Enthusiasts) November 9, 2021

⋅ deploy by DigitalOcean November 16 to November 17, 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

Idiomatic Python, GIL Removal Meeting, PyCon 2022, Django 4.0, and More

Tuesday, October 26, 2021

Writing Idiomatic Python #496 – OCTOBER 26, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Writing Idiomatic Python What are the programming idioms unique to Python? This course is a short overview

GIL-Free CPython Proof of Concept, Type Hints Case Study, Using @property, and More

Tuesday, October 19, 2021

No-GIL Fork of CPython #495 – OCTOBER 19, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo No-GIL Fork of CPython This is a proof-of-concept implementation of CPython that supports multithreading

Python Secures TIOBE #1 Spot, Guido on Python Performance, 3.10 Updates, and More

Tuesday, October 12, 2021

Beating C and Java, Python Becomes the #1 Most Popular Programming Language, Says TIOBE #494 – OCTOBER 12, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Beating C and Java, Python Becomes the #1

All Things Python 3.10, Proportional Fonts, Python Editors, and More

Tuesday, October 5, 2021

Python 3.10: Cool New Features for You to Try #493 – OCTOBER 5, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.10: Cool New Features for You to Try Explore some of the coolest and most

Python GIL Deep-Dive, Django 4.0 is Coming, Python as a Build Tool, and More

Tuesday, September 28, 2021

Python Behind the Scenes: The GIL and Its Effects on Python Multithreading #492 – SEPTEMBER 28, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Behind the Scenes: The GIL and Its Effects on

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