Python News Roundup, Web Performance Benchmarking, Static Duck Typing, and More

#500 – NOVEMBER 23, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python News: What’s New From October 2021?
The Python community gave a warm welcome to Python 3.10 in October 2021. In this article, you’ll catch up on some big events that happened this past month, including Python being named TIOBE’s most popular programming language.
REAL PYTHON

Ignore All Web Performance Benchmarks, Including This One
”[…] measuring web application performance is incredibly complex […] In this article you can see the results of my effort in understanding and fixing this benchmark, re-running it, and finally arriving at a shocking revelation.”
MIGUEL GRINBERG • Shared by Caleb Hattingh

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

Building a Neural Network and Making Predictions With Python AI
In this step-by-step course, you’ll build a neural network from scratch as an introduction to the world of artificial intelligence (AI) in Python. You’ll learn how to train your neural network and make accurate predictions based on a given dataset.
REAL PYTHON course

Static Duck Typing in Python With Protocols
Protocols in Python provide a nice way to use duck typing while still having some static type guarantees. You can define contracts for your functions without caring too much about the actual types of your inputs.
DAAN DEBIE

Minimax Algorithm and Alpha-Beta Pruning
The minimax algorithm and alpha-beta pruning can be used to implement AIs to play games. This tutorial will teach you about the minimax algorithm and alpha-beta pruning, from a beginner’s perspective.
RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão

PyPI User Feedback: PyPI Team Features
The PyPI team is seeking feedback from teams using PyPI. If you use PyPI as a team, consider responding to the (short) poll form at the link.
PYPI TEAM

Django 4.0 Release Candidate 1 Released
DJANGO SOFTWARE FOUNDATION

CPython Dev In-Residence Weekly Report, November 15–21
ŁUKASZ LANGA


Discussions


Python Is Getting Faster, and So Is Django
TWITTER.COM/ADAMCHAINZ

You Can Insert Emoji Using "\N{NAME_OF_EMOJI}"
REDDIT


Python Jobs


Senior Backend Engineer (Anywhere)
BMAT

Senior Backend Software Engineer (Anywhere)
CLAY

Senior Python Engineer (Anywhere)
FLASHPOINT

Senior Software Engineer - Backend (United States)
TOMO

Full Stack Software Engineer (Washington D.C., USA)
QUORUM

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

Python Backend Engineer (Hasselt, Belgium)
MADEWITHLOVE

Full Stack Developer (Anywhere)
LEVEL 12

More Python Jobs >>>


Articles & Tutorials


Building a Content Aggregator and Working With RSS in Python
Have you wanted to work with RSS feeds in Python? Maybe you’re looking for a new project to build for your portfolio that uses Django, unit tests, and custom commands. This week on the show, it’s Real Python author Ricky White talking about his recent step-by-step project titled, “Build a Content Aggregator in Python.”
REAL PYTHON podcast

Combine Coverage for Different Python Versions
Is it enough to run code coverage for a single Python version? Probably, but not necessarily. While this is or was a super important topic when you still needed to support Python 2, also now this is still valid as Python 3 moves forward quickly and requires to have different code paths for different versions.
JÜRGEN GMACH • Shared by Jürgen Gmach

Connect, Integrate, & Automate Your Data  - From Python, or Any Other Application or Tool
CData makes it easier to unlock the value of data — simplifying connectivity between applications and data sources. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise and cloud databases, SaaS, APIs, NoSQL and more. Visit cdata.com to learn more →
CDATA SOFTWAREsponsor

Python Community Interview With Eric Wastl
An interview with Eric Wastl, a Senior Architect at TCGPlayer and the founder of Advent of Code (AoC). Join us as we discuss the inception of AoC, how to avoid common pitfalls when solving code challenges in AoC, and what Eric gets up to in the “3.8 seconds” of free time he has per year.
REAL PYTHON

