Python Weekly (Issue 533 January 13 2022)

Python Weekly - Issue 533

Python Weekly

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

From Our Sponsor 

Hired is home to 1000s of companies: from startups to Fortune 500s who are actively hiring python engineers. Once you create a profile, hiring managers can send interview requests based on desired salary & top skills.

Articles, Tutorials and Talks

Using a more detailed profiler like Scalene can really help optimization efforts by locating inefficiencies in an actionable way.

Starlite is a light, opinionated and flexible ASGI API framework built on top of pydantic and Starlette.

Using SMS and MMS gateways we can send text messages to phones from a computer via email. With this strategy, we can use a combination of the Python SMTP and email library to send text messages programmatically for free!  This not only includes short text messages, but also multimedia messages with pictures, videos, or any file! This can be super helpful when you want to send yourself notifications for your Python projects.

The Wordle puzzle game is deceptively simple - you get six tries to guess a five-letter English word, with hints if you get it wrong. Here’s how you can write an iterative solver that suggests words based on letter frequency and hints using nothing but pure Python.

In this post, I will first briefly explain the concept of sum types, a kind of algebraic data types, and give examples of pattern matching on these types in Rust and Scala. Then I will show how to define sum types in recent Python versions, and I will explain how the mypy type checker can (to a limited degree) be used to add exhaustiveness checks to Python code working with these types.

In this article, you will learn about different similarity metrics and text embedding techniques. By the end, you'll have a good grasp of when to use what metrics and embedding techniques. You’ll also get to play around with them to help establish a general intuition.

Molecular dynamics simulations play an increasingly important role in the rational design of (nano)-materials and in the study of biomacromolecules. However, generating input files and realistic starting coordinates for these simulations is a major bottleneck, especially for high throughput protocols and for complex multi-component systems. To eliminate this bottleneck, we present the polyply software suite that provides 1) a multi-scale graph matching algorithm designed to generate parameters quickly and for arbitrarily complex polymeric topologies, and 2) a generic multi-scale random walk protocol capable of setting up complex systems efficiently and independent of the target force-field or model resolution. 

A new django-dataclasses library allows you to: Define your API schema using Python dataclasses, Use the dataclasses as request and response bodies in Django views and Generate a JavaScript API client from an OpenAPI export.

This post is a technical overview of the Trading Strategy protocol's website software stack. The audience of this post is software developers who are looking to build scalable software-as-a-service solutions and are interested in Svelte, Python, and TimescaleDB technologies. Developers who are interested in Web3, Ethereum, cryptocurrency, and blockchain technologies will also find this post useful.

Interesting Projects, Tools and Libraries

DocArray is a library for nested, unstructured data such as text, image, audio, video, 3D mesh. It allows deep learning engineers to efficiently process, embed, search, recommend, store, transfer the data with Pythonic API.

A library for creating text-based graphs in the terminal.

A vision-based drawing application.

A self-supervised learning framework for audio-visual speech.

A modern (as of 2022) Flask API back end.

A Python library that allows one to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays.

A WYSIWYG layout editor for Jupyter widgets.

Deepchecks is a Python package for comprehensively checking your machine learning models and data with minimal effort.

RLMeta is a light-weight flexible framework for Distributed Reinforcement Learning Research.

This is a Python implementation of the "Circuit Breaker" Pattern.

Automatically generate and keep updated a series of Docker images through GitHub Actions.

Fake Sentry server for local development, debugging, and integration testing.

Feature engineering library that helps you keep track of feature dependencies, documentation, and schema.

Joy is a tiny creative coding library in Python.

Generate FastAPI projects for high-performance applications. Based on MVC architectural pattern, WSGI + ASGI. Includes tests, pipeline, base utilities, Helm chart, and script for bootstrapping local Minikube with high available Redis cluster.

Music Caster is a music player that lets you cast your local music files to a Google Cast device.

New Releases

The release of IPython 8.0, which has been long in the making and arrived a bit over three years after the 7.0 release. This major release comes with many improvements to the existing codebase and several new features. 

Upcoming Events and Webinars

With sessions for beginner and advanced developers alike, attendees will be immersed in Python best practices and learn how to solve complex web production problems from industry experts across the globe. Early bird tickets are still available! Use our sponsor code — PythonWeekly@PWC2022 — to get an EXTRA 15% off. 

Learn about GitHub Actions and how they can accelerate your application development workflows. A workflow is a configurable automated process made up of one or more jobs. We will learn how to configure and use workflows existing current actions and start looking at how an action can be developed from scratch.

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.