Running a One-Woman Hardware Company, Building a Django Blog, Understanding Django Sessions, and More

#474 – MAY 25, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
The Tools and Tech I Use to Run a One-Woman Hardware Company
Winterbloom makes open-source, boutique synthesizers. There’s a lot that goes into running a hardware company. Someone has to design the hardware, code the firmware, write the documentation, not to mention administrate the company. Winterbloom does all of this with just one engineer — Stargirl Flowers. Learn what tools and tech Stargirl uses to run her company, and how Python fits into the big picture in more ways than one.
STARGIRL FLOWERS

What Is WSGI and Why Do You Need Gunicorn and nginx in Django?
Django is one of the most popular Python web frameworks. But you can’t run a web application with Django alone. You need a host of other tools in place to deploy a Django project, from a server to run your application to a server to handle incoming requests. In this article, you’ll learn about Gunicorn and Nginx and how they work together with Django to deliver a web application to your users.
DENIS OREHOVSKY • Shared by Denis

Improve Python Memory Management and Reduce End-User Latency with Datadog’s Continuous Profiler
With Datadog, you can visualize Python performance using detailed flame graphs to pinpoint CPU, memory, and IO bottlenecks and end-user latency. Seamlessly correlate logs and traces at the level of individual requests for quick troubleshooting. Try Datadog’s Continuous Python Profiler today →
DATADOGsponsor

Build a Blog Using Django, Vue, and GraphQL
In this step-by-step project, you’ll build a blog from the ground up. You’ll turn your Django blog data models into a GraphQL API and consume it in a Vue application for users to read. You’ll end up with an admin site and a user-facing site you can continue to refine for your own use.
REAL PYTHON

Help the PSF Raise $80,000 by June 12th
TWITTER.COM/THEPSF

PyPy v7.3.5: Bugfix Release of Python 2.7 and 3.7
PYPY.ORG


Discussions


Can You Dynamically Count How Many Positional Arguments Are Passed to a Function?
While you might not find yourself with a need to count the number of positional arguments to a function very often, the answers to this Stack Overflow question contain a lot of interesting Python language features that you might not be aware of.
STACK OVERFLOW

What Are Some Must Learn Libraries in Python?
Lots of standard library and third-party modules and packages get a shout-out in this Reddit thread. What would you pick as the top libraries a new Pythonista should learn once they’ve got a good grasp on the basics of the language?
REDDIT


Python Jobs


Software Engineer (Remote)
CLOSE

Senior Full Stack Engineer (Remote)
YONDER

Data Engineer with JS or Python (Remote)
PLACINGIT

Senior Machine Learning Engineer (Remote)
IO-TAHOE

More Python Jobs >>>


Articles & Tutorials


Understand Django: Per-Visitor Data With Sessions
How does Django know when a user is logged in?  Where can the framework store data for a visitor on your app?  In the next installment of his Understand Django series, Matt Layman answers those questions and looks at a storage concept in Django called sessions.
MATT LAYMAN • Shared by Matt Layman

How to Set Up a Django Project
In this course, you’ll learn the necessary steps you’ll need to take to set up a new Django project. You’ll learn the basic setup for any new Django project that needs to happen before programming the specific functionality of your project.
REAL PYTHON course

One API to Manage Transactional Messages From Your Python App: Email, SMS, Push, In-App, Slack
Trigger event-based messages from your Python app in just a few lines of code. One API with endpoints for white-label branding, sophisticated automation rules, and an in-app inbox. Product can design messages with our drag and drop editor. 10k notifications free /mo with Courier →
COURIERsponsor

Scaling Data Science and Machine Learning Infrastructure Like Netflix
Would you move your data science project from a laptop to the cloud? Would you also like to have snapshots of your project saved along the way so that you can go back in time or share the state of your project with another team member? This week on the Real Python Podcast, listen to Savin Goyal, the technical lead for machine learning infrastructure at Netflix, talk about Metaflow, an open-source tool to simplify building, managing, and scaling data science projects.
REAL PYTHON podcast

Why the Sad Face?
The Black autoformatter adopts some conventions that might surprise you the first time you use it. One of those conventions — the “sadface dedent” — moves closing parentheses in function signatures and other block headers to their own lines. This creates a line containing nothing but ):, which looks like a sad face emoji. Łukasz Langa, Black’s creator, explains why Black does this.
ŁUKASZ LANGA

Dockerizing Django With Postgres, Gunicorn, and Traefik
Learn how to configure Django to run on Docker. You’ll see how to set up Django with a Postgres database, run your application with Gunicorn, and handle incoming requests with Traefik, which is an Nginx alternative for microservices. You’ll also learn how to manage TLS certificates in production using Let’s Encrypt.
AMAL SHAJI • Shared by Amal Shaji

