{ "info": { "author": "Ben Jones", "author_email": "ben.jones@ibm.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Topic :: Software Development" ], "description": "# sppclient\n\nsppclient is a Python module that aims to simplify interaction with SPP's REST API.\n\n\n\nThis module can be used for automation of testing procedures or tasks on the SPP appliance\n\n\n\nThe module is registered on PyPI and can be installed with:\n\n\n $ pip install sppclient\n\n\n# Usage\n\nWhen writing a script using sppclient import with:\n\n\n import spplib.sdk.client as client\n \n \nTo create a session object:\n\n\n session = client.SppSession(\"sppHost\", \"sppUsername\", \"sppPassword\")\n \n \n session.login()\n \n\nTo interact with SPP API:\n\n\n client.SppAPI(session, 'resource_endpoint').get()\n\n\n# Sample commands to run included sample scripts.\n\n$ python3 script.py -h (This command provides a list of input parameters needed to run the script)\n\n\n$ python3 createsite.py --host=\"https://x.x.x.x:8443\" --user=\"admin\" --pass=\"password\" --sitename=\"samplesite\" --sitedesc=\"This is a sample site\"\n\n\n\n$ python3 runjob.py --host=\"https://x.x.x.x:8443\" --user=\"admin\" --pass=\"password\" --jobname=\"samplejob\"\n\n\n\nAll 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.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "development", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "spplib", "package_url": "https://pypi.org/project/spplib/", "platform": "", "project_url": "https://pypi.org/project/spplib/", "project_urls": null, "release_url": "https://pypi.org/project/spplib/0.55/", "requires_dist": null, "requires_python": "", "summary": "A client for SPP", "version": "0.55" }, "last_serial": 3941141, "releases": { "0.55": [ { "comment_text": "", "digests": { "md5": "59ff470168d121c39d3add277466fafd", "sha256": "45721ab5b8ad094b18a002a9013b3f18b3145961022e70e6b8ba787f6c156241" }, "downloads": -1, "filename": "spplib-0.55.tar.gz", "has_sig": false, "md5_digest": "59ff470168d121c39d3add277466fafd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13093, "upload_time": "2018-06-07T21:21:43", "url": "https://files.pythonhosted.org/packages/8d/3a/af0a5ef9825f7e820fd03e47ebef929f7344b3123a976f009148d25d58b2/spplib-0.55.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "59ff470168d121c39d3add277466fafd", "sha256": "45721ab5b8ad094b18a002a9013b3f18b3145961022e70e6b8ba787f6c156241" }, "downloads": -1, "filename": "spplib-0.55.tar.gz", "has_sig": false, "md5_digest": "59ff470168d121c39d3add277466fafd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13093, "upload_time": "2018-06-07T21:21:43", "url": "https://files.pythonhosted.org/packages/8d/3a/af0a5ef9825f7e820fd03e47ebef929f7344b3123a976f009148d25d58b2/spplib-0.55.tar.gz" } ] }