hcpsdk


Namehcpsdk JSON
Version 0.9.5.post1 PyPI version JSON
download
home_pagehttp://simont3.github.io/hcpsdk
SummaryAn SDK for the Hitachi Content Platform (HCP)
upload_time2023-06-29 12:32:43
maintainer
docs_urlNone
authorThorsten Simons
requires_python
licenseMIT
keywords hcp sdk hitachi content platform
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            HCPsdk
======

HCPsdk provides a simple SDK to access an Hitachi Content Platform (HCP)
from Python3. It handles name resolution, multiple sessions spread across all
available HCP nodes, persistent connections and recovery from failing
connections.

It's that easy:

::

    >>> import hcpsdk

    >>> # initialize an *Authorization* object
    >>> auth = hcpsdk.NativeAuthorization('user', 'password')

    >>> # initialize a *Target* object
    >>> t = hcpsdk.Target("namespace.tenant.hcp.your.domain",
                          auth, port=443)

    >>> # initialize a Connection to the `Target``
    >>> c = hcpsdk.Connection(t)

    >>> # do something with the connection...
    >>> r = c.GET('/rest/your_file.txt')
    >>> c.response_status, c.response_reason
    (200, 'OK')
    >>> r.read()
    b'some data...'
    >>>
    >>> c.close()


Features
--------

- Handles HCP as a target object
- Connection objects, while tied to a target object, allow
  access to HCP through HCPs native http/REST dialect
- Higher level modules provide easy access to namespace
  statistics and some MAPI functionality, along with
  the ability to create unique object names / paths

Dependencies
------------

**hcpsdk** depends on `dnspython <http://www.dnspython.org>`_, which is used
for non-cached name resolution when bypassing the system's resolver.


Documentation
-------------

To be found at `readthedocs.org <http://hcpsdk.readthedocs.org>`_

Installation
------------

Install hcpsdk by running:

    ``pip install hcpsdk``


If you find any bugs, please let me know via the Issue Tracker;
if you have comments or suggestions, send an email to `<sw@snomis.de>`_

License
-------

The MIT License (MIT)

Copyright (c) 2014-2023 Thorsten Simons (sw@snomis.eu)

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

            

Raw data

            {
    "_id": null,
    "home_page": "http://simont3.github.io/hcpsdk",
    "name": "hcpsdk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "hcp sdk Hitachi Content Platform",
    "author": "Thorsten Simons",
    "author_email": "sw@snomis.de",
    "download_url": "https://files.pythonhosted.org/packages/a4/86/0974ad67ea313e7ffafa8e407a3b65d0003c4a87281b09f7d1443736ee81/hcpsdk-0.9.5.post1.tar.gz",
    "platform": null,
    "description": "HCPsdk\n======\n\nHCPsdk provides a simple SDK to access an Hitachi Content Platform (HCP)\nfrom Python3. It handles name resolution, multiple sessions spread across all\navailable HCP nodes, persistent connections and recovery from failing\nconnections.\n\nIt's that easy:\n\n::\n\n    >>> import hcpsdk\n\n    >>> # initialize an *Authorization* object\n    >>> auth = hcpsdk.NativeAuthorization('user', 'password')\n\n    >>> # initialize a *Target* object\n    >>> t = hcpsdk.Target(\"namespace.tenant.hcp.your.domain\",\n                          auth, port=443)\n\n    >>> # initialize a Connection to the `Target``\n    >>> c = hcpsdk.Connection(t)\n\n    >>> # do something with the connection...\n    >>> r = c.GET('/rest/your_file.txt')\n    >>> c.response_status, c.response_reason\n    (200, 'OK')\n    >>> r.read()\n    b'some data...'\n    >>>\n    >>> c.close()\n\n\nFeatures\n--------\n\n- Handles HCP as a target object\n- Connection objects, while tied to a target object, allow\n  access to HCP through HCPs native http/REST dialect\n- Higher level modules provide easy access to namespace\n  statistics and some MAPI functionality, along with\n  the ability to create unique object names / paths\n\nDependencies\n------------\n\n**hcpsdk** depends on `dnspython <http://www.dnspython.org>`_, which is used\nfor non-cached name resolution when bypassing the system's resolver.\n\n\nDocumentation\n-------------\n\nTo be found at `readthedocs.org <http://hcpsdk.readthedocs.org>`_\n\nInstallation\n------------\n\nInstall hcpsdk by running:\n\n    ``pip install hcpsdk``\n\n\nIf you find any bugs, please let me know via the Issue Tracker;\nif you have comments or suggestions, send an email to `<sw@snomis.de>`_\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2014-2023 Thorsten Simons (sw@snomis.eu)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "An SDK for the Hitachi Content Platform (HCP)",
    "version": "0.9.5.post1",
    "project_urls": {
        "Homepage": "http://simont3.github.io/hcpsdk"
    },
    "split_keywords": [
        "hcp",
        "sdk",
        "hitachi",
        "content",
        "platform"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4860974ad67ea313e7ffafa8e407a3b65d0003c4a87281b09f7d1443736ee81",
                "md5": "f6f502050298aeefcbc51adf3dbcdcd6",
                "sha256": "1054a42fa2416943d090367fe18deddcf18e97f1da43a5db0a910e96bc038367"
            },
            "downloads": -1,
            "filename": "hcpsdk-0.9.5.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "f6f502050298aeefcbc51adf3dbcdcd6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 41019,
            "upload_time": "2023-06-29T12:32:43",
            "upload_time_iso_8601": "2023-06-29T12:32:43.569026Z",
            "url": "https://files.pythonhosted.org/packages/a4/86/0974ad67ea313e7ffafa8e407a3b65d0003c4a87281b09f7d1443736ee81/hcpsdk-0.9.5.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-29 12:32:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "hcpsdk"
}
        
Elapsed time: 0.08257s