Setuptools Deprecation, Installable Django Apps, Flask, and More

#641 – AUGUST 6, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Setuptools Breaks Things, Then Fixes Them
This post is Bite Code’s monthly summary, but the lead story happened just days ago. In line with a 7 year old deprecation, setuptools finally removed the ability to call its test command. Many packages promptly broke. The following day the change was undone.
BITE CODE!

How to Write an Installable Django App
In this step-by-step tutorial, you’ll learn how to create an installable Django app. You’ll cover everything you need to know, from extracting your app from a Django project to turning it into a package that’s available on PyPI and installable through pip.
REAL PYTHON

Prod Alerts? You Should be Autoscaling
Let Judoscale solve your scaling issues. We support Django, Flask, and FastAPI, and we also autoscale your Celery and RQ task queues. Traffic spike? Scaled up. Quiet night? Scaled down. Work queue backlog? No problem →
JUDOSCALEsponsor

State of Flask and Pallets in 2024
Talk Python interviews David Lord, the lead maintainer of the Pallets open source organization which is responsible for Flask, Jinja, and Click. They talk about the latest for the org and Flask.
TALK PYTHON podcast

Python 3.13.0 Release Candidate 1 Released
CPYTHON DEV BLOG

Quiz: Python Strings and Character Data
REAL PYTHON

Quiz: How to Use Generators and yield in Python
REAL PYTHON


Articles & Tutorials


Tips for Navigating an Issue Tracker on GitHub
Scouring an open source project’s issues can lead to an open source contribution, but there is often an overwhelming amount of issues to sift through. In this article, Stefanie shares her tips for navigating an open source project’s issue tracker to find something to work on.
STEFANIE MOLIN • Shared by Stefanie Molin

Working With JSON Data in Python
In this tutorial, you’ll learn how to read and write JSON-encoded data in Python. You’ll begin with practical examples that show how to use Python’s built-in “json” module and then move on to learn how to serialize and deserialize custom data.
REAL PYTHON

Simulate a Text File in Python
Testing an application that reads files from a disk can be complicated. It may depend on the machine, require special access, or be frustratingly slow. This course shows you how to simulate a text file using Python to simplify testing.
REAL PYTHON course

How I Use Python to Organize My Data Analyses
This is a description of how Joshua uses Python in a package-centric way to organize his approach to data analyses. This is a system he has evolved while working on his computational biology Ph.D. and working in industry.
JOSHUA COOK • Shared by Joshua Cook

Python String Formatting: Available Tools and Their Features
In this tutorial, you’ll learn about the main tools for string formatting in Python, as well as their strengths and weaknesses. These tools include f-strings, the .format() method, and the modulo operator.
REAL PYTHON

Why Does python -M json Not Work? Why Is It json.tool?
Python’s json.tool command-line interface pretty prints your JSON. Have you ever wondered why it is in json.tool instead of the module directly? This article explains the history behind this module.
TREY HUNNER

PSF Bylaws Change
Recently, the PSF board was alerted to a flaw in the bylaws that could expose the foundation to unbounded financial liability. As such, a board driven change has been instituted.
PYTHON SOFTWARE FOUNDATION

Fear of Over-Engineering Has Killed Engineering Altogether
This opinion piece outlines why the culture of rapid delivery has eroded quality engineering. It talks about how we got where we are and what should be done instead.
PAO RAMEN

Tracing the Evolution of a Python Function With git log
The git log command has arguments you can use to examine just part of a commit. This article shows you how to trace the changes to a single Python function.
JOËL PERRAS

tea-tasting: Statistical Analysis of A/B Tests
This post introduces you to the new tea-tasting project that lets you do statistical analysis on your A/B tests.
EVGENY IVANOV


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 →

pygamelib: Text-Mode Game Development With Python
GITHUB.COM/PYGAMELIB

git-authorship: Who Wrote Each Line in Your Repo
GITHUB.COM/THEHALE

saa: Translate Times Into Spoken Expressions
GITHUB.COM/PROTEUSIQ

python-vendorize: Vendorize Packages From PyPI
GITHUB.COM/MWILLIAMSON

django-slick-reporting: Dashboard and Reporting Engine
GITHUB.COM/RAMEZISSAC

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
August 7, 2024

