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.

Key phrases

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

gpt2-chatbot and OpenAI search engine - Weekly News Roundup - Issue #465

Friday, May 3, 2024

Plus: Med-Gemini; Vidu - Chinese answer to OpenAI's Sora; the first race of Abu Dhabi Autonomous Racing League; deepfaking celebrities to teach math and physics; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

NASA comes to the rescue of crowded rocket launch sites

Friday, May 3, 2024

Plus: Fisker's legal woes and Sprinklr lays off 100 View this email online in your browser By Christine Hall Friday, May 3, 2024 Good afternoon, and welcome to TechCrunch PM. We made it to Friday,

🎮 Forget the PS5 Pro, I Still Love My PS4 — The Best Lock Screen Widgets for iPhone

Friday, May 3, 2024

Also: Smart Home Mistakes to Avoid, and More! How-To Geek Logo May 3, 2024 Did You Know Half of the world's geysers are located in Yellowstone National Park. 🔑 More Passkeys Happy Friday! You can

JSK Daily for May 3, 2024

Friday, May 3, 2024

JSK Daily for May 3, 2024 View this email in your browser A community curated daily e-mail of JavaScript news The Power of React's Virtual DOM: A Comprehensive Explanation Modern JavaScript

Musk raises $6B for AI startup

Friday, May 3, 2024

Also, is TikTok dodging Apple's commissions? View this email online in your browser By Haje Jan Kamps Friday, May 3, 2024 Welcome to Startups Weekly — Haje's weekly recap of everything you can

SWLW #597: Seek first to understand, The "Iterative Adjacent Possible", and more.

Friday, May 3, 2024

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

iOS Dev Weekly - Issue 659

Friday, May 3, 2024

Is Swift 6 hitting one of the REAL hard problems? Not generics, not data race safety, but naming things! 😬 View on the Web Archives ISSUE 659 May 3rd 2024 Comment Naming things is one of the two hard

Daily Coding Problem: Problem #1430 [Easy]

Friday, May 3, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. You have a large array with most of the elements as zero. Use a more space-

Making sense of product management

Friday, May 3, 2024

​ Getting a sense of product sense Whenever I hear the term product sense, I think back to a Seinfeld episode about write-offs (with a little artistic license). Jerry: “You don't even know what

Charted | The Carbon Footprint of Major Travel Methods 🌐

Friday, May 3, 2024

Transport accounts for nearly one-quarter of global energy-related CO2 emissions. This chart shows the carbon footprint of travel methods. View Online | Subscribe Presented by: Morningstar Discover the