Issue #654

PySheets, REPL Shortcuts, Empty Tests, and More

Nov. 5, 2024

PySheets, REPL Shortcuts, Empty Tests, and More
#654 – NOVEMBER 5, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
PySheets: Spreadsheets in the Browser Using PyScript
What goes into building a spreadsheet application in Python that runs in the browser? How do you make it launch quickly, and where do you store the cells of data? This week on the show, we speak with Chris Laffra about his project, PySheets, and his book “Communication for Engineers.”
REAL PYTHON podcast

Adding Keyboard Shortcuts to the Python REPL
Python 3.13 included a new version of the REPL which has the ability to define keyboard shortcuts. This article shows you how to create one and warns you about potential hangups.
TREY HUNNER

Tired of Being Paged? Worry Less With Temporal
Say goodbye to managing failures, network outages, flaky endpoints, and long-running processes. Temporal ensures your code never fails. Period. PLUS, you can get started today on Temporal Cloud with $1,000 free credits on us →
TEMPORAL TECHNOLOGIESsponsor

Running a Million Empty Tests
To better understand just where the performance cost of running tests comes from, Anders ran a million empty tests. This post talks about what he did and the final results.
ANDERS HOVMOLLER

Pillow Release 11.0.0
GITHUB.COM/PYTHON-PILLOW

PEP 750: Template Strings (Major Updates)
PSF

PEP 756: Add PyUnicode_Export() and PyUnicode_Import() C Functions (Withdrawn)
PSF

Python 3.8 Reaches End of Life
PYTHON.ORG

Quiz: Single and Double Underscores in Python Names
REAL PYTHON

Quiz: Getting Started With Async Features in Python
REAL PYTHON


Discussions


Thinking of Rewriting Our Go / Java API in Python
REDDIT

Best GUI for Local Client App?
REDDIT


Articles & Tutorials


Move to Sigstore Complicates Linux Distros
Currently, CPython signs its artifacts with both PGP and Sigstore. Removing the PGP signature has been proposed, but that has implications: Sigstore is still new enough that many Linux distributions don’t support it yet.
JOE BROCKMEIER

Python’s Magic Methods in Classes
In this video course, you’ll learn what magic methods are in Python, how they work, and how to use them in your custom classes to support powerful features in your object-oriented code.
REAL PYTHON course

[Webinar] How to Build Secure, Ethical, and Scalable AI Operations
As GenAI and LLMs rapidly evolve, the impact of data leaks and unsafe AI outputs makes it critical to secure your AI infrastructure. Learn how MLOps and ML Platform teams can use the newly launched Guardrails Pro to secure AI operations — enabling faster, safer adoption of LLMs at scale →
GUARDRAILSsponsor

Make It Ephemeral: Software Should Decay and Lose Data
In the real world, things decay over time. In the digital world things get kept forever, and sometimes that shouldn’t be so. Designing for deletion is hard.
ARMIN RONACHER

Python 3.13, t-Strings, Dep Groups…
Bite code! does their monthly Python news wrap-up. Check out stories on 3.13, proposed template strings, dependency groups in pyproject.toml, and more.
BITE CODE!

Identifying Products From Images
This project uses computer vision solution to automate doing inventory of products in retail, using YOLOv8 and image embeddings for precise detection.
ALBERT FERRÉ • Shared by Albert Ferré

Write More Pythonic Code With Context Managers
Context managers enable you to create “template” code with initialization and clean up to make the code that uses them easier to read and understand.
JUHA-MATTI SANTALA

Django Girls 10th Birthday!
This post celebrating ten years of Django Girls talks about how it got started, what they’re hoping to do, and how you can get involved.
DJANGO GIRLS

pytest Selection Arguments for Failing Tests
This quick TIL post talks about five useful pytest options that let you control what tests to run with respect to failing tests.
RODRIGO GIRÃO SERRÃO

Asyncio gather() Return Values
This post shows you how to return values from coroutines that have been concurrently executed using asyncio.gather().
JASON BROWNLEE

PyBay 2024
This list contains the recorded talks from the PyBay 2024 conference.
YOUTUBE video


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 →

wimsey: Data Contract Library
GITHUB.COM/BENRUTTER

libcom: Image Composition Toolbox
GITHUB.COM/BCMI

simplemind: Experimental Client for AI Providers
GITHUB.COM/KENNETHREITZ

PyChrono: Multi-Physics Simulation in Python
CRISTIANOPIZZAMIGLIO.COM • Shared by Cristiano Pizzamiglio

jamesql: In-Memory NoSQL Database in Python
GITHUB.COM/CAPJAMESG

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
November 6, 2024

Canberra Python Meetup
November 7, 2024

Sydney Python User Group (SyPy)
November 7, 2024

DFW Pythoneers 2nd Saturday Teaching Meeting
November 9, 2024

PiterPy Meetup
November 12, 2024

PyCon Sweden 2024
November 14 to November 16, 2024

PyCon Hong Kong 2024
November 16 to November 17, 2024

PyCon Mini Tokai 2024
November 16 to November 17, 2024

PyCon Ireland 2024
November 16 to November 18, 2024
Happy Pythoning!
Copyright © 2024 PyCoder’s Weekly, All rights reserved.