#482 – JULY 20, 2021
View in Browser »
In this guide, written by FastAPI creator Sebastián Ramírez, you’ll learn the main concepts of FastAPI and how to use it to quickly create web APIs that implement best practices by default. By the end of it, you will be able to start creating production-ready web APIs.
Importing a Python module is probably one of the most used language features. But Python’s import system remains a mystery to many Python developers, even folks with years of experience. This in-depth article explores how the import system works from the top down. You’ll learn everything from the difference is between absolute and relative imports to how Python searches for modules and packages and resolves naming conflicts.
Join a Metis Online Flex Bootcamp and work on your own schedule with on-demand lectures, while still getting dedicated 1:1 instructor support. You’ll also get focused career support until you’re hired! Explore your options and start your journey today →
After years of fundraising efforts, the Python Software Foundation finally hired their first CPython Developer-In-Residence. Łukasz Langa reports on what he accomplished during his first week on the job, how he’s finding a balance between the various tasks required of him, and what his plans are for next week. He’s included a full detailed log of everything accomplished with links to GitHub issues and pull requests.
Python 3.10 is still in beta, but work on Python 3.11 has already begun. Big changes include some major improvements to tracebacks as well as a new cube root function in the math module.
There might not be too many applications for this, but the accepted solution to this Stack Overflow question is pretty slick and features a NumPy array method that you might have glossed over: .rot90().
Articles & Tutorials
In this course, you’ll cover the fundamentals of speech recognition with Python. You’ll learn which speech recognition library gives the best results and build a full-featured “Guess The Word” game with it.
REAL PYTHON course
Rev.ai is the most sophisticated automatic speech recognition in the world. Our speech-to-text APIs are more accurate, easier to use, and have less bias than competitors like Google, Amazon, and Microsoft. Try Rev.ai free for five hours right now →
Do you wonder what the future may hold for the Python language? Are there speed improvements coming soon? What if you could be in the room while the core developers discuss Python’s future? This week on the podcast, we have Joanna Jablonski, who was invited to the Python Language Summit 2021 as a journalist to summarize and document the event.
REAL PYTHON podcast
All Django apps need to be configured in order to run properly. This article walks you through how the Django settings file works and how it is organized. You’ll learn about environment variables and how to use them in your settings. You’ll also see some patterns for dealing with settings in different environments, such as development, testing, and production, as well as some tools for monitoring and managing Django settings.
MATT LAYMAN • Shared by Matt Layman
YourBase Test Acceleration can reduce testing and compute cost time by up to 90%. You don’t have to replace your CI, your build system, or your version control. Getting started is as easy as a pip install, and you don’t have to share any data.
Dustin Ingram is a developer advocate at Google, a director of the PSF, and a maintainer of PyPI. In this interview, Dustin talks about how Google’s use of Python might differ from your own, maintaining PyPI, his love of PyCons and cooking, and more.
Hosting serverless apps on AWS can be a lot of work if you set everything up manually. The Zappa project makes configuring and deploying a serverless app on AWS Lambda a cinch! This tutorial walks you through creating a Django REST API and deploying it to AWS Lambda with Zappa step-by-step. You’ll even learn how to set up authentication using Auth0!
JEKAYINOLUWA OLABEMIWO • Shared by Robertino
Projects & Code
This was PyCoder’s Weekly Issue #482.
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 ]