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.

#409 We've moved to Hetzner write-up

November 14, 2024 00:35:07 29.63 MB Downloads: 0
Topics covered in this episode:
Watch on YouTube

About the show

Sponsored by:

  • ScoutAPM - Django Application Performance Monitoring
  • Codeium - Free AI Code Completion & Chat

Connect with the hosts

Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.

Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.

Michael #1: terminal-tree

  • An experimental filesystem navigator for the terminal, built with Textual
  • Tested in macOS only at this point. Chances are very high it works on Linux. Slightly lower chance (but non-zero) that it works on Windows.
    • Can confirm it works on Linux

Brian #2: posting: The API client that lives in your terminal

  • Also uses Textual
  • From Darren Burns
  • Interesting that the installation instructions recommends using uv:
    • uv tool install --python 3.12 posting
  • Very cool. Great docs. Beautiful. keyboard centric, but also usable with a mouse.
  • “Fly through your API workflow with an approachable yet powerful keyboard-centric interface. Run it locally or over SSH on remote machines and containers. Save your requests in a readable and version-control friendly format.”
  • Able to save multiple environments
  • Great colors
  • Allows scripting to run Python code before and after requests to prepare headers, set variables, etc.

Michael #3: Extra, extra, extra

Brian #4: UV does everything or enough that I'm not sure what else it needs to do

  • Jeff Triplett
  • “UV feels like one of those old infomercials where it solves everything, which is where we have landed in the Python world.”
  • “My favorite feature is that UV can now bootstrap a project to run on a machine that does not previously have Python installed, along with installing any packages your application might require.”
  • Partial list (see Jeff’s post for his complete list)
    • uv pip install replaces pip install
    • uv venv replaces python -m venv
    • uv run, uv tool run, and uv tool install replaces pipx
    • uv build - Build your Python package for pypi
    • uv publish - Upload your Python package to pypi, replacing twine and flit publish

Extras

Brian:

Joke: How programmers sleep