Small Python CLIs packaged with Nix: one uv workspace built by uv2nix into one package. Docs and slides: https://andrewthomaslee.github.io/moscripts/.
| Command | Does |
|---|---|
motmp |
create and edit temporary marimo notebooks with a managed venv |
mpv_playlists |
play a playlist from ~/Music/Playlists with mpv |
password_generator |
secure, customizable passwords |
human_timestamp |
a human-readable timestamp in any time zone |
Needs Nix with flakes enabled.
nix run github:andrewthomaslee/moscripts#password_generator -- --help
nix profile add github:andrewthomaslee/moscripts # all four on PATHIn a flake that follows external-systems/pkgs:
inputs.moscripts = {
url = "github:andrewthomaslee/moscripts";
inputs.org-pkgs.follows = "org-pkgs";
};Needs Nix and devenv.
devenv allow # editable venv, auto-activates on cd (after `devenv hook`)
fmt # format and lint
check # nix flake check: ruff, ty, pytest, uv-lock, docs
docs-build # static docs to ./result-docs; open index.html from disk
devenv up # live docs on :8981 and slides on :8982CI is the external-systems org CI:
nix flake check on PRs; on main, the docs deploy to GitHub Pages and a
0.2.<commits> release is tagged. See
Development.