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

#381: Python Packages in the Oven

Published Tue, Apr 30, 2024, recorded Tue, Apr 30, 2024
Watch this episode on YouTube
Play on YouTube
Watch the live stream replay

About the show

Sponsored by ScoutAPM: pythonbytes.fm/scout

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.

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: Announcing py2wasm: A Python to Wasm compiler

  • py2wasm converts your Python programs to WebAssembly, running them at 3x faster speeds
  • thanks to Nuitka

Brian #2: Exploring Python packages with Oven and PyPI Browser

  • pypi.org is great, but there are some handy alternatives
  • Oven
    • Shows how to install stuff with pip, pdm, rye, and poetry
    • Similar meta and description as PyPI
    • Includes README.md view (no tables yet, though)
    • Nice listing of versions
    • Ability to look at what files are in wheels and tarballs (very cool)
    • Can deploy yourself. Node/Remix app.
    • Really slick.
  • PyPI Browser
    • View versions
    • View wheel and tarball contents.
    • Metadata and contents.
    • No README view
    • Is a Starlette app that you can deploy on your on with a private registry. So that’s cool.

Michael #3: PyCharm Local LLM

  • Pretty awesome full line completer based on a local LLM for PyCharm
  • Requires PyCharm Professional
  • An example, given this partial function in Flask:
    @blueprint.get('/listing')
    def listing():
      videos = video_service.all_videos()
    

Typing ret →

img

That is, typing ret autocompletes to:

return flask.render_template('home/listing.html', videos=videos)

Which is pretty miraculous, and correct.

Brian #4: Google shedding Python devs (at least in the US).

Extras

Brian:

Michael:

Joke: Broken System


Want to go deeper? Check our projects