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).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gripsack-0.2.0.tar.gz.
File metadata
- Download URL: gripsack-0.2.0.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6e361402162d8dcc376ff3858b42645936469e5e40cf03d53e622c15716f3d0
|
|
| MD5 |
f8d19ef127af297719760fc462e717fb
|
|
| BLAKE2b-256 |
45864b8db04af6358d9dbe6c06256f3bfebfdb20eb46a51c477d7ca555d3a2b0
|
File details
Details for the file gripsack-0.2.0-py3-none-any.whl.
File metadata
- Download URL: gripsack-0.2.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ddc38c00deda9959201d3e07127016fda79f8808c9b1f9906f8170933063000
|
|
| MD5 |
8db5572c89afcdc6cdaa19b760f4427e
|
|
| BLAKE2b-256 |
edffcc0f8c406dbf9fd1d2f7ccdfc10fb933674894e3166706e3a344cff6c6b5
|