Python Bytes is a weekly podcast hosted by Michael Kennedy and Brian Okken. The show is a short discussion on the headlines and noteworthy news in the Python, developer, and data science space.

#367 A New Cloud Computing Paradigm at Python Bytes

January 16, 2024 00:36:21 54.78 MB Downloads: 0
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.

Extras

Brian:

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

Michael:

Joke: Careful with that bike lock combination code