Skip to content

Whirld 0.2.0

Choose a tag to compare

@geobabbler geobabbler released this 22 Nov 15:52
· 29 commits to main since this release
d4cb5f8

Bounded-memory classification is now available in Whirld.

  • Add classify_to_disk() and CLI classify --stream for bounded STAC/direct
    COG classification with one backend and configurable batch/cache budgets.
  • Preserve eager GeoJSON fields, inclusive thresholds, global score ordering and
    stable ties. top_k=None / --all emits every match using disk-backed sorting.
  • Stage completed features in SQLite and atomically publish the single GeoJSON
    only after successful completion; failures preserve prior output.
  • Add classification streaming documentation, numerical/HTTP/CLI/failure and
    memory checks, plus real RemoteCLIP eager/stream validation.

Validation: 704 tests passed, 9 opt-in checks skipped, 91.53% package/example
coverage; fresh wheel/source installs pass. Real RemoteCLIP batches 1 and 3 retain
all 16 pinned-scene chips with matching geometry/ranking and maximum score error
below 5.4e-6. Writer-only RSS remains about 70–71 MiB while output grows from
4,000 to 64,000 features (1.55–24.96 MB); raster memory is tested separately.

Existing eager classification defaults and REST behavior remain compatible.
Streaming requires a disk output and STAC/direct remote input; temporary disk
space grows with retained features. North-up/same-CRS requirements continue;
segmentation streaming and reprojection #21 remain deferred.

Usage

whirld classify item.json --model remoteclip --query "a satellite image of water" \
  --stream --batch-size 4 --all --output scores.geojson

See the classification streaming guide for Python usage, input constraints and memory/disk budgets. Install using the release wheel/source archive with Python 3.13.7 or newer; the tested interpreter is 3.13.7. Model extras/checkpoints are separate. PyPI publication remains separate.

Assets and checksums

Verify downloaded artifacts with shasum -a 256 -c SHA256SUMS (macOS) or sha256sum -c SHA256SUMS (Linux).

b9d34ac71e3d1e88d6c7f3e39124cdc6853634510b39ca3dd9ce6f0258dd2a1b  whirld-0.2.0-py3-none-any.whl
8296310904237ff3086f529d4e9efd2ef8ab831c053433661871add8389d50e8  whirld-0.2.0.tar.gz

Release source: d4cb5f89d7308bcf928cf9d15b88b0f560511537, merged PR #27. The merged tree matches the verified artifact build inputs; hosted checks passed before tagging.