Python Weekly - Python Weekly - Issue 554

View this email in your browser

Python Weekly

Welcome to issue 554 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks

Memory Management in Python - Part 2: Equality
When are two Python objects the same? What does that even mean?

Handling Concurrency Without Locks
Concurrency is not very intuitive - you need to train your brain to consider what happens when multiple processes execute a certain code block at the same time. In this article I present common concurrency challenges and how to overcome them with minimal locking.

Working with Video Data Processing in Python and OpenCV 
In this video tutorial you will learn how to work with video data in python and openCV. Video processing and data analysis has many applications in machine learning, including object detection, pose estimation, and object tracking. Before you can run machine learning on videos you first need a good understanding of how to read and write video files using python and openCV. This tutorial walks through the basics, step by step, with some examples.

Design Patterns in Machine Learning Code and Systems
Design patterns are not just a way to structure code. They also communicate the problem addressed and how the code or component is intended to be used. Here are some patterns I’ve observed in machine learning code and systems.

The Annotated Transformer
The Transformer has been on a lot of people’s minds over the last five years. This post presents an annotated version of the paper in the form of a line-by-line implementation. 

Build internal tools 10x faster with Retool
Retool is the fast way for developers to build and share internal tools. Teams at thousands of companies like Amazon, DoorDash, Peloton, and Brex collaborate around custom-built Retool apps to solve internal workflows. SPONSOR

compatlib or: what not to do in Python
Just because we can, doesn't mean we should.

Taking Datasets, DataLoaders, and PyTorch’s New DataPipes for a Spin
The PyTorch team recently announced TorchData, a prototype library focused on implementing composable and reusable data loading utilities for PyTorch. In particular, the TorchData library is centered around DataPipes, which are meant to be a DataLoader-compatible replacement for the existing Dataset class. This article provides some concise examples along with some thoughts after taking the new DataPipe API for a spin.

Python TensorFlow for Machine Learning – Neural Network Text Classification Tutorial 
This course will give you an introduction to machine learning concepts and neural network implementation using Python and TensorFlow. Kylie Ying explains basic concepts, such as classification, regression, training/validation/test datasets, loss functions, neural networks, and model training. She then demonstrates how to implement a feedforward neural network to predict whether someone has diabetes, as well as two different neural net architectures to classify wine reviews.

Pandas vectorization: faster code, slower code, bloated memory
When you’re processing data with Pandas, so-called “vectorized” operations can significantly speed up your code. Or at least, that’s the theory. In practice, in some situations Pandas vectorized operations can actually make your code slower, or at least no faster. And they can also significantly increase memory usage. Let’s dig in and see what vectorization means in Pandas, when and why it helps, and when it’s harmful.


Interesting Projects, Tools and Libraries

oncall
Developer-friendly incident response with brilliant Slack integration.

makemore
The most accessible way of tinkering with a GPT - one hackable script.

svg.py
Type-safe and powerful Python library to generate SVG files.

HumanNeRF
HumanNeRF turns a monocular video of moving people into a 360 free-viewpoint video.

dalle-flow
A Human-in-the-Loop workflow for creating HD images from text.

flexmeasures
The intelligent & developer-friendly EMS to support real-time energy flexibility apps, rapidly and scalable.

PySR
High-Performance Symbolic Regression in Python.

friendly_idle
Version of friendly-traceback designed to work with Python's IDLE.

Visualkeras
Visualkeras is a Python package to help visualize Keras (either standalone or included in tensorflow) neural network architecture.


New Releases

Python in Visual Studio Code – June 2022 Release
This release includes improvements to: 
  • Localization support
  • Python interpreter discovery 
  • Jupyter extension support on vscode.dev/github.dev  
  • Insiders program for Pylance  


Upcoming Events and Webinars

PyAmsterdam Meetup June 2022
There will be following talks
  • Creating Python Code with Copilot
  • Writing bug-free Python code: a journey from tests to formal verification

Virtual: PyLadies Dublin 
The workshop topic is Image search with DocArray.
 
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 553

Thursday, June 9, 2022

View this email in your browser Python Weekly Welcome to issue 553 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Deepnote is now out of beta and generally available

Python Weekly - Issue 552

Thursday, June 2, 2022

View this email in your browser Python Weekly Welcome to issue 552 of Python Weekly. Let's get straight to the links this week. News AWS contributes novel causal machine learning algorithms to

Python Weekly - Issue 551

Thursday, May 26, 2022

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

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

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