Skip to main content

DS8000 Python Client

Project description

DS8000 Python Client

Build Status CII Best Practices Documentation Status

This repository contains the IBM RESTful API Python client, which establishes terminal connection with IBM DS8000 storage systems. The Python client protocol enables full management and monitoring of these storage arrays by issuing dedicated RESTful APIs.

Python Compatibility

The content in this collection supports Python 3.9 and newer.

Getting started

Clone the repository, and then add it to your PYTHONPATH directory. The Python client is then ready for import and use. The library is also available to install using pip. See the pypi pyds8k project

To install via pip run the following command:

pip install pyds8k

Documentation

Documentation for the pyds8k library can be generated using sphinx. The documentation for the latest release is also available via pyds8k.readthedocs.io

NOTE: To view older versions of the doc, click on the link at the bottom right corner in the readthedocs link and select the desired version.

Usage examples

Usage examples of the Python client are available in the examples.py file.

Displaying the RESTful APIs reference information

Each storage system of DS8000 and major software version has its own set of RESTful APIs. The RESTful APIs are detailed in the RESTful API reference guides that are available on IBM Knowledge Center (KC).

To display the full RESTful API Reference Guide of a specific storage system and a specific software version:

  1. Navigate to a storage system welcome page on KC:

  2. On the welcome page, select a storage system software version. For example, select Version 8.5.3.

    Software version

    The welcome page of the selected software version is displayed.

  3. If needed, select the Table of contents tab.

    Table of contents

  4. On the table of contents, click RESTful API.

    CLI interface

  5. Refer to Host commands and to all subsequent chapters.

Contributing

We do not accept any contributions at the moment. This may change in the future, so you can fork, clone, and suggest a pull request.

Running tests

Use tox to run the test suite

tox

Use pytest to run tests or a specific test.

pytest --cov-config=.coveragerc --cov pyds8k --disable-warnings -v
pytest --cov-config=.coveragerc --cov pyds8k --disable-warnings -v pyds8k/test/test_resources/test_ds8k/test_host.py

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

pyds8k-1.6.0.tar.gz (90.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyds8k-1.6.0-py3-none-any.whl (171.4 kB view details)

Uploaded Python 3

File details

Details for the file pyds8k-1.6.0.tar.gz.

File metadata

  • Download URL: pyds8k-1.6.0.tar.gz
  • Upload date:
  • Size: 90.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyds8k-1.6.0.tar.gz
Algorithm Hash digest
SHA256 70d050edb67f76b0e929e779672568db941ddad3b0cd79ff15aacb9d645230d0
MD5 2d2a9c9e91c1706112d374e9065380b2
BLAKE2b-256 4af59d03d3a035d605e341050218310f35862419eb2db83d4bad63daf1a8f9d6

See more details on using hashes here.

File details

Details for the file pyds8k-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: pyds8k-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 171.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyds8k-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2024628ea01844421955fdd6524381ccd481d22f4829ea11f4654698210c2a77
MD5 7640119b90cb980e3b5110c738d9dbcd
BLAKE2b-256 a645bfaf359bcb67e5d68f383287c46076595bfef56d582b6f693add9d004311

See more details on using hashes here.

Supported by

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