Issue #434

Async Django, Web Scraping, Data API Standards, and More

Aug. 18, 2020

Async Django, Web Scraping, Data API Standards, and More
#434 – AUGUST 18, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Async Views in Django 3.1
Django 3.1 introduced support for asynchronous views, middleware, and tests. This tutorial shows you how to get started with async views.
TESTDRIVEN.IO • Shared by Michael Herman

A Practical Introduction to Web Scraping in Python
In this tutorial, you’ll learn all about web scraping in Python. You’ll see how to parse data from websites and interact with HTML forms using tools such as Beautiful Soup and MechanicalSoup.
REAL PYTHON

Scout APM for Python: Application Performance Insight in Less Than 4 Minutes
Scout APM is Python application performance monitoring that helps developers quickly pinpoint & resolve issues before your customer ever sees them. Get back to coding faster with proactive & real-time insight into N+1 queries, memory bloat & more. Start your free trial today →
SCOUT APMsponsor

Delegation: Composition and Inheritance in Object-Oriented Programming
Delegation is often considered one of the three pillars of object-oriented programming. Learn how to use this powerful concept in Python.
LEONARDO GIORDANI

Announcing the Consortium for Python Data API Standards
Proposed by Quantsight Labs, and with initial sponsors including Intel, Microsoft, and Google Research, the consortium aims to tackle fragmentation across libraries by developing API standards for n-dimensional arrays and dataframes.
RALF GOMMERS

Analyzing Python Code With Python
Take a dip into static code analysis using abstract syntax trees and Python’s built-in ast modue.
ROTEM TAMIR

Python 3.9.0rc1 Is Now Available
CPYTHON DEV BLOG

Wing Python IDE 7.2.4 Released
Now supports Python 3.9!
WINGWARE.COM

Python 3.7.9 and 3.6.12 Security Updates Now Available
CPYTHON DEV BLOG


Discussions


What Are Some Good Python Project Ideas for High School Students?
Honestly, some of these ideas are good for any beginning Pythonista!
REDDIT

Where Do You Go to Get Exposure to Well-Written Code?
Maybe someone needs to start a Python reading club…
REDDIT


Python Jobs


Advanced Python Engineer
RESEARCH AFFILIATES LLC 📍 NEWPORT BEACH, CA, USA

Senior Backend Developer
DUMPLING 📍 REMOTE

C++/Python Software Engineer
PRI TECHNOLOGY 📍 REMOTE

AWS Cloud Engineer
HAYS 📍 ATLANTA, GA, USA

More Python Jobs >>>


Articles & Tutorials


Mini Raspberry Pi Boston Dynamics–inspired Robot
See how one Redditor taught themselves robotics by building a miniature version of a Boston Dynamic’s robot dog “Spot” using a Raspberry Pi, C++, and Python.
ASHLEY WHITTAKER

Identify Invalid Python Syntax
In this video course, you’ll see common examples of invalid syntax in Python and learn how to resolve the issue. If you’ve ever received a SyntaxError when trying to run your Python code, then this is the guide for you!
REAL PYTHON course

Want to Level-Up Your Python Skills?
Write better code, debug faster, and become more productive with PyCharm, a tightly integrated IDE that understands your code and provides a complete set of tools to help you make it better. Try PyCharm now and code like a pro! Free trial →
JETBRAINSsponsor

Visualizing Prim’s algorithm with NetworkX and Matplotlib
Learn how to implement Prim’s algorithm for finding a minimum spanning tree of a network from scratch and then visualize the algorithm using the NetworkX and Matplotlib libraries.
KYLE KIZIRIAN • Shared by Kyle Kizirian

Using Postgres Row-Level Security in Python and Django
This article shows how to create and implement a row level security policy with Django middleware and Django signals, giving database administrators a way to limit the rows a user can access, adding an extra layer of data protection.
JOSH ALETTO • Shared by Manuel Weiss

Find Performance Bottlenecks in Python Code
“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.” - Donald Knuth Blackfire is built to let you find the 3%. Quick install, appealing and user-friendly UI.
BLACKFIREsponsor

Python Community Interview With Bruno Oliveira
Bruno Oliveira is a core developer for pytest, the Python testing library. In this interview, we cover migrating a large codebase from C++ to Python, how to get started with pytest, and his love of Dark Souls.
REAL PYTHON

Super-charge Your Python Builds
With Man Group’s PartialTesting tool, you can speed up build-times and reduce compute requirements by running only the tests that matter and ignoring those that don’t!
MAN.COM

Developing Python With Poetry & Poetry2nix: Reproducible Flexible Python Environments
Learn how to use Nix to create highly reproducible Python builds that are aware of native dependencies.
ADAM HOESE


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

urlify: macOS Python App to Create Valid File and URL Names From Clipboard Text
GITHUB.COM/MIKECKENNEDY

libra: Ergonomic Machine Learning for Everyone
GITHUB.COM/PALASHIO

public-apis: A Collective List of Free APIs for Use in Software and Web Development
GITHUB.COM/PUBLIC-APIS

InvoiceNet: Deep Neural Network to Extract Intelligent Information From Invoice Documents
GITHUB.COM/NAIVEHOBO

aiosql: Simple SQL in Python
GITHUB.COM/NACKJICHOLSON

partialtesting: Run Only the Tests That Are Relevant for Your Changes
GITHUB.COM/MAN-GROUP

poetry2nix: Convert Poetry Projects to Nix Automagically
GITHUB.COM/NIX-COMMUNITY

poetry: Python Dependency Management and Packaging Made Easy
GITHUB.COM/PYTHON-POETRY

minGPT: Minimal PyTorch Re-Implementation of the OpenAI GPT
GITHUB.COM/KARPATHY

itslit: Stumble Upon a Lightning Talk in a Browser Near You
GITHUB.COM/VINAYAK-MEHTA • Shared by Vinayak Mehta

📆🐍 Upcoming Python Events


PyCon Japan 2020 (Online Conference)
August 28 to August 30, 2020
Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.