singularis_compress
Compress any local file losslessly with bit-exact restore verification. Ideal for archives, datasets, logs, or model checkpoints that must return identical.
Instructions
Compress a file exactly (lossless, bit-exact restore) with Singularis compression. Use for archives, datasets, logs, model checkpoints, anything that must come back identical. Input: a local file path; optional out_path (default: path + '.sing'). Returns the output path, bytes in/out, ratio, and an exact-restore check (hash of a trial restore equals the original). Decompress with singularis_decompress.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| out_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||