Python Weekly (Issue 527 November 25 2021)

Python Weekly - Issue 527

Python Weekly

Welcome to issue 527 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.

Articles, Tutorials and Talks

Learn how to use Python and Pandas for data analysis. This course will be especially helpful if you have experience with Excel, but that is not required. Learn how to create pivot tables, work with data, and make visualizations using Python, Pandas, and Jupyter Notebook.

This article will teach you about the minimax algorithm and alpha-beta pruning, from a beginner's perspective.

When you compare Python and JavaScript async code, you may think they are very much alike, since both use the async/await pattern. In reality, there is a significant difference between the two, which in my opinion, makes the JavaScript async model superior to Python's. Do you want to know what the difference is, and how to make async Python work like async JavaScript? Watch or read on for the details!

You can use ThreadPoolExecutor for IO-bound tasks and ProcessPoolExecutor for CPU-bound tasks. In this tutorial, you will discover the difference between the ThreadPoolExecutor and ProcessPoolExecutor and when to use each in your Python projects.

In this presentation and live demo, we explore the benefits of functional programming, and how Python makes it easy.

In this post, we will share details about 11 new malware packages that we’ve recently discovered and disclosed to the PyPI maintainers (who promptly removed them). Based on our latest findings, in this post we highlight some of the more advanced techniques used by Python malware developers to avoid detection and remain in the repository in order to infect as many machines as possible.

Protocols in Python provide a nice way to use duck typing while still having some static type guarantees. You can define contracts for your functions without caring too much about the actual types of your inputs.

As the goal is to have the fastest way to upload your notebook and share it with someone, there is no signup or user accounts necessary. Just upload your notebook, get the link, and share it however you want. 

This post gives you a short introduction to PyO3 and then discusses several example functions, written in Rust and called from Python. 

Some things I learned supporting infectious disease epidemiologists.

This post describes 6 best practices when containerizing Python applications with Docker.

This post describes how we utilize Vue.js to enhance our web applications. 

Using Voronoi diagrams and a lot of Perlin/Simplex noise.

Learn why observability is important for Python and how to implement it into your software development lifecycle.

This video goes over basic analytical reconstruction techniques in the field of computed tomography. It manually shows how back projection and filtered back projection work, and then give the corresponding functions from the skimage library.

Interesting Projects, Tools and Libraries

Dataset format for AI. Easily build and manage datasets for machine and deep learning. Stream data real-time & version-control it.

Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions to minimize database access requirements of Auth.

Writing large ZIP archives without memory inflation.

A library to build Graph Neural Networks on the TensorFlow platform.

An easy-to-use library for emulating code in minidump files.

A natural language processing pipeline for books.

Do you like Python, but think that multiple inheritance is a bit too flexible? Are you looking for a more constrained way to define interfaces and re-use code? Try using PyTraits!

The rst2pdf tool creates PDF documents from your ReStructured Text markup.

ByteTrack is a simple, fast and strong multi-object tracker.

A deep learning library for video understanding research.

New Releases

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.