Python Weekly (Issue 542 March 17 2022)

Python Weekly - Issue 542

Python Weekly

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

News

A slew of obsolete modules are slated to be dropped from Python, a possible prelude to a process for keeping the standard library cleaner.

Articles, Tutorials and Talks

Face it, your pandas code is slow. Learn how to speed it up! In this video Rob discusses a key trick to making your code faster! Pandas is an essential tool for any python programmer and data scientist

Here at Baserow we’re using the Django ORM in a unique way. We generate dynamic models that we use to mutate user data. With Baserow, non-technical users can create their own no-code database without technical knowledge. Think of it as a hybrid relational database with a slick UI. To safely do so, we try to use as much of the Django ORM as much possible. In this post, we’ll explore how we’ve pushed the ORM to its limits whilst building Baserow’s key backend features.

Everything you ever wanted for your Python project’s continuous integration pipeline — up and running in matter of minutes

Discussion covers in depth: the Celery task processing framework, it’s architecture and the underlying messaging protocol libraries on which it it is built; how to setup Celery for your project, and examine the various scenarios for which Celery can be leveraged; how Celery handles task failures, scaling;; weaknesses of Celery, what is next for the Celery project and the improvements planned for the project.

If you need to process a large JSON file in Python, it’s very easy to run out of memory. One common solution is streaming parsing, aka lazy parsing, iterative parsing, or chunked processing. Let’s see how you can apply this technique to JSON processing.

SonarQube helps you write your cleanest code ever. With over 150 unique rules to find Bugs, Vulnerabilities, Security Hotspots, and Code Smells, SonarQube gives developers the tools they need to find and fix quality and security issues. No extra luck required.

SPONSORSecurity and DjangoYou want to protect your user's privacy, right? The goal is noble and users demand it, but how do you do it? In this article, we'll look at some areas that improve the security of your application.The great Python dataframe showdown, part 1: Demystifying Apache ArrowThis post is the first part of our series "The great Python dataframe showdown", where we set out to uncover powerful Python libraries to work with dataframes other than pandas that are less widespread but interesting and useful.FastAPI Microservices Full Course In this video, we will create a simple Microservices app using FastAPI. We will use RedisJSON as a Database and dispatch events with Redis Streams. RedisJSON is a NoSQL database just like MongoDB and Redis Streams is an Event Bus just like RabbitMQ or Apache Kafka.Jupyter EverywhereEasily embed a console, a notebook, or a fully-fledged IDE on any web page.Running PyTorch Models on Jetson NanoNvidia Jetson Nano, part of the Jetson family of products or Jetson modules, is a small yet powerful Linux (Ubuntu) based embedded computer with 2/4GB GPU. With it, you can run many PyTorch models efficiently. This document summarizes our experience of running different deep learning models using 3 different mechanisms on Jetson NanoAnalyzing intraday and overnight stock returns with pandasThere are big differences between overnight and intraday stock returns. This article shows how to use pandas to understand one big reason.Solving Laplace's Equation in Python Using Convolutions A Gentle Introduction to Testing with PyTestUnravelling Python's classesInteresting Projects, Tools and LibrariesUltraDictSychronized, streaming Python dictionary that uses shared memory as a backend.ReactivatedZero-configuration Django and React. Together at last.Dude Dude is a very simple framework for writing a web scraper using Python decorators. pointers.pyBringing the hell of pointers to Python.dinghyA GitHub activity digest tool.notebookerProductionise and schedule your Jupyter Notebooks, just as interactively as you wrote them.kubricA data generation pipeline for creating semi-realistic synthetic multi-object videos with rich annotations such as instance segmentation masks, depth maps, and optical flow.drf-exceldrf-excel provides an Excel spreadsheet (xlsx) renderer for Django REST Framework. It uses OpenPyXL to create the spreadsheet and provide the file to the end user.uproot-browserIt enables a user to browse and look inside a ROOT file, completely via the terminal. nn-templateGeneric template to bootstrap your PyTorch project.mdecDecompilation as a Service. Explore multiple decompilers and compare their output with minimal effort. Upload binary, get decompilation.New ReleasesPython 3.10.3, 3.9.11, 3.8.13, and 3.7.13 are now available with security contentUpcoming Events and WebinarsVilniusPy Meetup March 2022There will be following talks Test automation infrastructure for mainframe Intro to wave function collapseVirtual: PyData Chicago March 2022There will be talk, Railroad Crossings Inspection Using 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.