|
Description:
|
|
Topics covered in this episode:
Watch on YouTube
About the show
Sponsored by Bright Data : pythonbytes.fm/brightdata
Connect with the hosts
Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Tuesdays at 11am PT. Older video versions available there too.
Michael #1: Leaving the cloud
Brian #2: PEP 723 - Inline script metadata
- Author: Ofek Lev
- This PEP specifies a metadata format that can be embedded in single-file Python scripts to assist launchers, IDEs and other external tools which may need to interact with such scripts.
- Example:
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "requests<3",
# "rich",
# ]
# ///
import requests
from rich.pretty import pprint
resp = requests.get("https://peps.python.org/api/peps.json")
data = resp.json()
pprint([(k, v["title"]) for k, v in data.items()][:10])
Michael #3: Flet for Android
- via Balázs
- Remember Flet?
- Here’s a code sample (scroll down a bit).
- It’s amazing but has been basically impossible to deploy.
- Now we have Android.
- Here’s a good YouTube video showing the build process for APKs.
Brian #4: harlequin: The SQL IDE for Your Terminal.
- Ted Conbeer & other contributors
- Works with DuckDB and SQLite
- Speaking of SQLite
Extras
Brian:
- Recent Python People episodes
- Will Vincent
- Julian Sequeira
- Pamela Fox
Michael:
Joke: Careful with that bike lock combination code |