Issue #538

NLP Forward, Python Unstoppable, Auditing in Pip, and More

Aug. 16, 2022

NLP Forward, Python Unstoppable, Auditing in Pip, and More
#538 – AUGUST 16, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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.
REAL PYTHON podcast

“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”.
SLASHDOT.ORG

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 APMsponsor

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.
JAKE EDGE

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.
ITAMAR TURNER-TRAURING

Python 3.11.0rc1 Released
PYTHON.ORG


Discussions


Is Django Really the Slowest and Most Incomplete Framework?
REDDIT

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


Python Jobs


Software Engineer Backend/Python
CLOSE 📍 ANYWHERE

Software Engineer
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES OR DALLAS, USA

Backend Software Engineer
CATALPA 📍 ANYWHERE

Backend Engineering Manager
CLOSE 📍 ANYWHERE

Python/JavaScript Full-Stack Engineers
UNITED STATES SENATE SERGEANT AT ARMS 📍 ANYWHERE

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.
REAL PYTHON

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.
PYTHON.ORG

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.
ANYSCALEsponsor

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.
CIPRIAN DORIN CRACIUN

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.
ALICE RIDGWAY

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.
KEVIN PURDY

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.
REAL PYTHON course

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


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 →

jnumpy: Writing Python C Extensions With Julia
GITHUB.COM/SUZHOU-TONGYUAN

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
GITHUB.COM/NICKJJ

📆🐍 Upcoming Python Events


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

PyStaDa
August 17, 2022
Happy Pythoning!
Copyright © 2022 PyCoder’s Weekly, All rights reserved.