Skip to main content

Pure Storage FlashArray REST Client

Project description

Pure Storage REST Client

This library is designed to provide a simple interface for issuing commands to a Pure Storage FlashArray using a REST API. It communicates with the array using the python requests HTTP library.

Requirements

This library requires the use of python 2.6 or later and the third-party library “requests”.

Additionally, this library can only be used communicate with FlashArrays that support one or more REST API versions between 1.0 and 1.17; currently, this includes any FlashArray running Purity 3.4.0 or later.

Capabilities

This library supports all functionality offered by REST API versions up to 1.17.

Note that different versions of the REST API offer different functionality, and some operations may be unusable except on certain versions of the REST API. For example, functionality relating to FlashRecover and protection groups (pgroups) requires the use of REST API version 1.2, which is supported only by Purity versions 4.0 and later.

Installation

$ python setup.py install

Documentation

http://pure-storage-python-rest-client.readthedocs.io/en/stable/

Tests

From the root directory of the rest-client

$ PYTHONPATH=$(pwd):$PYTHONPATH py.test test/*.py

Files

  • purestorage/ – Contains library code.

  • docs/ – Contains API documentation, Makefile and conf.py.

  • CHANGES.rst – Library change log.

  • LICENSE.txt – Library BSD 2-Clause license.

  • README.txt – This document.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

purestorage-1.17.0.tar.gz (26.8 kB view details)

Uploaded Source

File details

Details for the file purestorage-1.17.0.tar.gz.

File metadata

  • Download URL: purestorage-1.17.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/2.7.15

File hashes

Hashes for purestorage-1.17.0.tar.gz
Algorithm Hash digest
SHA256 5f826ac6921dac11e87ecae93821e131f9030fe9339ccde7f02d9d97692fbe8b
MD5 0fdb9197106234f87ab66fcf78230dfa
BLAKE2b-256 d358ae13f309c7e7389d85137fc08b2f06b3cdeb0a5630689a2d40ed88ef51a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page