Melvin's digital garden

Python

uv

  • replaces pipenv, pyenv

https://textual.textualize.io/

Multiprocessing

  • https://www.ray.io/
  • Object store: ray.put and ray.get
  • Annotate function with ray.remote and use fn.remote to invoke the function
  • Easier to use compared to built-in multiprocessing module.

https://beeware.org/

  • Write once. Deploy everywhere.

Data processing

Iterates over lines from files or stdin from argv

https://menno.io/presentations/never-write-shell-scripts-again/

Brython demo https://github.com/melvinzhang/pyconsg22edu

Links to this note