- Python Weekly
- Posts
- Python Weekly (Issue 581 December 22 2022)
Python Weekly (Issue 581 December 22 2022)
Python Weekly - Issue 581
Python Weekly
Welcome to issue 581 of Python Weekly. This is the final issue of 2022. We will be back on January 5th, 2023 after the holiday break. Wish you all a Happy New Year and have a wonderful holiday.
News
The next breakthrough to take the AI world by storm might be 3D model generators. This week, OpenAI open sourced Point-E, a machine learning system that creates a 3D object given a text prompt. According to a paper published alongside the
, Point-E can produce 3D models in one to two minutes on a single Nvidia V100 GPU.
Everyone! We want all kinds of proposals from people of all experience levels. Whether you’ve never given a talk at a conference, or have given dozens. Whether you just discovered Python, or are an old hand. Whether you’re a programmer, designer, scientist, or music theorist (or whatever). We want to hear what you have to share!
Articles, Tutorials and Talks
Running Python inside ChatGPT shows some amazing capabilities that ChatGPT has to understand Python code and evaluate it for you.
See some common mistakes when writing Python Async and learn how to avoid them to increase your code's performance.
Automating your CI/CD workflow just got easier with GitHub Actions. In this video, you'll learn how to set them up and find out how Pulumi's technology can help make the process faster and more efficient.
Here we show how image search can be evolved to add localization and re-ranking by leveraging Marqo, yolox, CLIP and OWL-ViT. Adding the extra dimension of localization can improve retrieval performance and enable new use cases for image search while also helping with explainability. Re-ranking with an open vocabulary detection model allows for even finer-grained localsiation. The first part of the article covers background information while the second part contains working code
The first post talked about dependency management, and laid out an approach to it designed to ensure (as much as possible) it doesn’t become a source of unexpected bugs. This second post in the series talks about what’s generally called “code quality” — tools to help you identify potential bugs, and other problems, as early as possible, ideally before they ever get merged into your codebase, let alone deployed to production).
Or, how I almost failed to search a 37 GB text file in under 1 millisecond (in Python).
In this article, I’ll survey a number of popular options for applying functions to pandas DataFrames in parallel.
First time anti-debug techniques are discovered in PyPI malware. Read how these techniques are implemented, including analysis and tips from JFrog Security Research.
Disentangle the dependencies between your packages.
Get rid of annoying SettingWithCopyWarning messages.
Python's magic methods - also known as dunder (double underscore) methods - can be used to implement a lot of cool things. Most of the time we use them for simple stuff, such as constructors (__init__), string representation (__str__, __repr__) or arithmetic operators (__add__/__mul__). There are however many more magic methods which you probably haven't heard about and in this article we will explore all of them (even the hidden and undocumented)!
Interesting Projects, Tools and Libraries
Easy way to run 100B+ language models without high-end GPUs. Up to 10x faster than offloading.
Stable diffusion for real-time music generation.
An application framework for building async Python micro services.
tiktoken is a fast BPE tokeniser for use with OpenAI's models.
A node-based image processing GUI aimed at making chaining image processing tasks (especially upscaling done by neural networks) easy, intuitive, and customizable.
Stable Tuner wants to be the easiest and most complete Stable Diffusion tuner.
Runs checks to see if an EKS cluster follows EKS Best Practices.
A Python script to automatically coerce a Windows server to authenticate on an arbitrary machine through 12 methods.
A Unified Framework for Surface Reconstruction.
A list of open geospatial datasets on AWS.
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.