Copy
View this email in your browser

Python Weekly

Welcome to issue 436 of Python Weekly. Let's get straight to the links this week.
From Our Sponsor 
 
Optimize Python app performance by correlating related Python traces with metrics and logs to troubleshoot complex production issues without switching tools or context. Try Datadog APM free for end-to-end visibility into your Python apps.


Articles, Tutorials and Talks

Handling spikes of 65,000+ requests per second with Flask while managing 10% of the UK's primary schools
In this episode of Running in Production, Gareth Thomas goes over running a platform that helps manage 3.5+ million students. There’s over 1,500 databases and it peaks at 65k requests per second. A legacy Zope server and a series of Flask microservices power it all on AWS Fargate.

Magic: Constant-time tricks that Klaviyo uses to operate at huge scale
Klaviyo’s data storage and processing needs are vast and have rapidly increased over time. Our external end-users and internal service consumers do not care about our data size, however, and still need rapid responses to their queries. To keep our systems running smoothly, we occasionally have to employ various unconventional optimization techniques. The specific techniques mentioned in this article are ways of taking what are normally linear or even more complex operations and making them constant time.

5 Things You're Doing Wrong When Programming in Python 
Python is a great language but I've seen many novices make some very fundamental mistakes and in this video I'm presenting 5 of them which cause immense pain and head scratching. I present the mistakes, their symptoms, as well as how to fix them.

Cloudburst: Stateful Functions-as-a-Service
Function-as-a-Service (FaaS) platforms and "serverless" cloud computing are becoming increasingly popular. Current FaaS offerings are targeted at stateless functions that do minimal I/O and communication. We argue that the benefits of serverless computing can be extended to a broader range of applications and algorithms. This paper presents the design and implementation of Cloudburst, a stateful FaaS platform that provides familiar Python programming with low-latency mutable state and communication, while maintaining the autoscaling benefits of serverless computing.

Understand Group by in Django with SQL
Understand GROUP BY in Django ORM by comparing QuerySets and SQL side by side. If SQL is where you are most comfortable, this is the Django GROUP BY tutorial for you.

How to write a Redis Client in Python, from Scratch 
Have you ever wondered how hard it is to write a client for Redis? In this talk, Loris Cro will show you how to inspect RESP (Redis Serialization Protocol) using Netcat (or telnet). Then he will use that information to live code a basic Python client that implements the SET and GET commands.

Helping IT Govern the AI/ML Ecosystem
Learn how Dell and Domino created a refreshingly simple approach to help companies get their data science teams and the technologies they need up and running faster, with an easy path to scale. SPONSOR

Full text search with django and postgres
How to implement full text search in Django without using have bloated java software.

Building an IVR System with Python, Django and Twilio
IVR stands for Interactive Voice Response system. It's a way for you to communicate with your users over the phone. IVR is operated by voice and by the DTMF tones that phones produce when pressing keys on the keypad. In this tutorial you are going to build an IVR system using Python, Django and Twilio IVR.

Robots and Generative Art and Python, oh my!
Wouldn't it be cool if you could link up all the power of modern-day machine learning and artificial intelligence tools with the interactivity and quick feedback loops of modern software development paradigms and pipe that directly into your plotter to make art? In this post, we're going to run through how to make plotter art in Python.

How to Add Websockets to a Django App without Extra Dependencies
Now that Django 3.0 ships with ASGI support out of the box, adding Websockets to your Django app requires no extra dependencies. In this post, you'll learn how to handle Websockets with Django by extending the default ASGI application. We'll go over how to handle Websocket connections, send and receive data, and implement the business logic in a sample ASGI application.

Understanding best-practice Python tooling by comparing popular project templates

Face Tracking Nerf Turret Project 

How I found thousands of dollars for my LinkedIn friends using Python and an obscure public database

Lua and Python

TV backlight compensation

Contributing to CPython

Dicts are now ordered, get used to it


Interesting Projects, Tools and Libraries

JustPy 
JustPy is an object-oriented, component based, high-level Python Web Framework that requires no front-end programming. With a few lines of only Python code, you can create interactive websites without any JavaScript programming.

vidify
Watch music videos in real-time for the songs playing on your device.

DeepSpeed 
DeepSpeed is a deep learning optimization library that makes distributed training easy, efficient, and effective.

Contextualise
Contextualise is a simple and flexible tool particularly suited for organising information-heavy projects and activities consisting of unstructured and widely diverse data and information resources.

Shopyo
Open inventory management and (coming soon) Point of sales (powered by python) for small shops. Towards ERP. First-timers-friendly.

dtale
Flask/React client for visualizing pandas data structures.

mnamer
An intelligent and configurable command line media file organization utility.

Gila 
Gila is a python3 configuration library based very heavily on the Viper config library for Go. It is designed to facilitate making 12Factor apps as easy as possible using python3.


Diagrams
Diagram as Code for prototyping cloud system architectures.


New Releases

Python in Visual Studio Code – February 2020 Release
In this release we made improvements that are listed in our changelog, closing a total of 66 issues, including a much faster startup of Jupyter Notebook editor and scaling back of configuration notifications. Keep on reading to learn more!


Upcoming Events and Webinars

SoCal Python Meetup February 2020 - Santa Monica, CA
There will be following talks
  • Internet of Energy: A Pythonic way to support California electrical fire prevention efforts
  • Develop a high performance communication engine in Python

Introduction to using GPUs for Analytics - Philadelphia, PA
In this presentation, Randy will highlight the uses for GPUs in analytics and data science, and present selected examples using tools from the PyData ecosystem to demonstrate the types of use cases where GPUs dramatically decrease time to process data.

Bayesian Data Science by Simulation - New York, NY
This tutorial is an Introduction to Bayesian data science through the lens of simulation or hacker statistics. We will become familiar with many common probability distributions through i) matching them to real-world stories & ii) simulating them. We will work with joint/conditional probabilities, Bayes Theorem, prior/posterior distributions and likelihoods, while seeing their applications in real-world data analyses. We’ll see the utility of Bayesian inference in parameter estimation and comparing groups and we’ll wrap up with a dive into the wonderful world of probabilistic programming.

Greater Hartford Python Meetup February 2020 - Hartford, CT
There will be a talk, The Data Science Dilemma: Python or R? Why Not Use Both!

PyHou Meetup February 2020 - Houston, TX
 
Our Other Newsletters
NoSQL Weekly - A free weekly newsletter featuring the best hand curated news, articles, tools and libraries, new releases, jobs etc related to NoSQL.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2020 Python Weekly, All rights reserved.


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.