Python Weekly - Python Weekly - Issue 564

View this email in your browser

Python Weekly

Welcome to issue 564 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
Get Your Weekly Dose of Programming
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers. Join For Free

News

Phishing campaign targets PyPI users
This is the first known phishing attack against PyPI. Read the details so that you are aware of what is likely an ongoing threat.


Articles, Tutorials and Talks

Memory Management in Python - Part 3: Object Lifetimes and Garbage Collection
We ended Part 2 with an exploration of the weird and wonderful things that can happen when you override the __eq__ magic method in Python. Now, in Part 3, we’re going to look at doing the same thing with a different magic method: __del__.

How to Build a GPT-3 for Science
A GPT-3-like AI model for science would accelerate innovation and improve reproducibility. Creating it will require us to unlock research.

Build Your Own Imagen Text-to-Image Model
Text-to-Image models have made great strides this year, from DALL-E 2 to the more recent Imagen model. In this tutorial learn how to build a minimal Imagen implementation - MinImagen.

Using Mypy in production at Spring
While Mypy adoption comes at a cost (via upfront and ongoing investment, a learning curve, etc.), I’ve found it invaluable for maintaining a large Python codebase. 

Use partial() With Django’s transaction.on_commit() to Avoid Late-Binding Bugs
In this post we’ll look at using four techniques for passing callables to on_commit(), and how the last one (with partial) protects against a potential late-binding bug. We’ll also see how you can check for this bug with flake8-bugbear.

Understanding async Python for the web
What is “async” Python? Why do people care about it so much? And is it really that useful for building web apps? What are all these new frameworks and other tools about? So let’s dive in. 

Professional Pandas: The Pandas Assign Method and Chaining
This is the first in a series of blog posts that teach how to write professional-quality pandas code. In this post, we discuss the pandas assign function, and how it can be used together with chaining to create clean, readable code.

Building A Financial Dashboard In Python With Dash 
Learn how to build a simple financial dashboard in Python using Plotly Dash by diving into loading financial data from a CSV file, generating extra columns, and how to build interactive components to control what you see on the dashboard.

Taming Bad Python Packages: Assessing Python Malware Detectors with a Benchmark Dataset
This post explains the creation and use of the benchmark dataset to measure the performance of the current PyPI malware checks.

Build Your Own Mobile Proxy for Web Scraping
In this guide, we show how you can build your own mobile proxy pool step by step. The most common use case for mobile proxies is web scraping. If you have a low success rate and keep getting blocked by websites you want to scrape, this guide is for you.

How to Create an AI-Assisted Search Engine with Python and txtAI in Seconds 

Analyzing ScotRail audio announcements with Datasette—from prototype to production

You Should Be Using Python's Walrus Operator - Here's Why


Interesting Projects, Tools and Libraries

stable-diffusion
Stable Diffusion is a latent text-to-image diffusion model. Similar to Google's Imagen, this model uses a frozen CLIP ViT-L/14 text encoder to condition the model on text prompts. With its 860M UNet and 123M text encoder, the model is relatively lightweight and runs on a GPU with at least 10GB VRAM. 

humre
A human-readable regular expression module for Python.

NeRF in the Dark
High Dynamic Range View Synthesis from Noisy Raw Images.

lingua-py
The most accurate natural language detection library for Python, suitable for long and short text alike.

fastapi-best-practices
Opinionated list of best practices and conventions we used at our startup.

BeauPy
A Python library of interactive CLI elements you have been looking for.

bbot
OSINT automation for hackers.

StatsForecast
Lightning fast forecasting with statistical and econometric models.

Flask-Backbone
Flask Boilerplate and Your Guide to Flask in 2022.
 
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 563

Thursday, August 18, 2022

View this email in your browser Python Weekly Welcome to issue 563 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 562

Friday, August 12, 2022

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

Python Weekly - Issue 561

Thursday, August 4, 2022

View this email in your browser Python Weekly Welcome to issue 561 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Retool offers a component library and app-building

Python Weekly - Issue 560

Thursday, July 28, 2022

View this email in your browser Python Weekly Welcome to issue 560 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Learn about the object traversal pattern common in

Python Weekly - Issue 559

Thursday, July 21, 2022

View this email in your browser Python Weekly Welcome to issue 559 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Sonar - Home of Clean Python Code. Trusted by over 6

You Might Also Like

From Request to Response: How APIs Work – Beginners Guide

Thursday, March 28, 2024

In the vast expanse of the digital ecosystem, APIs (Application Programming Interfaces) act as critical conduits, facilitating seamless conversations between different software platforms. From clicking

Elastic 8.13 is here: Amazon Bedrock in the AI Assistant for Observability

Thursday, March 28, 2024

Learn about Amazon Bedrock support within the Elastic AI Assistant for Observability ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ ͏‌ elastic | Search. Observe. Protect

A Creative Market Reset 🎨

Thursday, March 28, 2024

Adobe needed some real competition. Now it has some. Here's a version for your browser. Hunting for the end of the long tail • March 27, 2024 A Creative Market Reset Canva's purchase of

Fisker lost millions … then it got them back

Wednesday, March 27, 2024

More Fisker woes View this email online in your browser By Christine Hall Wednesday, March 27, 2024 Welcome back to TechCrunch PM! This afternoon, learn about some new Google features, a startup that

▶️ How to Get Better YouTube Video Recommendations — What to Know About Alexa Skills

Wednesday, March 27, 2024

Also: The Best Samsung Phones of 2024, and More! How-To Geek Logo March 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

JSK Daily for Mar 27, 2024

Wednesday, March 27, 2024

JSK Daily for Mar 27, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Bad Abstractions Could Be Ruining Your Code The code is easy to read and it runs fine -

Ranked | The World's Biggest Oil Producers in 2023 🛢️

Wednesday, March 27, 2024

The word's three biggest oil producers accounted for 40% of production in 2023. View this graphic to learn more. View Online | Subscribe Presented by FEATURED STORY The World's Biggest Oil

Daily Coding Problem: Problem #1394 [Easy]

Wednesday, March 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given the head of a singly linked list, reverse it in-place. Upgrade to premium

Free Event: Watch 10 entrepreneurs launch their AI ideas

Wednesday, March 27, 2024

They built this in 2 months 👀 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Digging into Marissa Mayer’s newest app

Wednesday, March 27, 2024

Plus a snake robot on Saturn's moon View this email online in your browser By Alex Wilhelm Wednesday, March 27, 2024 Welcome to TechCrunch AM! Today we have notes on Marissa Mayer's new app,