Brought to you by Michael and Brian - take a Talk Python course or get Brian's pytest book

#367: A New Cloud Computing Paradigm at Python Bytes

Published Tue, Jan 16, 2024, recorded Tue, Jan 16, 2024
Watch this episode on YouTube
Play on YouTube
Watch the live stream replay

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.

Extras

Brian:

  • Recent Python People episodes
    • Will Vincent
    • Julian Sequeira
    • Pamela Fox

Michael:

Joke: Careful with that bike lock combination code


Want to go deeper? Check our projects