--- id: netapp-ontap version: "9.19.1.0" license: unclear license_treatment: permissive maintenance: active --- # netapp-ontap — A library for working with ONTAP's REST APIs simply in Python License: permissive · Maintenance: active · Downloads: 322.4K/mo ## 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 above — verify before relying. A Python REST API client library for NetApp ONTAP systems that handles connection management, asynchronous request processing, and exception handling to automate ONTAP deployments. 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 pip install netapp-ontap uv add netapp-ontap poetry add netapp-ontap ## Installing netapp-ontap 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. 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() Requires Python 3.10 or later and a reachable ONTAP management LIF with valid credentials. 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: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 322.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags netapp ontap rest api client, ontap automation python, netapp storage management, ontap cluster automation, netapp rest api library, ontap python sdk, netapp storage provisioning, netapp-storage, rest-api-client, infrastructure-automation [View on SkillFed](https://skillfed.io/packages/netapp-ontap) · [View on PyPI](https://pypi.org/project/netapp-ontap/)