Skip to main content

# sppclient

sppclient is a Python module that aims to simplify interaction with SPP’s REST API.

This module can be used for automation of testing procedures or tasks on the SPP appliance

The module is registered on PyPI and can be installed with:

$ pip install sppclient

# Usage

When writing a script using sppclient import with:

import spplib.sdk.client as client

To create a session object:

session = client.SppSession(“sppHost”, “sppUsername”, “sppPassword”)

session.login()

To interact with SPP API:

client.SppAPI(session, ‘resource_endpoint’).get()

# Sample commands to run included sample scripts.

$ python3 script.py -h (This command provides a list of input parameters needed to run the script)

$ python3 createsite.py –host=”https://x.x.x.x:8443” –user=”admin” –pass=”password” –sitename=”samplesite” –sitedesc=”This is a sample site”

$ python3 runjob.py –host=”https://x.x.x.x:8443” –user=”admin” –pass=”password” –jobname=”samplejob”

<sub>All materials are provided for informational purposes only and officially not supported, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software.</sub>

Metadata

Release files for sppclient 0.60

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sppclient 0.60
File Size Uploaded Provenance Actions
sppclient-0.60.tar.gz 26.4 kB Without provenance Details for sppclient-0.60.tar.gz

Release files / sppclient-0.60.tar.gz

Download URL sppclient-0.60.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4c9f581d167fa7f11b4e1071c514613b21a269346b4c7659c49a9d022d529ea4
BLAKE2b-256 checksum
How to use checksums
66e0e6febe6621d23409b38286a44f3d072d74eb666a75fcc3b48e7edd4fa281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.0 importlib_metadata/3.7.3 packaging/20.9 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1+

Security for sppclient 0.60

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.

Release history Release notifications | RSS feed

This release

0.60 This release

1 release file No provenance

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