nessie-backend-core
Core domain vocabulary for nessie-store
— a cheap ONTAP on-ramp. This crate defines the substrate-neutral types and the
VolumeBackend ⊂ SnapshotBackend ⊂ CloneBackend supertrait stack that every
storage backend implements. The PyO3 bindings expose the domain vocabulary to
Python so you can script against the system (the "outside" extension surface).
Install
pip install nessie-backend-core # Python
cargo add nessie-backend-core # Rust
Usage (Python)
import nessie_backend_core as core
# A request to create a 50 GiB volume.
spec = core.VolumeSpec("build-cache", size_bytes=50 * 2**30)
print(spec) # VolumeSpec(name="build-cache", size_bytes=...)
# Declare what a backend can do — and check the tiers are self-consistent.
caps = core.Capabilities(snapshots=True, clones=True)
assert caps.is_consistent()
assert caps.snapshots and caps.clones
# A sparse PATCH (resize + set the NFS junction).
patch = core.VolumePatch(size_bytes=100 * 2**30, junction_path="/build")
assert not patch.is_empty()
Usage (Rust)
use nessie_backend_core::{Capabilities, VolumeSpec};
let spec = VolumeSpec::named("build-cache");
assert!(Capabilities::clones().is_consistent());
Dual-licensed MIT OR Apache-2.0.
Metadata
Release files for nessie-backend-core 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| nessie_backend_core-0.3.1-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| nessie_backend_core-0.3.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| nessie_backend_core-0.3.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| nessie_backend_core-0.3.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 | Details |
Total release size: 1.2 MB
Release files / nessie_backend_core-0.3.1-cp310-abi3-win_amd64.whl
| Download URL | nessie_backend_core-0.3.1-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 154.7 kB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
71670b39c9162982e745b5108f4187858f3e54fba425366feb4f4c7db68155fd
|
|
BLAKE2b-256 checksum How to use checksums |
6ccfd65753f54352e70deb2cd4f6dd490de66f93fd1d2e6e2633caf9934d0ff1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / nessie_backend_core-0.3.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | nessie_backend_core-0.3.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 287.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a38a5bf446859a1f60e62fbee7061dbed91bc314d332e2508e22c8c623903749
|
|
BLAKE2b-256 checksum How to use checksums |
a1c3aeba8203bd6f626a64bb63ec45e89f504412a6285495ae49eb2638dc26c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / nessie_backend_core-0.3.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | nessie_backend_core-0.3.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 284.6 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
699c7f475e6662e6923c55a85585c214de002a810a87ff7bc2ec807eeb285587
|
|
BLAKE2b-256 checksum How to use checksums |
07532e298c69a733245b000138fc155f060e608e79a453b6e69f7cd38c648e70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / nessie_backend_core-0.3.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | nessie_backend_core-0.3.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 504.7 kB |
| Tags | CPython 3.10 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0f588d637b3b3c0c6bfde9e26c1e972a4ce9850a92534cfd5cbcf576e1e9df4d
|
|
BLAKE2b-256 checksum How to use checksums |
84cd355d8129b48f1e1efcb655bdd8ccef7e16ada4191dd51de6cbd561db708c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|