Python Weekly (Issue 479 December 17 2020)

Python Weekly - Issue 479

Python Weekly

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

From Our Sponsor 

A weekly newsletter featuring the best hand curated news, articles, tutorials, talks, tools and libraries etc for programmers.

Articles, Tutorials and Talks

In this article, Wenbin Fang shares his journey of building Listen Notes API business, the technology behind it, and hopefully you can learn one thing or two and build your own API business in the future.

Learn how to code a Discord bot using Python and host it for free in the cloud using Repl.it. Along the way, you will learn to use Repl.it's built-in database and create a Discord bot that uses webhooks to connect with GitHub.

One of the most complicated concepts to wrap our heads around has to be recursion; to understand it well it always helps to have some sort of recursion visualization. In this essay, we build a super-simple yet effective visualizer for recursive functions in Python.

Learn what middleware is, what it is used for in a Django project, and how to write your own.

Let’s explore all the libraries for running cron jobs, deferred tasks, recurring tasks or any other scheduled jobs in Python.

No matter how you decide to define your datatype, Django has the functionality to allow you to map custom column data to model attributes. You can achieve this by extending the Django field class. In this walkthrough, we'll see how to create custom types in Postgres and then use them in Django to ensure consistent data types across your application.

In this post, we’ll see how we can flatten a list in 5 different ways. Each method has pros and cons, and varied performance. By the end of this tutorial, you’ll be able to identify the most appropriate solution for your problem. 

Interesting Projects, Tools and Libraries

ConsoleMe consolidates the management of multiple AWS accounts into a single interface. It allows your end-users and administrators to get credentials for your different accounts, and allows your users/administrators to manage or request cloud permissions.

AI-powered literature discovery and review engine for medical/scientific papers.

A full-stack framework for Flask that allows you to create dynamic frontends in Flask using Python and the Jinja2 templating engine.

A collection of simple PyTorch implementations of neural networks and related algorithms. These implementations are documented with explanations, and the website renders these as side-by-side formatted notes.

Get and open StackOverflow posts for your tracebacks.

Digital Race Dash designed for use on Raspberry Pi in a Honda S2000.

Liquid Warping GAN with Attention: A Unified Framework for Human Image Synthesis.

Install and Run Python Applications in Isolated Environments.

Django Ninja is a web framework for building APIs with Django and Python 3.6+ based type hints.

A web app to generate template code for machine learning.

Ensure your migration history is linear.

New Releases

Some of the highlights of this release are

  • Support for Python 2 has been dropped and Kivy source code is now incompatible with Python 2.

  • Support for async has been added to Kivy. Kivy can now run cooperatively, in the same process or thread as asynchronous code.

  • We currently support the stdlib asyncio framework and the excellent trio framework. 

In this release we closed?13 issues, and it includes: 

  • Extract method and variable code actions with Pylance

  • Pylance insiders program 

  • Ipywidgets support in Native Notebooks   

Upcoming Events and Webinars

There will be following talks

  • Data Processing with Python: a Containerized, Scheduled, and Monitored Pipeline on the Google Cloud Platform 

  • AWS Glue - the good, the bad, the ugly

There will be following talks

  • TailwindCSS - naming is hard and what can we learn from it

  • How to over-engineer things and have fun?

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.