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

WebAIM November 2024 Newsletter

Friday, November 22, 2024

WebAIM November 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/november Features Using Severity Ratings to Prioritize Web Accessibility Remediation When it comes to

➡️ Why Your Phone Doesn't Want You to Sideload Apps — Setting the Default Gateway in Linux

Friday, November 22, 2024

Also: Hey Apple, It's Time to Upgrade the Macs Storage, and More! How-To Geek Logo November 22, 2024 Did You Know Fantasy author JRR Tolkien is credited with inventing the main concept of orcs and

JSK Daily for Nov 22, 2024

Friday, November 22, 2024

JSK Daily for Nov 22, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Spyglass Dispatch: The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen

Friday, November 22, 2024

The Fate of Chrome • Amazon Tops Up Anthropic • Pros Quit Xitter • Brave Powers AI Search • Apple's Lazy AI River • RIP Enrique Allen The Spyglass Dispatch is a free newsletter sent out daily on

Charted | How the Global Distribution of Wealth Has Changed (2000-2023) 💰

Friday, November 22, 2024

This graphic illustrates the shifts in global wealth distribution between 2000 and 2023. View Online | Subscribe | Download Our App Presented by: MSCI >> Get the Free Investor Guide Now FEATURED

Daily Coding Problem: Problem #1616 [Easy]

Friday, November 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Alibaba. Given an even number (greater than 2), return two prime numbers whose sum will

The problem to solve

Friday, November 22, 2024

​ Use problem framing to define the problem to solve This week, Tom Parson and Krishna Raha share tools and frameworks to identify and address challenges effectively, while Voltage Control highlights

Issue #568: Random mazes, train clock, and ReKill

Friday, November 22, 2024

View this email in your browser Issue #568 - November 22nd 2024 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Whats Next for AI: Interpreting Anthropic CEOs Vision

Friday, November 22, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 22, 2024? The HackerNoon

iOS Cocoa Treats

Friday, November 22, 2024

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Using the SwiftUI ImageRenderer The SwiftUI ImageRenderer