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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your