Python Atlanta
August 8 to August 9, 2024

Python Nordeste 2024
August 9 to August 11, 2024

Python Communities
August 10 to August 11, 2024

PyDelhi User Group Meetup
August 10, 2024

DFW Pythoneers 2nd Saturday Teaching Meeting
August 10, 2024
Happy Pythoning!
Copyright © 2024 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

Great Tables, itertools, Asyncio In A Thread, and More

Tuesday, July 30, 2024

Build Captivating Display Tables in Python With Great Tables #640 – JULY 30, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Build Captivating Display Tables in Python With Great Tables Do you need

Asyncio Exceptions, Protocols, Free-Threaded CPython, and More

Tuesday, July 23, 2024

Asyncio `gather()` Handle Exceptions #639 – JULY 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio gather() Handle Exceptions The asyncio.gather() function takes an optional argument

VS Code Settings, Leaked Creds, Free-Threaded CPython, and More

Tuesday, July 16, 2024

Customize VS Code Settings #638 – JULY 16, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Customize VS Code Settings In this course, Philipp helps you customize your Visual Studio Code settings to

Apple App Store, Built-Ins, Constraint Programming, and More

Tuesday, July 9, 2024

Python Grapples With Apple App Store Rejections #637 – JULY 9, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Python Grapples With Apple App Store Rejections A string that is part of the urllib

Build a Calculator, Satellite Data, Best Practices, and More

Tuesday, July 2, 2024

Build a GUI Calculator With PyQt and Python #636 – JULY 2, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Build a GUI Calculator With PyQt and Python In this video course, you'll learn how to

You Might Also Like

🚀 Visual Capitalist Just Got Better: No Ads. Just Data, Uninterrupted.

Tuesday, September 17, 2024

Discover the Visual Capitalist Ad-Free experience today. View email in browser * NEW * Go Ad-Free on Visual Capitalist We know most people could do without seeing advertisements in their lives. The

📱 How to Use Game Mode on Your iPhone — Things to Know Before Switching to GrapheneOS

Tuesday, September 17, 2024

Also: The Best Surge Protectors for 2024, and More! How-To Geek Logo September 17, 2024 Did You Know If you eat a diet rich in vegetables, then you're eating a wide variety of plant parts. For

JSK Daily for Sep 17, 2024

Tuesday, September 17, 2024

JSK Daily for Sep 17, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Top 8 React Libraries for Building Beautiful and Functional UIs This article will look at

NumPy where(), Python & R, HTTP Clients, and More

Tuesday, September 17, 2024

How to Use Conditional Expressions With NumPy `where()` #647 – SEPTEMBER 17, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo How to Use Conditional Expressions With NumPy where() This tutorial

Grift & Greed

Tuesday, September 17, 2024

FX Wins, TikTok Loses, Slack AI, Copilot Pages, JPMorgan's Apple Card... Grift & Greed FX Wins, TikTok Loses, Slack AI, Copilot Pages, JPMorgan's Apple Card... By MG Siegler • 17 Sept 2024

Daily Coding Problem: Problem #1559 [Hard]

Tuesday, September 17, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by LinkedIn. You are given a binary tree in a peculiar string representation. Each node is

Locking A Loophole 🔒

Tuesday, September 17, 2024

Temu's favorite shipping loophole may soon disappear. Here's a version for your browser. Hunting for the end of the long tail • September 17, 2024 A couple of years ago, I found myself waiting

Mapped | The Purchasing Power of $100 in Each U.S. State 💰

Tuesday, September 17, 2024

How far does $100 go? It turns out it varies by US state, with $100 stretching up to 26% further in certain places in the country. View Online | Subscribe | Download Our App Presented by: Lloyd's

Go's great for working with LLMs

Tuesday, September 17, 2024

Plus running Go in the browser, using Go for scripting, and Go's ranking against other languages. | #​523 — September 17, 2024 Unsub | Web Version Together with WorkOS Go Weekly Building LLM-

Will Artificial Intelligence Take Over Humans?

Tuesday, September 17, 2024

Top Tech Content sent at Noon! A dev conference with discussions, workshops, and 1:1 feedback sessions Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today