Python Weekly (Issue 545 April 7 2022)

Python Weekly - Issue 545

Python Weekly

Welcome to issue 545 of Python Weekly. I will be away next week and so there won't be newsletter issue.

News

On April 4th, 2002, Greg Ewing published the first release of Pyrex 0.1. Already at the time, it was invented and designed as a compiler that extended the Python language with C data types to build extension modules for CPython. A design that survived the last 20 years, and that made Pyrex, and then Cython, a major cornerstone of the Python data ecosystem. And way beyond that.

Team Nautilus uncovered and analyzed the first Python-based ransomware attack that targets misconfigured Jupyter Notebooks in the wild and encrypts files.

Articles, Tutorials and Talks

In this video we discuss the best way to save off data as files using python and pandas. When you are working with large datasets there comes a time when you need to store your data. Most people turn to CSV files because they are easy to share and universally used. But there are much better options out there! 

Learn about the unknown features of Python’s f-strings — the formatted string literals — and up your text formatting knowledge and skills.

A Kubernetes tutorial for complete beginners.

In this video I solve for the equations of motion of the 3D double pendulum using Lagrangian mechanics (with the assistance of sympy), use scipy to solve the corresponding differential equations that give the motion, and use the package vpython to create a 3D animation.

Write a script in Python that fetches hosts using Nmap to generate dynamic inventories.

This article will show you how to build Streamlit apps and custom Streamlit Components, with the end goal of implementing Auth0 authentication of Streamlit apps using Streamlit Components.

Can potholes be detected based on real-time images input by using a deep learning model on an edge device?

In this tutorial, you’ll learn how to use Python to sort a list using the sort() method. Being able to work with lists is an essential skill in Python, given their prevalence. Because lists are ordered and mutable data structures, we can modify their order. The list.sort() method allows you to do exactly this! The method is a valuable method that allows you to sort in many custom ways.

In this post you will see how the authors took a raw .ipynb notebook that does time series forecasting with Arima, modularized it into a Ploomber pipeline, and ran parallel jobs on Slurm.

This post gives an overview of how the PyPy project does and thinks about testing. 

Scaling to 540 Billion Parameters for Breakthrough Performance.

Interesting Projects, Tools and Libraries

Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.

A data engineering project with Kafka, Spark Streaming, dbt, Docker, Airflow, Terraform, GCP and much more!

MetricFlow allows you to define, build, and maintain metrics in code.

RentFree Media is a media distribution framework built on Django and Wagtail. With it you can publish either public or premium / subscription-based content similar to the features provided in services such as Patreon, Apple Podcasts, and Substack.

CodeGen is an open-source model for program synthesis. Trained on TPU-v4. Competitive with OpenAI Codex.

Self-configuring, encrypted and resilient mesh for LoRa, packet radio, WiFi and everything in between.

Reduce GitHub Actions costs by running multiple runners inside of a single GitHub Action Runner.

A supercharged version of paperless: scan, index and archive all your physical documents.

Image/video upscaling GUI app based on BRSGAN & RealSR_JPEG.

A library implementing C++'s custom literal suffixes using pure Python.

Pipe your git diff output into dunk to make it prettier!

New Releases

In this release we’re introducing the following changes:

  • Pylint extension

  • Interpreter display in the status bar moved to the right

  • Simpler way to create empty Python and Jupyter Notebook files

  • Fix for running and debugging files with conda environments

Upcoming Events and Webinars

There will be a talk, Are the AutoML Robots Coming to Take Our Jobs? Fantasy, reality, and best practices with PyCaret.

There will be a talk, How to pick the right data science problems for your organization and influence decisions.

There will be a talk, Clustering On Unstructured Data.

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.