netapp-ontap
A library for working with ONTAP's REST APIs simply in Python
Decision gist · record as of 2026-08-14
Yes. The library is actively maintained, has no known vulnerabilities, uses permissive licensing, and offers low install friction. Install it if you need to automate NetApp ONTAP operations from Python. The main constraint is the Python 3.10+ requirement and the need for network access to an ONTAP management interface with valid credentials.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and a reachable ONTAP management LIF with valid credentials.
- Low install friction with a pure-wheel distribution.
- Actively maintained with a release 2 days old.
License · maintenance · safety
permissive license (permissive) — Licensed under BSD (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-08-12 (2 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 322,358 downloads/mo, #7,613 on PyPI
Alternatives
Verify before relying
pip install netapp-ontap
from netapp_ontap import config, HostConnection
from netapp_ontap.resources import Volume
config.CONNECTION = HostConnection('myhost.mycompany.com', 'username', 'password')
volume = Volume(name='vol1', svm={'name': 'vs1'}, aggregates=[{'name': 'aggr1'}])
volume.post()- Whether the library supports ONTAP versions beyond the current release cycle.
- Performance characteristics and throughput limits for concurrent operations.
- Whether SSL certificate verification can be safely disabled in production environments.
What it is and what it does
netapp-ontap is a Python client library for the NetApp ONTAP REST API. It abstracts the HTTP layer and provides object-oriented resource classes (Volume, Snapshot, Svm, etc.) that map to ONTAP entities, along with built-in connection pooling, credential reuse, and automatic job polling for long-running operations. The library handles asynchronous requests transparently—POST, PATCH, and DELETE operations that take more than two seconds run as background jobs, with the client automatically polling until completion or timeout.
You use it by establishing a HostConnection to your ONTAP cluster, then creating and manipulating resource objects in Python. The library serializes your objects to REST calls, deserializes responses back into Python objects via marshmallow, and provides exception handling for HTTP errors. It's designed for automation scripts that provision volumes, manage snapshots, configure SVMs, and perform other ONTAP administration tasks programmatically.
Use it for
- Automate volume provisioning and snapshot creation across multiple ONTAP clusters in a data center.
- Build infrastructure-as-code scripts that configure storage policies, SVM settings, and aggregates without manual CLI access.
- Integrate ONTAP storage management into CI/CD pipelines or orchestration platforms that need to provision storage on demand.
- Monitor and query ONTAP cluster state (volumes, snapshots, jobs) from Python monitoring or reporting applications.
- Develop custom backup or disaster-recovery workflows that create and manage snapshots programmatically.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The library is actively maintained, has no known vulnerabilities, uses permissive licensing, and offers low install friction. Install it if you need to automate NetApp ONTAP operations from Python. The main constraint is the Python 3.10+ requirement and the need for network access to an ONTAP management interface with valid credentials.
Install
netapp-ontap on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with a release 2 days old. Requires Python 3.10 or later and specific minimum versions of requests (2.32.4+), requests-toolbelt (1.0.0+), marshmallow (3.21.3+), and apipkg (3.0.2+); urllib3 2.7.0+ and certifi 2024.8.30+ are recommended to avoid CVEs.
Requires Python 3.10 or later and a reachable ONTAP management LIF with valid credentials.
License in practice
Licensed under BSD (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install netapp-ontap
from netapp_ontap import config, HostConnection
from netapp_ontap.resources import Volume
config.CONNECTION = HostConnection('myhost.mycompany.com', 'username', 'password')
volume = Volume(name='vol1', svm={'name': 'vs1'}, aggregates=[{'name': 'aggr1'}])
volume.post()
Verify before relying
- Whether the library supports ONTAP versions beyond the current release cycle.
- Performance characteristics and throughput limits for concurrent operations.
- Whether SSL certificate verification can be safely disabled in production environments.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesmarshmallowrequestsrequests-toolbelturllib3certifiapipkg |
| Maintenance | Actively maintained 2 days since the last release |
| First released | |
| Downloads | 322,358 / month, #7,613 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10 |
Evidence: netapp_ontap-9.19.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “netapp ontap rest api client”
- netapp-ontapA Python REST API client library for NetApp ONTAP systems that…
- azure-mgmt-netappProvides a Python client library to manage Azure NetApp Files…
- simple-rest-clientA lightweight HTTP client library for building REST API clients in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also azure-mgmt-netapp · launchdarkly-api · curlify2 · python-certifi-win32 · ibm-cloud-sdk-core · netconf-client · azure-appconfiguration · nc-py-api · truststore · ncclient