Python Weekly - Python Weekly - Issue 551

View this email in your browser

Python Weekly

Welcome to issue 551 of Python Weekly. Let's get straight to the links this week.
News

Popular Python and PHP libraries hijacked to steal AWS keys
PyPI module 'ctx' that gets downloaded over 20,000 times a week has been compromised in a software supply chain attack with malicious versions stealing the developer's environment variables. The threat actor even replaced the older, safe versions of 'ctx' with code that infiltrates the developer's environment variables, to collect secrets like Amazon AWS keys and credentials.

DjangoCon US 2022 Call for Proposals
DjangoCon US 2022 call for proposals is open. Submit your talk and tutorial proposals by 2022-06-10.


Articles, Tutorials and Talks

How To Write Unit Tests For Existing Python Code // Part 1 of 2 
This video shows you a practical example of adding unit tests to existing code. This first part focuses on adding tests while not changing the original code. The second part will show how refactoring the code simplifies test writing while also improving the design.

Multitenancy with FastAPI, SQLAlchemy and PostgreSQL
Find out how to split your tenant data using PostgreSQL, extend your FastAPI backend to handle multitenancy and perform migrations with Alembic.

Memory Management in Python - Part 1: What Are Pointers?
A tour of some of CPython’s dark memory magic and unintuitive behaviours! 

TDD Practice: Time API with Django
Let's learn some TDD tricks by building a small API with Django. Treat this like a Kata. Follow the steps below exactly the first time through, then practice by completing the task a second time by yourself.

Supervised Clustering: How to Use SHAP Values for Better Cluster Analysis
Cluster analysis is a popular method for identifying subgroups within a population, but the results are often challenging to interpret and action. Supervised clustering leverages SHAP values to identify better-separated clusters using a more structured representation of the data.

The Python GIL: Past, Present, and Future
Learn about the history of Python's GIL and what the future holds for it.

The unreasonable effectiveness of f-strings and re.VERBOSE
A look at one or two ways to make life easier when working with Python regular expressions.

Animating Regular Expressions With Python and Graphviz
Peering into the internals of a regex engine.

Python Standard Library changes in recent years
17 modules with new and improved features.

How to Create a Command-line Application with argparse
Python comes with a built-in library called argparse that you can use to create a command-line interface. In this article, you will learn about Parsing Arguments, Creating Helpful Messages, Adding Aliases, Using Mutually Exclusive Arguments, and Creating a Simple Search Utility.

Useful Python decorators for Data Scientists

PyCon US 2022 Videos 

Finding Binary & Decimal Palindromes

Bundling binary tools in Python wheels

How to Make Automatic Supercuts

A New Way to Automate Google Sheets with Python

Just enough git and GitHub to be productive


Interesting Projects, Tools and Libraries

Tetra
A full stack component framework for Django using Alpine.js

PikaScript
Cross platform ultra lightweight embedded Python engine.

NiChord
NiChord is a Python package for visualizing functional connectivity data.

Envelope
Insert a message and attachments and send e-mail / sign / encrypt contents by a single line.

gget
gget enables efficient querying of genomic databases, such as Ensembl, UniProt, NCBI, directly into a Python or terminal programming environment.

Objectiv
Objectiv is open-source product analytics infrastructure with a generic event taxonomy.

import-tracker
Python utility for tracking third party dependencies within a library.

CogDB
Micro Graph Database for Python Applications.

Dotdrop
Save your dotfiles once, deploy them everywhere.

GeminiEngine
Gemini Engine is a monospace 2D ASCII rendering engine. It includes collisions, layers, inputs and the ability to handle solid objects as well as ascii art.


Upcoming Events and Webinars

Virtual: PyData Hamburg Meetup May 2022
There will be following talks
  • NLP for Hate-speech detection: Why does it matter and what can we do?
  • Getting Started with MLOps: Tools and Best Practices for Production-Ready Machine Learning Systems

PyData Amsterdam Meetup June 2022
There will be following talks
  • Yield forecasting at AI powered indoor farms
  • Designing and building Miro’s clustering feature
  • Using Machine Leaning to reveal the genetic architecture of vegetable traits
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2022 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 550

Thursday, May 19, 2022

View this email in your browser Python Weekly Welcome to issue 550 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is a new kind of data notebook that's

Python Weekly - Issue 549

Thursday, May 12, 2022

View this email in your browser Python Weekly Welcome to issue 549 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks A Simple & Effective Way To Improve

Python Weekly - Issue 548

Thursday, May 5, 2022

View this email in your browser Python Weekly Welcome to issue 548 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 547

Thursday, April 28, 2022

View this email in your browser Python Weekly Welcome to issue 547 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is a new kind of data notebook that's

Python Weekly - Issue 546

Thursday, April 21, 2022

View this email in your browser Python Weekly Welcome to issue 546 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks StarJacking - Making Your New Open

You Might Also Like

📧 Working with LLMs in .NET using Microsoft.Extensions.AI

Saturday, January 11, 2025

​ Working with LLMs in .NET using Microsoft․Extensions․AI Read on: m​y website / Read time: 6 minutes The .NET Weekly is brought to you by: ​Transform your database performance with RavenDB​:

iOS Dev Weekly – Issue 694

Friday, January 10, 2025

Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Daily Coding Problem: Problem #1664 [Easy]

Friday, January 10, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. A permutation can be specified by an array P , where P[i] represents the

Spyglass Dispatch: The Case for a For-Profit OpenAI

Friday, January 10, 2025

RIP Venu • A More Political and Real Time Threads • An OpenAI Auction • Apple's Tough 2025 The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely topics

⌨️ 10 Mods to Improve Your Mechanical Keyboard — How to Set Up Quick Share on Windows

Friday, January 10, 2025

Also: Why Are Tech Companies Trying to Sell Me Expensive Clocks? How-To Geek Logo January 10, 2025 Did You Know Famed biologist Charles Darwin and US President Abraham Lincoln were born on the same day

Your best friends in design

Friday, January 10, 2025

​ Working With Designers Product manager & UX designer collaboration guide. How members of your product team work together is just as important as the work itself. A fundamental relationship within

Charted | How Canada Would Rank as the 51st State 📊

Friday, January 10, 2025

Donald Trump has floated the idea that Canada should be the 51st state. Here's how it compares statistically. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power AI's

Pinpointing The Actual Problem 🎯

Friday, January 10, 2025

WordPress accidentally diagnoses its own business problem. Here's a version for your browser. Hunting for the end of the long tail • January 10, 2025 Pinpointing The Actual Problem A blog post from

😱Major Azure Outage in EastUS2, 🚀New AI and Azure Developer CLI Courses, azureedge.net DNS retiring

Friday, January 10, 2025

͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

iOS Cocoa Treats

Friday, January 10, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Adopting Swift 6 across the app codebase I've been