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.

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

➡️ 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

iOS Dev Weekly - Issue 688

Friday, November 22, 2024

How do you get an app featured on the App Store? There's a new process, and it's great! 📝 View on the Web Archives ISSUE 688 November 22nd 2024 Comment Every developer, from solo indie devs to