Python Weekly (Issue 449 May 14 2020)

Python Weekly - Issue 449

Python Weekly

Welcome to issue 449 of Python Weekly. We have another packed issue this week. Enjoy it!

From Our Sponsor 

Monitor Python applications at scale. With 400+ integrations and OOTB dashboards, Datadog makes it easy for engineers to monitor every layer of their stack in one place. Datadog's distributed tracing and APM generates flame graphs from real requests, enabling you to visualize how requests propagate through your distributed infrastructure.

. 

News

We are looking for volunteers to participate in a work group that will be involved with Python’s migration from bugs.python.org to GitHub. We want to make sure the directions this migration takes represents what the community needs!

Uber AI releases a new framework on top of Pyro that lets experimenters seamlessly automate optimal experimental design (OED) for quicker model iteration.

Articles, Tutorials and Talks

Cache rules everything around me. pyc files can contain secrets and should not be checked in to source control. Use the standard Python .gitignore.

This document goes beyond PEP8 to cover the core of what I think of as great Python style. It goes beyond mere issues of syntax and module layout, and into areas of paradigm, organization, and architecture.

In this tutorial, we'll be learning how to use the Patreon API and the Pillow library to automate the creation of images. I'm specifically using this to add credits to the end of my videos to thank my supporters. This video will focus on Patreon supporters specifically, but in the next video, we will see how to use the YouTube API to do the same thing with YouTube Members. 

Learn how to set up the powerful VS Code debugger with hot-reload for your Dockerized Flask application.

In this tutorial, we will learn how to apply Computer Vision, Deep Learning, and OpenCV to identify potential child soldiers through automatic age detection and military fatigue recognition.

In this video, William Falcon refactors a PyTorch VAE into PyTorch Lightning. As it's obvious in the video, this was an honest attempt at refactoring a new repository without having prior knowledge of it. Despite this, the full conversion took under 45 minutes.

See common problems in code? Let's create an analyzer to detect them automatically.

Experts discuss hard web production problems. 40+ talks on Django, Plone, CI/CD, Containers, Serverless, REST APIs, microservices, etc. Join JetBrains and Six Feet Up to discuss what the future holds.

SPONSORLeverage the InnoDB architecture to optimize Django model designWhat every developer should know about InnoDB.Introduction to Neural Networks in Python (what you need to know) In this video we start by walking through some of the basics. We look at why we use neural networks and how they function. We do an overview of network architecture (input layer, hidden layers, output layer). We talk a bit about how you choose how many hidden layers and neurons to have. We also look at hyperparameters like batch size, learning rate, optimizers (adam), activation functions (relu, sigmoid, softmax), and dropout.Effortless Concurrency with Python's concurrent.futuresRunning simple tasks concurrently with concurrent.futures.How To Build a Neural Network to Translate Sign Language into EnglishIn this tutorial, you’ll use computer vision to build an American Sign Language translator for your webcam. As you work through the tutorial, you’ll use OpenCV, a computer-vision library, PyTorch to build a deep neural network, and onnx to export your neural network.The Complete Python Course For Beginners This python course is designed to take you from beginner to pro in the python language. This python course is designed to teach you everything you need to know about python. It assumes no prior knowledge and is a perfect python tutorial for beginners. Remapping Python OpcodesThis post takes you step by step through how the author recovered the source code of remapped compiled Python opcodes.How To Use the collections Module in Python 3In this tutorial, we’ll go through three classes in the collections module to help you work with tuples, dictionaries, and lists. We’ll use namedtuples to create tuples with named fields, defaultdict to concisely group information in dictionaries, and deque to efficiently add elements to either side of a list-like object.SQLite Databases With Python In this course you’ll learn the basics of using SQLite3 with Python. SQLite is a very easy to use database engine included with Python. You’ll learn how to create databases and tables, add data, sort data, create reports, pull specific data, and more. How to Prototype a Web App with Django and Vue.jsLearn how use Django and Vue.js to prototype a custom, responsive and reactive web application with a full-featured back office site to manage the content.Creating and deploying static websites using Markdown and the Python library PelicanGet to know how markdown and the Python library pelican can be used to create your static website without requiring HTML and CSS skills.Understand the Fundamentals of the K-Nearest Neighbors (KNN) AlgorithmAn introduction to the famous machine learning algorithm KNN using scikit-learn.Plasma: A learning platform powered by JupyterDeep Learning for Guitar Effect EmulationUnder Discussion: The Performance of PythonUsing FastAPI with DjangoPatching requests HTTP hooks with custom argumentsAn HTTP server to display desktop notificationsBuild a serverless Martian weather display with CircuitPython and AWS LambdaAccelerating Medical Image Segmentation with NVIDIA Tensor Cores and TensorFlow 2Using Rust to Power Python Importing With oxidized_importerInteresting Projects, Tools and LibrariesMicroscoPyAn open-source, motorized, and modular microscope built using LEGO bricks, Arduino, Raspberry Pi and 3D printing.ar-cutpasteCut and paste your surroundings using AR.this-word-does-not-existThis is a project allows people to train a variant of GPT-2 that makes up words, definitions and examples from scratch.fastpagesAn easy to use blogging platform, with enhanced support for Jupyter Notebooks. It automates the process of creating blog posts via GitHub Actions, so you don’t have to fuss with conversion scripts. AI-basketball-analysisAn artificial intelligence application built on the concept of object detection. Analyze basketball shots by digging into the data collected from object detection.spycheck-linuxVerify whether your Thunderbolt-enabled Linux system is vulnerable to the Thunderspy attacks.xxhBring your favorite shell wherever you go through the ssh.slack-watchmanMonitoring you Slack workspaces for sensitive information.open_lthA repository in preparation for open-sourcing lottery ticket hypothesis code.AxCellTools for extracting tables and texts from papers.senator-filingsScrape public filings of the buy + sell orders of U.S. senators and calculate their returns.timeglassSimple and unobtrusive menu bar timer for macOS.pandas_aliveAnimated plotting extension for Pandas with Matplotlib.pypEasily run Python at the shell! Magical, but never mysterious.sheet2api-pythonGoogle/Excel Sheets API Python.DataGene Identify How Similar Datasets Are to One Another.FluentFluent makes it easy and fast to build beautiful mobile appsNew ReleasesPython in Visual Studio Code – May 2020 ReleaseIn this release we addressed 42 issues, and it includes the ability to browse for or enter an interpreter path on selection. You can check the full list of improvements in the changelog. Upcoming Events and WebinarsVirtual: Wagtail Space US 2020We'll be holding our conference virtually this year! We are expecting to launch our Call For Proposals in a few weeks, and announce our schedule during the first week of July. Wagtail Space US will comprise talks, training, and a sprint.Virtual: PyData Madison Meetup May 2020There will be a demo using mybinder. Mybinder allows you to take your jupyter notebooks and turn them into an environment you can run from anywhere on any machine with all of the dependancies installed.Virtual: Oops! I’ve Just Spent the Entire AWS BudgetThis talk charts the personal development of the speaker during development of a dashboard application for a holiday company. It includes key decisions (and mistakes) and obstacles that led to the final design. This journey started from zero knowledge of Data Science, zero knowledge of R and zero knowledge of Cloud Computing. It highlights key areas of data security and cloud architecture needed as the application moved from concept, through to prototype and then final commercial delivery. 

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.