Python Weekly (Issue 523 October 28 2021)

Python Weekly - Issue 523

Python Weekly

Welcome to issue 523 of Python Weekly. There is a unique opportunity to join the early team of a high growth venture backed B2B fintech startup. They are hiring Software Engineers and their tech stack is predominantly Javascript (React/NodeJS) on AWS cloud infrastructure. Los Angeles and Phoenix area candidates preferred, but remote will be considered. If you or someone you know is interested, email me a resume and mention the candidate's location.

News

PyCon US 2022’s Call for Proposals has officially opened for Talks, Tutorials, Posters, and Charlas. We need beginner, intermediate, and advanced proposals on all sorts of topics. 

Articles, Tutorials and Talks

In this post, we will learn to build a minimal parser combinator library from scratch. The functions provided here can be used to extend the libary with more parser combinators.

Ottr is a serverless Public Key Infrastructure framework that handles end-to-end certificate rotations without the use of an agent. The purpose of the post is to provide an overview on Ottr with sample reference architecture, logical and network flows, and highlight the benefits of the solution. 

Improve your Django skills by building a digital resume website. You are provided a free resume template and you will learn how to create the backend using Django and Python.

This article teaches you about real-world, modern binary exploitation, and a little about processor microarchitecture as well. You will learn how to exploit a double free vulnerability or Use-After-Free vulnerability.

During the annual Python core development sprint we held a meeting with Sam Gross, the author of nogil, a fork of Python 3.9 that removes the GIL. This is a non-linear summary of the meeting.

Catch tricky Bugs & Vulnerabilities in your Python code with minimal configuration - with support up to Python 3.9! Includes taint analysis rules to detect injection flaws & more. Download free today.

SPONSORSolving For Electric Potential of Polarized Materials This video shows you how to mathematically derive the potential of polarized materials, and then use sympy and scipy to assist with symbolic and numerical methods needed to solve for the potential of various objects.Automatically OCR’ing Receipts and ScansIn this tutorial, you will learn how to use Tesseract and OpenCV to build an automatic receipt scanner. We’ll use OpenCV to build the actual image processing component of the system.SHAP: Explain Any Machine Learning Model in PythonA Comprehensive Guide to SHAP and Shapley Values.How to use Python for privilege escalation in WindowsPenetration testers can use Python to write scripts and services to discover security vulnerabilities. In this walkthrough, learn how to escalate privileges in Windows.Build Your First Mood-Based Music Recommendation System in PythonAudio-Based Recommendations From Scratch Using the Spotify API.How and why we built a custom gradient boosted-tree packageIn order to make accurate and fast travel-time predictions, Lyft built a gradient boosted tree (GBT) package from the ground up. It is slower to train than off-the-shelf packages, but can be customized to treat space and time more efficiently and yield less volatile predictions.How we improved our Python backend start-up timeWhat the global statement really means in PythonStoring data on a cassette using Arduino and Python (Differential Manchester encoding)Interesting Projects, Tools and LibrariesHummingbotAn open-source project that integrates cryptocurrency trading on both centralized exchanges and decentralized protocols. It allows users to run a client that executes customized, automated trading strategies for cryptocurrencies.BlanklyTrade stocks, cryptos, and forex w/ one package. Easily build, backtest, trade, and deploy across exchanges in a few lines of code.ottrOttr is a serverless framework for Public Key Infrastructure (PKI) that aims to provide a robust and scalable method to manage end-to-end certificate rotations using an agentless approach.python-shared-objectsCPython extension implementing Shared Transactional Memory with native-looking interface.LakshmiInvesting library and command-line interface inspired by the Bogleheads philosophy.Offline-Reverse-Image-SearchThis app finds duplicate to near duplicate images by generating a hash value for each image stored with a specialized data structure called VP-Tree which makes searching an image on a dataset of 100Ks almost instantaneous.CloudmareCloudmare is a simple tool to find origin servers of websites protected by Cloudflare, Sucuri or Incapsula with a misconfiguration DNS.FingerA tool for recognizing function symbol.pytaiA Python-based Kaitai Struct visualizer and HEX viewer.New ReleasesPyTorch 1.10PyTorch 1.10 updates are focused on improving training and performance of PyTorch, and developer usability. The full release notes are available here. Highlights include: 

  • CUDA Graphs APIs are integrated to reduce CPU overheads for CUDA workloads.

  • Several frontend APIs such as FX, torch.special, and nn.Module Parametrization, have moved from beta to stable.

  • Support for automatic fusion in JIT Compiler expands to CPUs in addition to GPUs.

  • Android NNAPI support is now available in beta.

PyPy v7.3.7: bugfix release of python 3.7 and 3.8We are releasing a PyPy 7.3.7 to fix the recent 7.3.6 release's binary incompatibility with the previous 7.3.x releases. We mistakenly added fields to PyFrameObject and PyDateTime_CAPI that broke the promise of binary compatibility, which means that c-extension wheels compiled for 7.3.5 will not work with 7.3.6 and via-versa. Please do not use 7.3.6.Django 4.0 beta 1Django 4.0 beta 1 is now available. It represents the second stage in the 4.0 release cycle and is an opportunity for you to try out the changes coming in Django 4.0.Upcoming Events and WebinarsVirtual: PyData Edinburgh November 2021There will be a talk, Automated Exploratory Data Analysis of Databases.Virtual: PyData Triangle November 2021There will be following talks

  • What are you watching? A multi-faceted approach to CTV inventory identification

  • Introducing MALTS & PyMALTS

 

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.