gripsack (python frontend)
Typed module DSL for gripsack. Modules written
against this package evaluate to IR (JSON) that the grip core
consumes. Fully annotated — ships py.typed (PEP 561), so pyright
gives you autocomplete, inline errors, and refactors.
from gripsack import module, github_release, symlink, tracked_copy, dep
helix = module(
"helix",
fetch=github_release(
repo="helix-editor/helix",
asset="helix-{version}-x86_64-linux.tar.xz",
),
install={"bin/hx": symlink("~/.local/bin/hx")},
config={"config.toml": tracked_copy("~/.config/helix/config.toml")},
depends=[dep("git")],
)
API overview
| area | exports |
|---|---|
| modules | module, Module |
| fetchers | github_release, tarball, git, file_fetch, plugin_fetch |
| destinations | symlink, tracked_copy, merge, template |
| dependencies | dep(module, edge="runtime") |
| activation | service, fonts, desktop_entry, custom_hook |
| steps | step, fetch_step, build_step, shell_step |
| verify | verify_binary, verify_file, verify_shell |
| graph | emit_ir, clear_graph, current_facts |
Modules are data: evaluation emits IR; the Rust core only ever consumes IR. Every module captures a source span so core errors point back at the exact line of your code.
API is pre-alpha and will change with the IR schema (plan).
Metadata
Release files for gripsack 0.14.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gripsack-0.14.0.tar.gz | 25.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gripsack-0.14.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.7 kB
Release files / gripsack-0.14.0.tar.gz
| Download URL | gripsack-0.14.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68b3f926fe4ef268a1ce9d380eb0dcfc2f8ffa87d7baa77c34bc6c4ad0681beb
|
|
BLAKE2b-256 checksum How to use checksums |
c8888cd55d6626603fc3ed8f7b0c9d570c30faf2d24d000149a87c01e33b6c87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / gripsack-0.14.0-py3-none-any.whl
| Download URL | gripsack-0.14.0-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
748616457d1375d4b93e3a03fb5bdcebd04d8975bdb6d61b32b6a43e2c13f437
|
|
BLAKE2b-256 checksum How to use checksums |
6b4c949d441645ed82596e2c75054d145630117e70bbcc04a827decfa01671ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.6 {"installer":{"name":"uv","version":"0.12.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|