Building Lists With Python’s .append()
In this step-by-step course, you’ll learn how Python’s .append() works and how to use it for adding items to your list in place. You’ll also learn how to code your own stacks and queues using .append() and .pop().
REAL PYTHON course

Tic Tac Toe Game in Python
Introduction into game development with Python by writing a simple Tic Tac Toe game. Best development practices and designed patterns are included into this step-by-step tutorial.
MISHA BEHERSKY • Shared by Misha Behersky

Using PostgreSQL Views in Django
This article explains how views differ from materialized views and shows how using Postgres views makes querying aggregated data easier and (with materialized views) faster.
JOSH ALLETTO • Shared by Manuel Weiss

Replicating Minecraft World Generation in Python
“I used to play Minecraft as a kid and I always wondered how does it generate never-ending worlds. In this article, I am going to try to replicate this in Python.”
BILAL HIMITE

Python String Formatting Comparison
This article compares the three main string formatting methods in Python and suggests which methods to use in each situation.
RODRIGO GIRÃO SERRÃO

Get Your Next Python Job through Hired
Hired is home to thousands of companies from startups to Fortune 500s actively hiring developers, data scientists, mobile engineers & more. Create a profile & let hiring managers reach out to you. It’s completely free for job-seekers, so don’t wait!
HIREDsponsor

Speed Up Your Conda Installs With Mamba
“Conda installs are very slow, but you can speed them with a much-faster Conda reimplementation called Mamba.”
ITAMAR TURNER-TRAURING

My Journey to Type Checking 7521 Lines of Python
A small recap on how the author added type annotations to the Logilab’s RQL package.
PATRICK NSUKAMI • Shared by Patrick Nsukami

Peculiar Self-References
Here is a tiny Python example that creates a self-referential list…
SUSAM PAL

Movie Name Generation Using GPT-2
JOHN LUDHI

How I Accidentally Built a Podcast API Business With Python/Django
WENBIN FANG • Shared by Wenbin Fang

Beyond the Basics: Data Visualization in Python
GITHUB.COM/STEFMOLIN • Shared by Stefanie Molin


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 →

prometeo: Experimental Python-to-C Transpiler and DSL
GITHUB.COM/ZANELLIA

lark-parser: Friendly, Production-Ready, and Comprehensive Parsing Toolkit
GITHUB.COM/LARK-PARSER

Spack: A Flexible Package Manager
SPACK.READTHEDOCS.IO

friendly-traceback: Now Available in Spanish
ANDRÉ ROBERGE

objprint: Print Python Objects in Human Readable Format
GITHUB.COM/GAOGAOTIANTIAN • Shared by Tian Gao

Comment Webpage Screenshot on Pull Requests (GitHub Action)
GITHUB.COM/SAADMK11 • Shared by Maksudul Haque

📆🐍 Upcoming Python Events


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

⋅ Xtreme Python November 24 to November 25, 2021

⋅ PythOnRio Meetup November 27, 2021

⋅ Introduction to the Python Programming Language (In Persian) November 30, 2021

⋅ Python Sheffield November 30, 2021

⋅ FlaskCon 2021 Online December 1 to December 5, 2021

⋅ PyCon Tanzania December 1 to December 6, 2021

⋅ PyCode Conference December 2 to December 4, 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

Deploying Django, Become the Next PSF Director, Ruby vs Python, and More

Tuesday, November 16, 2021

The PSF Is Searching for Its Next Executive Director #499 – NOVEMBER 16, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo The PSF Is Searching for Its Next Executive Director After announcing earlier

Custom Python for Banks, CLI Apps With Typer, Faster CPython, and More

Tuesday, November 9, 2021

An Oral History of Bank Python #498 – NOVEMBER 9, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo An Oral History of Bank Python Interesting read about the strange world of Python, as used by big

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

Tuesday, November 2, 2021

A Viable Solution for Python Concurrency #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

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

You Might Also Like

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

Re: How to know if your data has been exposed

Monday, December 23, 2024

Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action immediately. Surfshark Alert does just that. It helps you stay

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our