{ "info": { "author": "William Palmer", "author_email": "will@steelhive.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX", "Operating System :: POSIX :: BSD", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "`kvp.io `_ is a micro-service designed to empower\nautomation, in any cloud, in any data-center, with ease.\n\nkvp.io-python\n-------------\nThe python library and cli for `kvp.io `_.\n\nInstallation\n------------\nRequires ``requests`` and ``click``.\n\n``pip install kvpio-python``\n\nTests\n-----\nRequires ``pytest`` and ``pytest-cov``.\n\n``py.test --cov-report term --cov=kvpio``\n\nCLI Documentation\n-----------------\nThe cli is a simple utility suitable for use by itself or in an automation\npipeline. See the examples section below or get usage help by running:\n\n``kvpio --help``\n\nTo be useful, your API key must be provided via one of the following:\n\n- as an environment variable name ``KVPIO_APIKEY``\n- as a single line in the file ``~/.kvpio``\n\nAPI Documentation\n-----------------\nSee `kvp.io-python `_ for the API\ndocs. See the examples section below for more.\n\nCLI Examples\n------------\nHere are a few examples to get you familiar with the cli.\n\nBasic bucket usage:\n\n.. code:: bash\n\n $ export KVPIO_APIKEY=\n $ kvpio bucket set foo bar\n $ kvpio bucket get foo\n bar\n\nBucket with nested data:\n\n.. code:: bash\n\n $ kvpio bucket set foo '{\"bar\": {\"baz\": 123}}'\n $ kvpio bucket get foo/bar/baz\n 123\n\nBasic template usage:\n\n.. code:: bash\n\n $ kvpio template set foo 'baz is equal to {{ foo.bar.baz }}'\n $ kvpio template get foo\n baz is equal to 123\n\nGet account information:\n\n.. code:: bash\n\n $ kvpio account\n {\"id\": \"kvp.io\", \"email\": \"support@kvp.io\", \"reads\": 87, \"size\": 124}\n\nAPI Examples\n------------\nHere are a few examples to get you familiar with the API.\n\nAccessing account information:\n\n.. code:: python\n\n import kvpio\n kvpio.api_key = '123abc'\n account = kvpio.Account().get()\n # {\"id\": \"kvp.io\", \"email\": \"support@kvp.io\", \"reads\": 87, \"size\": 124}\n\nWriting to your bucket:\n\n.. code:: python\n\n data = {\n 'foo': 123,\n 'bar': True,\n 'baz': {\n 'boo': 321,\n 'far': False,\n 'faz': [1, 2, 3]\n }\n }\n bucket = kvpio.Bucket()\n bucket.set('my_key', data)\n\nReading nested data from your bucket:\n\n.. code:: python\n\n data = bucket.get('my_key/baz/faz')\n # [1, 2, 3]", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://www.kvp.io", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "kvpio-python", "package_url": "https://pypi.org/project/kvpio-python/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/kvpio-python/", "project_urls": { "Homepage": "https://www.kvp.io" }, "release_url": "https://pypi.org/project/kvpio-python/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Official kvp.io python bindings and client", "version": "0.2.0" }, "last_serial": 2153191, "releases": { "0.1.6": [ { "comment_text": "", "digests": { "md5": "482fa33f1ba7500cd9236d8e80d4ff1c", "sha256": "699028556de05bd7ee206d8774ceafc7f60b37c10a160b092db41616d75b211c" }, "downloads": -1, "filename": "kvpio-python-0.1.6.tar.gz", "has_sig": false, "md5_digest": "482fa33f1ba7500cd9236d8e80d4ff1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5967, "upload_time": "2016-06-03T21:40:13", "url": "https://files.pythonhosted.org/packages/c0/44/bf8cdfe4a2e92bd841c319642264965bce68523604770c1a1f25c186e656/kvpio-python-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "770d06e201189854a59fab6bc655cc11", "sha256": "e454336011435ee25fe127ba2e0daf6f2205902fdd771d9b3d772c4e3cc443d2" }, "downloads": -1, "filename": "kvpio-python-0.1.7.tar.gz", "has_sig": false, "md5_digest": "770d06e201189854a59fab6bc655cc11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6011, "upload_time": "2016-06-04T15:19:53", "url": "https://files.pythonhosted.org/packages/4b/37/6dfae9bd87950037f9e76a72b5714c884cc0b5c9557db87c9b8fa02c46c1/kvpio-python-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "4c389d2691b47894deab9921f2a03f38", "sha256": "f79538d8d90c36b94f503ef139208d5f3e39d7a5b919f24dc194e3ec493665dd" }, "downloads": -1, "filename": "kvpio-python-0.1.8.tar.gz", "has_sig": false, "md5_digest": "4c389d2691b47894deab9921f2a03f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6215, "upload_time": "2016-06-04T17:24:40", "url": "https://files.pythonhosted.org/packages/0f/07/9dee2b5230bce47c8080c74f88c0a04f2f70a6d6dd270264a208ae15cf61/kvpio-python-0.1.8.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7d0f4c849b551eb301da1a84297f2098", "sha256": "47279e61bfbef344f1fcb8ab83925985ba17ea2803282398acfd860626737787" }, "downloads": -1, "filename": "kvpio-python-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7d0f4c849b551eb301da1a84297f2098", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6218, "upload_time": "2016-06-06T14:56:37", "url": "https://files.pythonhosted.org/packages/22/38/51c323d7ccc24e8435c29ba7dcef5229d34b2295572d7d0129b985a39869/kvpio-python-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7d0f4c849b551eb301da1a84297f2098", "sha256": "47279e61bfbef344f1fcb8ab83925985ba17ea2803282398acfd860626737787" }, "downloads": -1, "filename": "kvpio-python-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7d0f4c849b551eb301da1a84297f2098", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6218, "upload_time": "2016-06-06T14:56:37", "url": "https://files.pythonhosted.org/packages/22/38/51c323d7ccc24e8435c29ba7dcef5229d34b2295572d7d0129b985a39869/kvpio-python-0.2.0.tar.gz" } ] }