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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your