DiscoverThe Real Python PodcastNew PEPs: Template Strings & External Wheel Hosting
New PEPs: Template Strings & External Wheel Hosting

New PEPs: Template Strings & External Wheel Hosting

Update: 2024-11-08
Share

Description

Have you wanted the flexibility of f-strings but need safety checks in place? What if you could have deferred evaluation for logging or avoiding injection attacks? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.


We discuss a set of recent Python Enhancement Proposals (PEPs). The idea of template strings has been under consideration for a while, and PEP 750 describes a new way forward. PEP 759 proposes a way for projects on PyPI to safely host resources on external sites using a new package upload format called a .rim file.


We share several other articles and projects from the Python community, including what didn’t make the headlines about Python 3.13, solving Sudoku with Python packaging, what’s sweet about Python’s syntactic sugar, creating database-generated columns using SQLite and Django, a discussion about mentoring, an adaptive web scraper, and a debugging tool for HTTP(S) client requests.


This episode is sponsored by Sentry.



Course Spotlight: Using Pydantic to Simplify Python Data Validation


Discover the power of Pydantic, Python’s most popular data parsing, validation, and serialization library. In this hands-on video course, you’ll learn how to make your code more robust, trustworthy, and easier to debug with Pydantic.



Topics:



  • 00:00:00 – Introduction

  • 00:02:08 – Python 3.14.0 Alpha 1 Released

  • 00:02:38 – Python 3.13, What Didn’t Make the Headlines

  • 00:05:23 – What’s up Python? 3.13 is out, t-strings look awesome

  • 00:10:21 – Sponsor: Sentry

  • 00:11:25 – Sudoku in Python Packaging

  • 00:14:29 – Syntactic Sugar: Why Python Is Sweet and Pythonic

  • 00:22:31 – Database generated columns: Django & SQLite

  • 00:27:14 – Video Course Spotlight

  • 00:28:39 – Mentors

  • 00:42:23 – Scrapling: Lightning-Fast, Adaptive Web Scraping for Python

  • 00:44:14 – httpdbg: A tool for Python developers to easily debug the HTTP(S) client requests

  • 00:46:04 – Request for project submissions to PyCoders

  • 00:46:59 – Thanks and goodbye


News:



Show Links:



Discussion:



  • Mentors – Ryan just finished his second round of mentoring with the Djangonaut.Space program. This post talks about how you can help your mentor help you and how to be a good mentor.


Projects:



Additional Links:



Level up your Python skills with our expert-led courses:


Support the podcast & join our community of Pythonistas

Comments 
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

New PEPs: Template Strings & External Wheel Hosting

New PEPs: Template Strings & External Wheel Hosting