- Python Weekly
- Posts
- Python Weekly (Issue 552 June 2 2022)
Python Weekly (Issue 552 June 2 2022)
Python Weekly - Issue 552
Python Weekly
Welcome to issue 552 of Python Weekly. Let's get straight to the links this week.
News
New features go beyond conventional effect estimation by attributing events to individual components of complex systems.
A combined attack of typosquatting and StarJacking on the popular python package requests.
Articles, Tutorials and Talks
I spent a COVID summer (and then some) integrating mypyc into Black to double performance. How was it?
Pt. 2 - Optimization - Compiling Black without errors or warnings was the easy bit, now I had to optimize it for mypyc.
Pt. 3 - Deployment - mypyc can compile Black and provide respectable performance gains, let's deploy it in production!
With this article, we will investigate problem solving techniques for Django apps. The goal is to equip you with tools to fix the real problems that you’ll hit when building your Django site.
Learn how to send your first transaction on the Ethereum blockchain using Python and the Web3 package
Python introduced asynchronous programming capabilities in version 3.4 in 2014, with further notable improvements in almost every minor version since. However, to many Python programmers, this area of the language remains esoteric, misunderstood, and underutilized. This article aims to elucidate the fundamental concepts of asynchronous programming as part of the first step towards mastery.
Python generators are mighty, but they lack a couple of useful features. One of them is peeking at the next item without consuming the generator. Even better, what if we could peek any number of items? Another feature lacking from generators is rewinding/backtracking. We will implement both of those features in a couple of different ways.
The Jupyter Notebook is a great tool for experimentation with code. It provides the REPL (read-eval-print loop) with a visual interface for plots, tables and many more. You can mix Markdown and a selected programming language (usually Python). It is a default choice of development and experimentation environment for data scientists and machine learning practitioners. Have you heard about other ways to use the Jupyter Notebook? Let’s explore 8 alternative ways of using the Jupyter Notebook that might surprise you!
In this article, we will take a brief look at how Python strings are implemented, why they consume so much memory and we will examine certain interesting aspects of Python string.
In this post, I'll walk through how we enriched and integrated ETH's global canopy dataset into our decision-making process for rolling out 5G across California.
Convolutional Neural Networks can be used to train computers to recognize objects in images. This allows us to recognize objects or people in images or video. It is helps automate the process of finding cancerous tumors. It is also used to implement driverless car technology and more.
Here’s why you should never force-delete Kubernetes resources or remove their finalizers.
Lightweight emails without Celery. And without a request-response cycle.
In this tutorial we’ll walk through how you can set up your Raspberry Pi as your own home server. We’ll go through what you need to get started, and how to set up the computer and operating system. We’ll go through this process “headless” so you won’t need a spare keyboard / monitor to set up the Raspberry Pi. We’ll be able to SSH directly into it from your main computer.
Celery worker is a simple, flexible, and reliable distributed system to process vast amounts of messages while providing operations with the tools required to maintain such a system. In this tutorial, we will learn how to implement Celery with Flask and Redis.
Interesting Projects, Tools and Libraries
Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch.
Brainf**k IDE using python, bundled with it's own compiler.
Pin your Python dependencies as you would with pip-compile, except in a cross-platform way.
Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API.
simple-homepage is a command line utility that helps you create a simple static homepage for your browser
A Python package for fast and robust Image Stitching.
A modern and customizable python UI-library based on Tkinter.
ActionPoser is a rigging addon for Blender Currently the main feature is creation of action constraint driven rigging.
New Releases
Due to a known incompatibility with pytest and the previous beta release (
) and after some deliberation, Python release team have decided to do an expedited release of Python 3.11.0b3 so the community can continue testing their packages with pytest and therefore testing the betas as expected.
Upcoming Events and Webinars
There will be a talk, Python Development with Visual Studio 2022.
In this beginner-friendly talk, you'll learn about Synthetic Data, the problems it solves, and how to get started generating as much relevant data as you want.
There will be following talks
Build beautiful, publication-quality books and documents from computational material with Jupyter Book and MyST
Introduction to Hugging Face Ecosystem
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.