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.

#334 Packaging Organizations

May 05, 2023 00:32:22 31.2 MB Downloads: 0
Watch on YouTube

About the show

Sponsored by us! Support our work through:

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.

Brian #1: rye - Python workflow tool

  • Armin Ronacher
  • Rust built tool, currently only for Linux and MacOS
  • Project workflow commands, like
    • init - new project
    • add - add a dependency (including optional)
    • remove - remove a dependency
    • build - build wheel
    • lock - update lock file
  • virtualenv commands
    • add —dev - install in environment
    • sync - install/update dependencies in env based on pyprojec.toml
    • run - run command within environment
  • Install Python
    • fetch - Fetches a Python interpreter for the local machine
  • Register existing Python
    • toolchain Helper utility to manage Python toolchains
  • Kinda like pipx
    • install - Installs a package as global tool
    • uninstall - Uninstalls a global tool
    • I didn’t see that it added anything to my PATH, so this addition made it work:
  • Bonus
    • Everything lives under ~/.rye
    • So it’s easy to stop using, and doesn’t muck up
  • see also

Michael #2: PyPI Organizations

  • The first step in our plan to build financial support and long-term sustainability of the Python Packaging Index (PyPI)
  • Small fee for organizations rather than individual users
  • Like Github orgs

Brian #3: 5 tips to learn any new Python library faster

  • Bob Belderbos
  • The tiips
    • RTFM - at lest the getting started docs
    • Install it
    • Explore the library - play. Bob recommends Jupyter notebook for this.
    • Apply it to a real world problem - deliberate practice
    • Build something with it
    • (bonus) Teach it - blog, TIL, video tutorial, etc.

Michael #4: Python gets down to (the) Metal

Extras

Brian:

Michael:

Joke: It’s the progress that counts