- Python Weekly
- Posts
- Python Weekly (Issue 526 November 18 2021)
Python Weekly (Issue 526 November 18 2021)
Python Weekly - Issue 526
Python Weekly
Welcome to issue 526 of Python Weekly. Let's get straight to the links this week.
Articles, Tutorials and Talks
What is Infrastructure as Code? Learn in this course and get hands-on practice by implementing three IaC projects.
The Trojan Source vulnerabilities have been rippling through various development communities since their disclosure on November 1. The oddities that can arise when handling Unicode, and bidirectional Unicode in particular, in a programming language have led Rust, for example, to check for the problematic code points in strings and comments and, by default, refuse to compile if they are present. Python has chosen a different path, but work is underway to help inform programmers of the kinds of pitfalls that Trojan Source has highlighted.
The part 1 dove into Spotify Codes and explained the general technical concepts of how they work. This article is going to be a little bit more technical than part 1 as the author tries to explain exactly how Spotify encodes their barcodes.
Dictionaries are best used for key-value lookups: we provide a key and the dictionary very quickly returns the corresponding value. But what if you need both key-value lookups and iteration? It is possible to loop over a dictionary and when looping, we might care about the order of the items in the dictionary. With dictionary item order in mind, you might wonder how we can sort a dictionary?
A conversation with Daniel Roy Greenfeld, co-author of the Two Scoops of Django book series and creator of a large number of Python and Django open source projects.
This post shows you how to hack games by editing the memory with a cheat engine and we will also write a program in python that will automatically edit the memory and do the hack for us.
This article introduces a new cloud-based Python dependency resolver created by Project Thoth. Running in the cloud, Thoth uses reinforcement learning techniques and your desired criteria to resolve Python library dependencies. Moreover, a pluggable interface lets you fix underpinning and overpinning issues (that is, where specified versions of packages are too strict or too lax) and make additional adjustments to the resolution process. The process takes into consideration the runtime environment, hardware, and other inputs to the cloud-based resolver.
Conda installs are very slow, but you can speed them with a much-faster Conda reimplementation called Mamba.
Contrasting how each language handles iteration helps understand how to work effectively in either.
VS Code has many features that make it a useful platform for Jupyter Notebook development.
Books
An open access book on scientific visualization using python and matplotlib.
Interesting Projects, Tools and Libraries
Trainable PyTorch reproduction of AlphaFold 2.
An experimental Python-to-C transpiler and domain specific language for embedded high-performance computing.
arxiv-sanity, but very lite, simply providing the core value proposition of the ability to tag arxiv papers of interest and have the program recommend similar papers.
tiptop is a command-line system monitoring tool in the spirit of top. It displays various interesting system stats, graphs it, and works on all operating systems.
Video Stream is an Advanced Telegram Bot that allows you to play Video & Music on Telegram Group Video Chat.
TorchGeo is a PyTorch domain library, similar to torchvision, that provides datasets, transforms, samplers, and pre-trained models specific to geospatial data.
Automatically remove the mosaics in images and videos, or add mosaics to them.
Execute ELF files without dropping them on disk.
Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
Rocket-recycling with Reinforcement Learning.
New Releases
3.9.9 was released out of schedule as a hotfix for an argparse regression in Python 3.9.8 which caused complex command-line tools to fail recognizing sub-commands properly. Details in BPO-45235. There are only three other bugfixes in this release compared to 3.9.8.
Upcoming Events and Webinars
The XtremePython online conference is organised by developers for developers! It includes 6 small sessions (25min each).
There will be following talks
Everyday Jupyter
Graphviz (create charts and diagrams with Python)
FFMPEG (create videos with Python)
There will be following talks
Scalable crawling with Kafka, Scrapy and Spark
Metrics for the Quality of a Software Engineering Process
Make your software architecture shine with Domain Driven Design
From Python to Product
There will be following talks
ATHENA Art Assistant - Women & AI Creations
Hyper parameter tuning with Deep learning
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.