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:
    
    
    
    
    
      
    
    
  - Leaving the cloud
 - PEP 723 - Inline script metadata
 - Flet for Android
 - harlequin: The SQL IDE for Your Terminal.
 - Extras
 - Joke
 
About the show
Sponsored by Bright Data : pythonbytes.fm/brightdata
Connect with the hosts
- Michael: @mkennedy@fosstodon.org
 - Brian: @brianokken@fosstodon.org
 - Show: @pythonbytes@fosstodon.org
 
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
- Also see Five values guiding our cloud exit
- We value independence above all else.
 - We serve the internet.
 - We spend our money wisely.
 - We lead the way.
 - We seek adventure.
 
 - And We stand to save $7m over five years from our cloud exit
 - Slice our new monster 192-thread Dell R7625s into isolated VMs
 - Which added a combined 4,000 vCPUs with 7,680 GB of RAM and 384TB of NVMe storage to our server capacity
 - They created Kamal — Deploy web apps anywhere
 - A lot of these ideas have changed how I run the infrastructure at Talk Python and for Python Bytes.
 
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:
- PageFind and how I’m using it
 - When "Everything" Becomes Too Much: The npm Package Chaos of 2024
 - Essay: Unsolicited Advice for Mozilla and Firefox
 - SciPy 2024 is coming to Washington
 
Joke: Careful with that bike lock combination code