Skip to main content

nessie-ontap-protocol

ONTAP REST wire shapes — the HAL envelope, the {job,record,num_records} create envelope, the simplified delete job, the always-success poll, and the ONTAP-native {error:{code,message,target}} envelope — for nessie-store. The PyO3 bindings let you assemble ONTAP-faithful response bodies from plain Python dicts.

Install

pip install nessie-ontap-protocol      # Python
cargo add nessie-ontap-protocol        # Rust

Usage (Python)

import nessie_ontap_protocol as proto

# Wrap your own record dict in ONTAP's create envelope.
volume = {"uuid": "…", "name": "build-cache", "state": "online"}
created = proto.create_response("job-1", volume)
#   {"job": {"uuid": "job-1", "_links": {...}}, "record": {...}, "num_records": 1}

# A HAL collection, an error envelope, a delta duration.
coll = proto.hal_collection([volume], "/api/storage/volumes")
err = proto.error_envelope("404", "volume not found", "volume")
assert proto.iso8601_duration(3 * 3600 + 27 * 60 + 45) == "PT3H27M45S"

Usage (Rust)

use nessie_ontap_protocol::{CreateResponse, iso8601_duration};

let resp = CreateResponse::new("job-1", serde_json::json!({ "name": "vol1" }));
assert_eq!(iso8601_duration(45), "PT45S");

Dual-licensed MIT OR Apache-2.0.

Metadata

Release files for nessie-ontap-protocol 0.4.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-ontap-protocol 0.4.1
File Interpreter ABI Platform Actions
nessie_ontap_protocol-0.4.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for nessie_ontap_protocol-0.4.1-cp310-abi3-win_amd64.whl
nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Total release size: 714.1 kB

Release files / nessie_ontap_protocol-0.4.1-cp310-abi3-win_amd64.whl

Download URL nessie_ontap_protocol-0.4.1-cp310-abi3-win_amd64.whl
Size 156.1 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
234528c74aa1ea3b480bf9535664e75761e3e9c22aa84d3aa1caa9459112f656
BLAKE2b-256 checksum
How to use checksums
d3757372cba31d86722b7b71dd62cdb6fe1b3c5cb832206399ae98aec85f26d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 279.4 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
fd11d0b4bbf60bb38781a5210bda3ebd40c90de01203daa12d45f0da16c3be61
BLAKE2b-256 checksum
How to use checksums
76fc92f5ee44610dd12fe21396aa1f79816c339b93375ea1d32c8bfc754d0263
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL nessie_ontap_protocol-0.4.1-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 278.6 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
d23ca299c40455e76e8bd765ddbaa01abfaa76f07185be6dba7fc2a2abc5d589
BLAKE2b-256 checksum
How to use checksums
69bb0bbab214f738188a6e8bd061510aee1ef0289576ca1f2baa479be9a154fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for nessie-ontap-protocol 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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