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.
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

Sudoko in Packaging, Thread Safety, Sigstore, and More

Tuesday, October 29, 2024

Sudoku in Python Packaging #653 – OCTOBER 29, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Sudoku in Python Packaging Simon writes about a Soduku solver written by Konstin that uses the Python

Unlock Python's Pattern Matching, Combinatoric Iterators, SSH Scripting, and More

Tuesday, October 22, 2024

Structural Pattern Matching in Python #652 – OCTOBER 22, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Structural Pattern Matching in Python In this tutorial, you'll learn how to harness the

Lots of PEPs, More Py3.13, HPy, and More

Sunday, October 20, 2024

Exploring the New Features of Python 3.13 #651 – OCTOBER 15, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring the New Features of Python 3.13 Python 3.13 is here! Our regular guests, Geir

Immutable Types, DuckDB & Pyodide, Free Threaded, and More

Tuesday, October 8, 2024

Differences Between Python's Mutable and Immutable Types #650 – OCTOBER 8, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Differences Between Python's Mutable and Immutable Types In this

Python 3.13, pdb, Django Project Ideas, and More

Tuesday, October 1, 2024

Python 3.13: Cool New Features for You to Try #649 – OCTOBER 1, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.13: Cool New Features for You to Try In this tutorial, you'll learn about

You Might Also Like

Want to earn easy money? Join Wynter.

Monday, January 6, 2025

Get paid to participate in research studies, customer interviews, and product demos. It's a way for you to give back to the community while having a low-key side hustle. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1660 [Hard]

Monday, January 6, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Adobe. You are given a tree with an even number of nodes. Consider each connection

🐧 2025 Won't Be the Year of the Linux Desktop — Everything Apple Could Release This Year

Monday, January 6, 2025

Also: Why I Switched to macOS After Two Decades, and More! How-To Geek Logo January 6, 2025 Did You Know The "root" in root beer is literal. The original recipes for root beer used the root

Welcome to 2025 & How to get good at anything creative

Monday, January 6, 2025

Polywork shutting down, the end of news, a year of curiosity, and a lot more in this week's issue of Creativerly. Creativerly Welcome to 2025 & How to get good at anything creative By Philipp

Infographic | The Global Semiconductor Industry, in One Giant Chart 📊

Monday, January 6, 2025

American companies account for 71.5% of the semiconductor industry's global market cap, despite most chips being manufactured elsewhere. View Online | Subscribe Presented by: Non-consensus

Spyglass Dispatch: Cutting Checks, Bending Knees & Kissing Rings

Monday, January 6, 2025

Sam Altman Reflects on a Chaotic Couple Years • 2025 Golden Globes • AI TVs • Uber & Lyft + Robotaxis • Thoughts on Dune: Prophecy The Spyglass Dispatch is a newsletter sent on weekdays featuring

I saw Samsung's 8K TVs at CES 2025

Monday, January 6, 2025

🛜 My off-grid internet solution; Wi-Fi 8; AI PCs; iOS 18.2 problems -- ZDNET ZDNET Tech Today - US January 6, 2025 Samsung Neo QLED 8K TV at CES I saw Samsung's 8K TV at CES 2025 - and these 3 new

GCP Newsletter #432

Monday, January 6, 2025

Welcome to issue #432 January 6th, 2025 News AI Official Blog Public Sector A Look Back at the AI Innovations Transforming the Public Sector - In 2024, Google AI made significant advancements in

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips [6 Jan]

Monday, January 6, 2025

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News Every tap, click, and swipe we make online shapes our digital lives, but it also opens doors—some we never meant to

🚀 Ready to Level Up Your Cloud, 🤖 AI and DevOps Skills?

Monday, January 6, 2025

Access top-tier courses and labs right now! Hey there, Are you still wrestling with cloud deployments, AI integrations, or DevOps workflows? Maybe you're spending hours troubleshooting, or worse –