#378 – JULY 23, 2019
View in Browser »
In this step-by-step tutorial, you’ll create a Flask application that lets users sign in using their Google login. You’ll learn about OAuth 2 and OpenID Connect and also find out how to implement some code to handle user session management.
“Some years ago someone asked whether it would make sense to switch Python to a PEG parser. […] I looked into it a bit and wasn’t sure what to think, so I dropped the subject. Recently I’ve learned more about PEG (Parsing Expression Grammars), and I now think it’s an interesting alternative to the home-grown parser generator that I developed 30 years ago when I started working on Python.”
GUIDO VAN ROSSUM
Take the time to learn something new! Manning Publications are offering 40% off everything at manning.com, including everything Pythonic. Just enter the code
pycoders40 at the cart before you checkout to save →
MANNING PUBLICATIONS sponsor
“pip will continue to ensure that it runs on Python 2.7 after the CPython 2.7 EOL date. Support for Python 2.7 will be dropped, if bugs in Python 2.7 itself make this necessary (which is unlikely) or Python 2 usage reduces to a level where pip maintainers feel it is OK to drop support. The same approach is used to determine when to drop support for other Python versions.”
Python provides a logging system as a part of its standard library, so you can quickly add logging to your application. In this course, you’ll learn why using this module is the best way to add logging to your application as well as how to get started quickly, and you will get an introduction to some of the advanced features available.
REAL PYTHON video
“A delayed job processor (also called a background processor, asynchronous task queue, etc.) is a software system that can run code at a later time. Examples of such software includes Celery, Resque, Sidekiq, and others. In this post we will try and understand how these things work by building a clone/replica of such software.”
KOMU WAIRAGU • Shared by Komu Wairagu
“As a Python 3.8 learning exercise, I’m using the walrus operator, / notation, and f= at every opportunity and then evaluating the result for clarity.”
“Want to use NumPy without importing it? You can access all of its functionality from within pandas…”
Articles & Tutorials
“In this article I want to discuss mixins: what they are, how they work, and when they’re useful. Hopefully after reading this brief article you will be ready to experiment with this pattern yourself in your own projects.”
ALEKSEY BILOGUR • Shared by Aleksey Bilogur
In this tutorial, you will learn about learning rate schedules and decay using Keras. You’ll learn how to use Keras’ standard learning rate decay along with step-based, linear, and polynomial learning rate schedules.
Tired of code rollbacks, hotfixes, or merge conflicts? Instantly turn on or off features in production. Comes with unlimited collaborators and feature flags. Embrace safer CI/CD releases with SDKs for Python and all major platforms →
In this step-by-step tutorial, you’ll learn how to use the NumPy arange() function, which is one of the routines for array creation based on numerical ranges. np.arange() returns arrays with evenly spaced values.
An interview with Russell Keith-Magee about identifying potential black swan events for the Python ecosystem and how to address them for the future of the language and its community.
A standalone Python script can come with a discoverable interface a documentation and some tests to keep it useful a year later.
Why running migrations on application startup are a bad idea (potential database corruption & downtime) and what to do instead.
1:1 personalized guidance with your own machine expert. Learn through a curated curriculum designed by hiring managers. Get career support and insider connections to jobs with online self-paced course. Get a machine learning job or your money back.
Part 16 in Ruslan’s amazing tutorial series on building a scripting language interpreter using Python, from scratch.
A step-by-step refactoring journey from simple fizzbuzz script to a cleaned up and “production-ready” piece of code.
Testing open-source Python on several operating systems using Travis for continous integration.
Projects & Code
This was PyCoder’s Weekly Issue #378.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]