Python Weekly (Issue 531 December 23 2021)

Python Weekly - Issue 531

Python Weekly

Welcome to issue 531 of Python Weekly. This will be the final issue of 2021. We will be back on January 6th, 2022 after the holiday break. Wish you all a Happy New Year and have a wonderful holiday.

Articles, Tutorials and Talks

Learn about asynchronous programming in this tutorial where I explain the basics of async and await in Python and show you how you can run programs in parallel.

A mini-guided tutorial showing how to use virtual environment and why it's matters on virtualenv and poetry illustrated examples.

Machine learning-based program analyses have recently shown the promise of integrating formal and probabilistic reasoning towards aiding software development. However, in the absence of large annotated corpora, training these analyses is challenging. Towards addressing this, we present BUGLAB, an approach for selfsupervised learning of bug detection and repair. BUGLAB co-trains two models: (1) a detector model that learns to detect and repair bugs in code, (2) a selector model that learns to create buggy code for the detector to use as training data. 

Learn how to use htmx to make Django list views dynamic without having to write any JavaScript.

By the end of this article, you will be able to write an information extraction NLP pipeline using spaCy’s Matcher. It will extract dividend information from news headlines and articles.

Why previous versions of Pyodide had a low recursion limit and how the upcoming version 0.19 supports a much higher one.

GuPPy is designed to operate across computing platforms and can accept data from a variety of FP data acquisition systems. The program presents users with a set of graphic user interfaces (GUIs) to load data and provide input parameters. Graphs are produced that can be easily exported for integration into scientific figures.

IBM defines a digital twin as follows “A digital twin is a virtual model designed to accurately reflect a physical object”. This is a step-by-step guide to building a digital twin example of an electronic switch (transistor) with Python.

Meta has announced an early beta release of Bean Machine, a PyTorch-based probabilistic programming system that makes it easy to represent and to learn about uncertainties in the machine learning models that we work with every day.

Interesting Projects, Tools and Libraries

Transcribe everything in the music, including vocal, drum, chord, beat, instruments, and more.

Easily run Windows software on Linux with Bottles!

Lightning-fast DataFrame library for Rust and Python.

Automatically reload your browser in development.

A self-hosted streaming platform with Discord authentication, auto-recording and more!

A Frustratingly Simple Model for Video Instance Segmentation.

Fiber implements an proof-of-concept Python decorator that rewrites a function so that it can be paused and resumed (by moving stack variables to a heap frame and adding if statements to simulate jumps/gotos to specific lines of code).

Code2flow generates call graphs for dynamic programming language. Code2flow supports Python, Javascript, Ruby, and PHP.

Quickly build Explainable AI dashboards that show the inner workings of so-called "blackbox" machine learning models.

Dataklasses is a library that allows you to quickly define data classes using Python type hints.

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.

Open Source framework for Large-scale transformer Optimization.

Expand human face editing via Global Direction of StyleCLIP, especially to maintain similarity during editing. 

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.