Python Weekly (Issue 440 March 12 2020)

Python Weekly - Issue 440

Python Weekly

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

From Our Sponsor 

Track Python app performance with Datadog APM. Debug and optimize your code by tracing requests across services in your environment. Then easily pivot to related logs to troubleshoot issues without switching tools or contexts.

Articles, Tutorials and Talks

I previously covered using Django’s CheckConstraint class to ensure a field with choices is constrained to only valid values. Here’s another use case, based on an application I worked on. It uses a check constraint to ensure a set of fields, representing percentages, always sum up to 100.

Lists are a fundamental data type in the Python programming language. A list is a mutable sequence that is typically a collection of homogeneous items. Mutable means that you can change a list after its creation. You will frequently see lists that contain other lists. These are known as nested lists. You will also see lists that contain all manner of other data types, such as dictionaries, tuples or objects. Let’s find out how you can create a list!

An hitchhiker guide to Python for JavaScript developers.

Let's see how to use different loading techniques on your SQLAlchemy relationships to increase your app performance.

With eCommerce becoming more mainstream, companies are shipping goods directly to their consumers now more than ever.  Once consumers buy something online, they want to know where their order is in the fulfillment process and when it should arrive, and that’s where Twilio and EasyPost come in handy. In this tutorial, you’ll see how easy it is to track the movement of shipments with the EasyPost API for Tracking, and programmatically notify individuals via the Twilio SMS API and the Flask framework for Python.

Convert images to a string with Google Tesseract and then into a static HTML site using Python.

A series of videos that shows you how to use Zillow API with Python.

Fixing numerical bugs *after* they've caused a crash.

In this tutorial, you will learn how to visualize class activation maps for debugging deep neural networks using an algorithm called Grad-CAM. We’ll then implement Grad-CAM using Keras and TensorFlow.

In this post, we’ll walk through the base classes Django uses its class-based views. You’ll gain a useful picture of how class-based views work under the hood and how they differ from function-based views.

This is the first of a three-part blog post on the Jupyter Notebook ecosystem. Here, I’ll talk about the data science landscape, and the forces that pushes our tools to evolve.

Interesting Projects, Tools and Libraries

Coronvirus report generation for Python.

Take potentially dangerous PDFs, office documents, or images and convert them to a safe PDF.

A simple and fast (< 200ms) API for tracking the global coronavirus (2019-nCoV) outbreak. It's written in python using the Flask framework.

PypTeX is the Python Preprocessor for LaTeX. It allows one to embed Python code fragments in a LaTeX template file.

Pre-training Text Encoders as Discriminators Rather Than Generators.

A Python implementation of John Gruber’s Markdown with Extension support. 

App to introduce beginners to Tkinter.

concrete-datastore is a highly versatile HTTP REST Datastore based on the web framework Django. It is used mainly as a HTTP database server for single page web application (SPA).

Python class that downsamples images to pixel art.

Our Other Newsletters

 - A free weekly newsletter featuring the best hand curated news, articles, tools and libraries, new releases, jobs etc related to NoSQL.

- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.