Python Weekly (Issue 447 April 30 2020)

Python Weekly - Issue 447

Python Weekly

Welcome to issue 447 of Python Weekly. I have launched

, a language agnostic weekly roundup of the best hand curated links for programmers. The first issue went out last week.

From Our Sponsor 

Vettery is an online hiring marketplace that's changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today.

News

As part of PyCon US 2020, they are planning to record a Q&A with the Steering Council. If you have any questions, be sure to submit them.

Articles, Tutorials and Talks

A TCP reset attack is executed using a single packet of data, no more than a few bytes in size. A spoofed TCP segment, crafted and sent by an attacker, tricks two victims into abandoning a TCP connection, interrupting possibly vital communications between them. In this post we’re going to: Learn the basics of the TCP protocol, Learn how the attack works and Execute the attack against ourselves using a simple Python script.

Another Python tutorial series by Microsoft.

In this part, we’ll extend our python!{}-macro to be able to seamlessly use Rust variables in the Python code within. We explore a few options, and implement two alternatives.

A prototype Raspberry Pi dashboard to save me talking to my smart assistant.

How to build a complete chat app without any libraries or frameworks

Python 3.9 Beta is coming soon, so it’s time to explore some of its upcoming features like new dict operators, new functools and more.

Most computer applications can be configured to behave a certain way, be it via command line flags, environment variables, or configuration files. For you as a software developer, dealing with configuration comes with challenges such as parsing untrusted input, validating it, and accessing it on all layers of your program. Using Python as an example, this post shares some best practices to help you handle configuration safely and effectively.

How to deploy Django in many small steps.

In this tutorial you will create a backend for a URL shortener—a service that takes any URL and generates a shorter, more readable version—while diving into GraphQL concepts, like queries and mutations, and tools, like the GraphiQL interface.

Making sure a flexible neural network architecture API isn't too difficult. However, we need to be careful about the layer of abstraction we put in place in order to facilitate the work of the user who want to simply fit and predict. Here we make use of the following three concept: Network, Layer and Neuron. These three components will be composed together to make a fully connected feedforward neural network neural network.

A survival guide for non-web developers.

Learn how to extend your code to make it easy to loop through the elements of your classes or to generate data on the fly.

In this Django, Excel and GraphQL Tutorial  learn how to build a GraphQL Client and Server with Django and import excel data. We will code everything from scratch.

How to crush algorithm questions by mastering string fundamentals.

Create interactive user experiences by writing Django views to handle dynamic content, submitting forms, and interacting with data.

A tutorial on how to use and set up a simple Flask application that uses Flask-Monitoring-Dashboard to monitor the system. It will show how simple it is to get started to automatically monitor your web service and explain some of the features that Flask-Monitoring-Dashboard offers.

How are warnings different from Python exceptions? Learn how to send and filter warnings, and why you would want to do so.

How to build Insider Selling Dashboard entirely from scratch in 30 minutes.

This post presents a simple implementation of PyTorch distributed training on CIFAR-10 classification using DistributedDataParallel wrapped ResNet models. The usage of Docker container for distributed training and how to start distributed training using torch.distributed.launch would also be covered.

In this article you will learn how to create your own diff-tool using nothing but Python.

Books

It includes books on Python, Machine Learning, Deep Learning, AI and more.

Interesting Projects, Tools and Libraries

Modern, privacy-friendly, and detailed web analytics that works without cookies or JS.

Jina is the cloud-native neural search framework powered by state-of-the-art AI and deep learning.

A tool to make socks connections through HTTP agents.

End-to-End Speech Processing Toolkit.

Printy is lite and cross-platform library that extends the functionalities of the built-in functions print() and input(). Printy stands out for its simplicity and for being and easy to use library, it lets you colorize and apply some standard formats to your text with an intuitive and friendly API based on flags.

Python script to get details about a repository just from your terminal before cloning it.

Keep secrets out of emails or chat logs, share them using secure links with passphrase and expiration dates.

An easy to use project template for small projects using Django Rest Framework.

A Python tool to collect, analyze and visualize trading indicators for stocks.

A multiplayer game controlled using GitHub.

Build reactive applications with the django tooling you already know and love. 

BentoML is an open-source platform for high-performance ML model serving.

Productive programming language for portable, high-performance, sparse & differentiable computing.

PyDP is a Python wrapper for Google's Differential Privacy project. The library provides a set of e-differentially private algorithms, which can be used to produce aggregate statistics over numeric data sets containing private or sensitive information.

Simple tool for restoring database during integration tests.

New Releases

Upcoming Events and Webinars

In this talk, we’ll learn how to use web scraping to extract information about Poshmark listings. Then, we’ll use Python libraries to analyze and visualize the data.

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.