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.2

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.2
File Interpreter ABI Platform Actions
nessie_ontap_protocol-0.4.2-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for nessie_ontap_protocol-0.4.2-cp310-abi3-win_amd64.whl
nessie_ontap_protocol-0.4.2-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.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
nessie_ontap_protocol-0.4.2-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.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Total release size: 714.1 kB

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

Download URL nessie_ontap_protocol-0.4.2-cp310-abi3-win_amd64.whl
Size 156.1 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e2386e304ca44cf58f8b886ce3138c601b54814c3a72653e35842e91f857aeaa
BLAKE2b-256 checksum
How to use checksums
fd61bd65a22c0e408b12ecd1a0d78a3374eb0f07e1368d5256221220dfef4db5
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.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL nessie_ontap_protocol-0.4.2-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
cc58b2b81f144b5c9091522a5a755aef73824adc7c5b0da0d5404f3dee51345c
BLAKE2b-256 checksum
How to use checksums
3e32c228207dd8645532adae0a2522dd865238ad3aaebed7688dbfaf2b675637
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.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL nessie_ontap_protocol-0.4.2-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
3f5122ac19e4698f8119e1c2f4114ea79cb0db91ab5c097eec901885cde66300
BLAKE2b-256 checksum
How to use checksums
fa584e10c1c54f27e2ce2f53f87c73d55e124d12ef056d7d827ff61f11caff31
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.2

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