Skip to content

Release 0.2.4 - #54

Merged
sambles merged 2 commits into
stable/0.2.xfrom
release/0.2.4
Oct 23, 2026
Merged

sambles merged 2 commits into
stable/0.2.xfrom
release/0.2.4

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Directory archives written by `put()` used tarfile's default gzip level 9 on
a single core. On a 12.4 GB Oasis inputs directory that took 369 s locally
(~23 min on Fargate) for a 7.9x ratio; level 1 takes 32 s for 7.1x.

- Default gzip compresslevel is now 1 (configurable via `archive_compresslevel`)
- New `archive_compression` option ('gz' or 'zst') and per call
  `put(..., compression=...)` override; zstd is multi-threaded
  (`archive_threads`, -1 for every core) via the stdlib `compression.zstd`
  on Python 3.14+ or the `zstandard` package (new `[zstd]` extra)
- `extract()` detects zstd archives by magic bytes
- Archive options are kept by `to_config()`
- New `archive_suffix()` returns the extension for the configured format

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Remove unused ARCHIVE_FILE_SUFFIX constant

ARCHIVE_SUFFIXES in filestore/archive.py now determines archive suffixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Use tarfile's native zstd support on Python 3.14+

Write with tarfile.open(..., "w:zst", options=...) and let tarfile
auto-detect zstd on read, instead of wrapping a ZstdFile in a streamed
tar. Reads on 3.14+ are now seekable; the zstandard fallback is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sambles
sambles merged commit 6c60b4a into stable/0.2.x Oct 23, 2026
5 checks passed
@sambles
sambles deleted the release/0.2.4 branch October 23, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants