Skip to content

Issue #538 (Aug. 16, 2022)

#538 – AUGUST 16, 2022

NLP Forward With Transformer Models and Attention

What’s the big breakthrough for Natural Language Processing (NLP) that has dramatically advanced machine learning into deep learning? What makes these transformer models unique, and what defines “attention?” This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, continues our talk about how machine learning (ML) models understand and generate text.

“Unstoppable” Python Remains More Popular Than C and Java

“Python seems to be unstoppable,” argues the commentary on August’s edition of the TIOBE index, which attempts to calculate programming-language popularity based on search results for courses, vendors, and “skilled engineers”.

Scout APM: Built For Developers, By Developers

Scout APM is a python monitoring tool designed to help developers find and fix performance issues quickly. With an intuitive user interface, Scout will tie bottlenecks to source code so you can quickly pinpoint and resolve performance abnormalities. Start your 14-day free trial today →
SCOUT APM sponsor

Adding Auditing to Pip

In light of recent supply-chain attacks on PyPi, people are talking about how to help secure their environments. Discussions on adding a security audit feature to pip have begun, but opinions differ widely. This article summarizes the conversation so far.

Finding Performance Problems: Profiling or Logging?

Statistical profiling takes a sample of your code at run time and in intervals inspects the performance. Learn how to use this to help determine your performance bottlenecks even in production code.

Python 3.11.0rc1 Released



Is Django Really the Slowest and Most Incomplete Framework?


What Python Feature Made You Think “Wow That’s a Thing?”


Python Jobs

Software Engineer Backend/Python (Anywhere)


Software Engineer (Los Angeles or Dallas, USA)

Causeway Capital Management LLC

Backend Software Engineer (Anywhere)


Backend Engineering Manager (Anywhere)


Python/JavaScript Full-Stack Engineers (Anywhere)

United States Senate Sergeant at Arms

More Python Jobs >>>

Articles & Tutorials

Sorting a Python Dictionary: Values, Keys, and More

In this tutorial, you’ll get the lowdown on sorting Python dictionaries. By the end, you’ll be able to sort by key, value, or even nested attributes. But you won’t stop there—you’ll go on to measure the performance of variations when sorting and compare different key-value data structures.

PEP 682 – Format Specifier for Signed Zero

Somewhat surprising to math people, both floats and the Decimal package support negative zero. As this can cause strange results, Python Enhancement Proposal 682 suggests a change to the string format specification to automatically normalize negative zero to positive zero.

Ray Summit 2022: The Industry Conference for Scalable AI and Python Applications

Join us August 22-24 in San Francisco to learn what’s next in AI and how Ray is transforming scalable AI and ML.
ANYSCALE sponsor

The Many Flavors of Hashing

As Python has the dict type built-in and hashing is a common part of objects, it is easy to forget that there is more than one way to hash an object. This high-level article describes many ways hashes are used in programming and the associated algorithms.

Text Extraction Using PyMuPDF

PyMuPDF is an open source Python programming library which provides convenient access to the C library MuPDF. This blog post explores text extraction using PyMUPDF and what differentiates it from other approaches.
HARALD LIEDER • Shared by Harald Lieder

How to Add a Text Editor to Django With Summernote

“No one wants to read unformatted text.” This article teaches you how to use the Summernote WYSIWYG editor plug-in to add formatting and images to your posts.

10 Malicious Python Packages Found

Ten more malicious packages have been found in a series of supply-chain attacks on PyPi. Increasingly, hosting sites are discussing how to handle the situation, with GitHub creating an RFC on package signing.

Exploring Special Function Parameters

In this Code Conversation video course, you’ll explore special function parameters that allow for positional-only arguments, keyword-only arguments, or a combination of the two.

The Magic of Matplotlib Stylesheets

With a single line of code, you can integrate a stylesheet with your Matplotlib visualization. This tutorial shows you how to make your very own custom reusable stylesheet.
KEVIN WHITE • Shared by Kevin White

Building a Slack-Bot With Python and Supabase

Learn how to use Python and Supabase to build a Slack-bot that consolidates messages from several channels.
RAMIRO NUÑEZ DOSIO • Shared by Ramiro Nuñez Dosio

Projects & Code

jnumpy: Writing Python C Extensions With Julia


django-pgtrigger: Postgres Triggers in Django

GITHUB.COM/OPUS10 • Shared by Wes Kendall

perftester: Lightweight Performance Testing of Python

PYPI.ORG • Shared by Marcin Kozak

docker-django-example: Django on Docker Example



SOLID’s Single Responsibility Principle

August 17, 2022

An Introduction to Cloud-Native Web Applications

August 17, 2022

Weekly Real Python Office Hours Q&A (Virtual)

August 17, 2022

Heidelberg Python Meetup

August 17, 2022


August 17, 2022

Happy Pythoning!
This was PyCoder’s Weekly Issue #538.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s