Python Weekly (Issue 561 August 4 2022)

Python Weekly - Issue 561

Python Weekly

Welcome to issue 561 of Python Weekly. Let's get straight to the links this week.

From Our Sponsor 

. Drag and drop 90+ UI components to build any interface—then connect your data, deploy the app, and share with your users. Ship in record time with easy-to-use settings, styles, and themes.

Articles, Tutorials and Talks

Python standard library offers 3 concurrency APIs. How do you know which API to use in your project? In this tutorial you will discover helpful step-by-step procedures and helpful questions to guide you to the most appropriate concurrency API.

Let's make the CPython team regret adding pattern matching to Python!

In this article we will explore advanced features of match/case syntax - or as it's properly called - structural pattern matching. As well as tips and tricks for using it effectively, including recipes that will help you use it to it's full potential.

This tutorial shows how to build a Django app with REST Framework and create OpenAPI 3 definitions with awesome library drf-spectacular.

In this video we benchmark some of the python pandas alternative libraries and benchmark their speed on a large dataset. We look at four different libraries: Dask, Modin, Ray and Vaex. 

In this article, the first in a two-part series, you'll learn how to create a window and load it with dynamic content. The real power of the TUI will be shown in the second article, which shows how to display useful information from GDB.

This post shares intermediate-level Python tricks. It also covers some newer features of Python you may not have started using yet. 

Firebase authentication is Google Cloud Platform's user management system. Here's how to integrate it with FastAPI.

Leveraging open-source computer vision models to generate basketball highlights.

Interesting Projects, Tools and Libraries

An attempt to build a locally hosted version of GitHub Copilot. It uses the SalesForce CodeGen models inside of NVIDIA's Triton Inference Server with the FasterTransformer backend.

A DALL·E 2 API Wrapper for Python.

Resoto creates an inventory of your cloud, provides deep visibility, and reacts to changes in your infrastructure.

An authorization system based exclusively on allow lists.

Serve any model without boilerplate code.

A PoC implementation for an evasion technique to terminate the current thread and restore it before resuming execution, while implementing page protection changes during no execution.

Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. 

New Releases

It contains many new features, numerous bug-fixes, improved test coverage and better documentation. There have been a number of deprecations and API changes in this release, which are documented in the release notes.

The release notes cover the profusion of new features in detail, but a few highlights are:

  • An async interface to the ORM, and the ability to define async handlers on class-based views.

  • The use of ORM-defined database constraints in model validation.

  • Better form rendering accessibility and output style customization.

Python 3.10.6 is the newest major release of the Python programming language, and it contains many new features and optimizations.

Upcoming Events and Webinars

There will be a talk, Discord Bots in Python.

What is refactoring? How do you know what to do? When should you do it? In this talk, we will get a primer on refactoring.

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.