Skip to main content

nessie-backend-mem

The in-memory reference backend for nessie-store — a HashMap-backed implementation of the full VolumeBackend ⊂ SnapshotBackend ⊂ CloneBackend stack. It passes the full conformance suite and needs no privileges or external services, so it's the zero-dependency way to script against an ONTAP-shaped backend.

Install

pip install nessie-backend-mem      # Python
cargo add nessie-backend-mem        # Rust

Usage (Python)

from nessie_backend_mem import MemBackend

b = MemBackend()
vol = b.create_volume("build-cache", size_bytes=50 * 2**30)
snap = b.create_snapshot(vol["uuid"], "pre-build")
clone = b.create_clone(vol["uuid"], snap["uuid"], "build-cache-pr1234")
assert clone["clone"]["parent_volume"] == "build-cache"

Methods return plain dicts in the substrate-neutral domain shape (size_bytes, vol_type, clone={parent_volume, parent_snapshot}) and raise NessieError on failure. The ONTAP wire shape (size, type, clone.is_flexclone, HAL _links) is produced by nessie-ontap-protocol.

Usage (Rust)

use nessie_backend_core::{VolumeBackend, VolumeSpec};
use nessie_backend_mem::MemBackend;

let b = MemBackend::new();
let vol = b.create_volume(VolumeSpec::named("build-cache")).unwrap();

Dual-licensed MIT OR Apache-2.0.

Metadata

Release files for nessie-backend-mem 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nessie-backend-mem 0.3.1
File
nessie_backend_mem-0.3.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
nessie_backend_mem-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_mem-0.3.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details
nessie_backend_mem-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.3 MB

Release files / nessie_backend_mem-0.3.1-cp310-abi3-win_amd64.whl

Download URL nessie_backend_mem-0.3.1-cp310-abi3-win_amd64.whl
Size 177.3 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a893aa1bca2c03096afbfe17076ed32e70784b36a6daabc00ccf761769ac14e7
BLAKE2b-256 checksum
How to use checksums
de2672eb63b07855f518ffdc96423fcef3fb109e489a5ddfff79db129adcff90
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_mem-0.3.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL nessie_backend_mem-0.3.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 309.2 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
a15a9a9e5f6d9029efc73d9203c9cf6c0cca464c30cb408cfb8b19344d4abed8
BLAKE2b-256 checksum
How to use checksums
81278edf176c9dbac0285efc58571b63256b93cd81d0de6c967f924e11da9a0a
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_mem-0.3.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL nessie_backend_mem-0.3.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 305.2 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
041af0b62157acee99ea15afbcc81f44336b262097bbc2870b33289c07816768
BLAKE2b-256 checksum
How to use checksums
99395e2a409bcf925d52537b05f16a900ecf56b6141c58c72ad15659e66ecb6b
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_mem-0.3.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl

Download URL nessie_backend_mem-0.3.1-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Size 546.1 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
5a8c0e6ab8ce940fdf86b06397ad27b2c555c7aeafea3f1b55c3ad74587c8688
BLAKE2b-256 checksum
How to use checksums
f7ace9ceb92bdd9b3d773b473841b4148187d6d5d9bfc94c5d752e0d77cf23cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.3.1 This release

4 release files

0.3.0

4 release files

0.2.1

4 release files

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page