- Python Weekly
- Posts
- Python Weekly (Issue 564 August 25 2022)
Python Weekly (Issue 564 August 25 2022)
Python Weekly - Issue 564
Python Weekly
Welcome to issue 564 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor
A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.
News
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
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__.
A GPT-3-like AI model for science would accelerate innovation and improve reproducibility. Creating it will require us to unlock research.
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.
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.
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.
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.
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.
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.
This post explains the creation and use of the benchmark dataset to measure the performance of the current PyPI malware checks.
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.
Interesting Projects, Tools and Libraries
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.
A human-readable regular expression module for Python.
High Dynamic Range View Synthesis from Noisy Raw Images.
The most accurate natural language detection library for Python, suitable for long and short text alike.
Opinionated list of best practices and conventions we used at our startup.
A Python library of interactive CLI elements you have been looking for.
OSINT automation for hackers.
Lightning fast forecasting with statistical and econometric models.
Flask Boilerplate and Your Guide to Flask in 2022.
Our Other Newsletters
- A free weekly newsletter for programmers.
- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.