Tuesday, May 25, 2021

PyCoder’s Weekly: Issue #474 (May 25, 2021)

#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

alt

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 →
DATADOG sponsor

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

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

alt

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 →
COURIER sponsor

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 DATA sponsor

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

Events

Conf42 Python 2021

May 27 — 28, 2021
CONF42.COM

EuroPython 2021 (Virtual)

July 26 – August 1, 2021
EUROPYTHON.EU

PyCon India 2021 (Virtual)

September 17 – 20, 2021
PYCON.ORG


Happy Pythoning!
This was PyCoder’s Weekly Issue #474.
View in Browser »

alt

[ 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 ]



from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...