Get Started Today On Crunchy Bridge: Fully Managed Cloud Postgres
Rival IQ needed to evaluate new providers for their 3+ TB Postgres database and chose Crunchy Bridge on AWS for integrating with their Heroku app. The result: performance improvements and better developer workflow with a seamless migration experience. Read the customer success story to learn more.
CRUNCHY DATAsponsor

Unravelling async and await
In the latest article in his Syntactic Sugar series, Python steering council member Brett Cannon explains how the async and await keywords work and how they evolved from earlier language constructs.
BRETT CANNON

Build a Bulk File Rename Tool With Python and PyQt
In this step-by-step project, you’ll build a bulk file rename tool using Python and pathlib to manage the file renaming process and PyQt to provide the application’s GUI.
REAL PYTHON


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 →

recommenders: Best Practices on Recommendation Systems
GITHUB.COM/MICROSOFT

dagster: A Data Orchestrator for Machine Learning, Analytics, and ETL
GITHUB.COM/DAGSTER-IO

sqlfluff: A SQL Linter and Auto-Formatter for Humans
GITHUB.COM/SQLFLUFF

sh: Full-Fledged Subprocess Replacement for Python 2.6, PyPy, and PyPy3
GITHUB.COM/AMOFFAT

vim-clutch: Code for Using a Raspberry Pi Zero W to Send Key-Strokes to Vim
GITHUB.COM/L00SED

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) May 26, 2021

⋅ Conf42 Python 2021 May 27 — 28, 2021

⋅ DjangoCon Europe 2021 (Virtual) June 2 — 7, 2021

⋅ EuroPython 2021 (Virtual) July 26 – August 1, 2021

⋅ PyCon India 2021 (Virtual) September 17 – 20, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Land a Starship With Python, Async in Flask 2.0, Gaming on the BBC micro:bit, and More

Tuesday, May 18, 2021

How SpaceX Lands Starship (Sort Of) #473 – MAY 18, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo How SpaceX Lands Starship (Sort Of) While waiting for SN15 to launch, Thomas Goddard set out to

The Quest for Faster Python, Performance as the Nemesis of Secure Code, How to Use Stacks and Queues, and More

Tuesday, May 11, 2021

The Quest for Faster Python #472 – MAY 11, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo The Quest for Faster Python There seems to be a lot going on in the Python JIT compiler space. Facebook

Python C Extensions Can Be Slow, How To Make Jupyter Notebooks Interactive, Building a Platform Game in Python, and More

Tuesday, May 4, 2021

The Hidden Performance Overhead of Python C Extensions #471 – MAY 4, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo The Hidden Performance Overhead of Python C Extensions It's no secret that

The Social Contract of Open Source, Python's map() Function, Incrementally Teaching Python with Hedy, and More

Tuesday, April 27, 2021

The Social Contract of Open Source #470 – APRIL 27, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo The Social Contract of Open Source What is open source software, and what is the relationship

Level Up Your Python by Reading Code, Need-to-Know Django Template Tags, Python Music Theory, and More

Tuesday, April 20, 2021

Learn by Reading Code: Python Standard Library Design Decisions Explained #469 – APRIL 20, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Learn by Reading Code: Python Standard Library Design

You Might Also Like

Elastic Community Newsletter

Tuesday, December 24, 2024

Check out the latest from the Elastic Community ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect community-newsletter-header-img.png

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,

GCP Newsletter #430

Monday, December 23, 2024

Welcome to issue #430 December 23rd, 2024 News Event Official Blog Calling all devs: Code the future of baseball with Google Cloud and MLB - Google Cloud and MLB are hosting a hackathon where

⏯️ Make a Holiday Guest Profile for Your Streaming Services — What Is Linux Mint?

Monday, December 23, 2024

Also: I Played the Worst Mobile Games So You Don't Have To, and More! How-To Geek Logo December 23, 2024 Did You Know The giant splashes of color that make poinsettias a popular holiday decoration

Ranked | The Most Satisfying vs. Most Reliable Car Brands in 2024 🚙

Monday, December 23, 2024

The most reliable car brands are rarely the most satisfying to own, according to recent Consumer Reports survey data. View Online | Subscribe | Download Our App Presented by: Find the megatrends

Bitcoin Enthusiasts Are Letting Altcoins Pass by

Monday, December 23, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 23, 2024? The

Last Minute Gifts from Walmart

Monday, December 23, 2024

ZDNET ZDNET Sponsored Message In Partnership with Walmart December 23, 2024 exclusive offer Walmart Last-minute gifts from Walmart Shop Now Walmart The tech you've been wishing for–at everyday low

15 ways AI saved me weeks of work in 2024

Monday, December 23, 2024

ZDNET's product of the year; Windows 11 24H2 bug list updated -- ZDNET ZDNET Tech Today - US December 23, 2024 AI applications on various devices. 15 surprising ways I used AI to save me weeks of

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being