{ "info": { "author": "Nico Di Rocco", "author_email": "n.dirocco@global.leaseweb.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "lswapi (beta)\n=============\n\n[![Actions Status](https://github.com/nrocco/lswapi/workflows/Python%20package/badge.svg)](https://github.com/nrocco/lswapi/actions)\n\nPython module to talk to LeaseWeb's API.\n\nFor more information refer to the documentation available at\n[http://developer.leaseweb.com]\n\n\nInstallation\n------------\n\nInstall the module using pip\n\n pip install lswapi\n\n\nUsage\n-----\n\nThe `lswapi.get_leaseweb_api` function creates an instance of the LeaseWeb Api\nobject with the `X-Lsw-Auth` key. You can provide the api key as an argument\nto `get_leaseweb_api`\n\n $ python\n >>> import lswapi\n >>> client = lswapi.get_leaseweb_api(api_key=\"xxxx-xxx-xxxxxx\")\n >>> response = client.get(\"/bareMetals/v2/servers\")\n >>> servers = response.json()\n\n\nor as an environment variable `LSW_API_KEY`\n\n $ LSW_API_KEY=xxxx-xxxx-xxxxx python\n >>> import lswapi\n >>> client = lswapi.get_leaseweb_api()\n >>> response = client.get(\"/bareMetals/v2/servers\")\n >>> servers = response.json()\n\n\nContribute\n----------\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Make sure that tests pass (`make test`)\n5. Push to the branch (`git push origin my-new-feature`)\n6. Create new Pull Request\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/nrocco/lswapi/tags", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://developer.leaseweb.com", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "lswapi", "package_url": "https://pypi.org/project/lswapi/", "platform": "", "project_url": "https://pypi.org/project/lswapi/", "project_urls": { "Download": "https://github.com/nrocco/lswapi/tags", "Homepage": "http://developer.leaseweb.com" }, "release_url": "https://pypi.org/project/lswapi/0.4.2/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "a python client library for easy leaseweb api access", "version": "0.4.2", "yanked": false, "yanked_reason": null }, "last_serial": 6038031, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "704cb62eae420b1d906e175a91e4cf0b", "sha256": "00d28bf4ea78cfef650f252716aca338e27d3b759c823ed63e5cb45d96f418d1" }, "downloads": -1, "filename": "lswapi-0.3.0.tar.gz", "has_sig": false, "md5_digest": "704cb62eae420b1d906e175a91e4cf0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6928, "upload_time": "2016-10-24T14:07:07", "upload_time_iso_8601": "2016-10-24T14:07:07.712556Z", "url": "https://files.pythonhosted.org/packages/54/f0/470b48c5b74762eebe440860e93ddb721509f1170634683fe6a0ad32d0ce/lswapi-0.3.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7a304eb14497ad4a0f1a97d2360af0cb", "sha256": "6b3960939337d10504a8cc9597761070cf4b3e85272122ecf77cf9bafed1a9e1" }, "downloads": -1, "filename": "lswapi-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7a304eb14497ad4a0f1a97d2360af0cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6930, "upload_time": "2016-10-24T14:50:36", "upload_time_iso_8601": "2016-10-24T14:50:36.059060Z", "url": "https://files.pythonhosted.org/packages/da/7f/2902c12db622a5ae76461f3ddfe07cd59f9e08be71cfc223d6cd3d07946f/lswapi-0.3.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "bcda8ea19fc308e9b41fa6dc9212bb64", "sha256": "474acd8d96cda815e0d784013b62c94eb359fcac362bfc5e74cf2c551f768f98" }, "downloads": -1, "filename": "lswapi-0.3.2.tar.gz", "has_sig": false, "md5_digest": "bcda8ea19fc308e9b41fa6dc9212bb64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7487, "upload_time": "2016-12-12T22:57:16", "upload_time_iso_8601": "2016-12-12T22:57:16.684456Z", "url": "https://files.pythonhosted.org/packages/10/68/3ad416b6e56b90b00a768b20d86a8c3bec814528de00ebd7dd4458f4bbb5/lswapi-0.3.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "7b7384ce48747d85d61999417e4d9d24", "sha256": "d5e8d62e41dfcdc5f12e90c5b3f22c996a5aedfcec13cb42a714dcb423bcd6db" }, "downloads": -1, "filename": "lswapi-0.3.3.tar.gz", "has_sig": false, "md5_digest": "7b7384ce48747d85d61999417e4d9d24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7551, "upload_time": "2017-01-01T19:51:21", "upload_time_iso_8601": "2017-01-01T19:51:21.617427Z", "url": "https://files.pythonhosted.org/packages/e3/ed/d8a38833d7fd8051a6f6ca591a28fbfee3405e672cf673bca7a4a19252b0/lswapi-0.3.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "f1e356d520507b0b6e43ea6afecc4f9a", "sha256": "f220f8aca8b96d4d808a9134479e850b1630bb9906536f2ab5dc4ab8b59f28ec" }, "downloads": -1, "filename": "lswapi-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f1e356d520507b0b6e43ea6afecc4f9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7567, "upload_time": "2017-01-01T20:08:16", "upload_time_iso_8601": "2017-01-01T20:08:16.951022Z", "url": "https://files.pythonhosted.org/packages/78/7c/9b11c191d8847f133f0917e666f66c63076039e3c2658f9de956bfdf34ea/lswapi-0.3.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "a17659d3f5cd233eeeecc71aff6a850a", "sha256": "9cdc132aff13f2927fc215faeaf6f5964863ac19cb500bea24519d0a981b2477" }, "downloads": -1, "filename": "lswapi-0.3.5.tar.gz", "has_sig": false, "md5_digest": "a17659d3f5cd233eeeecc71aff6a850a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7569, "upload_time": "2018-02-16T21:19:55", "upload_time_iso_8601": "2018-02-16T21:19:55.219333Z", "url": "https://files.pythonhosted.org/packages/48/c5/f1eb87f5d7db8e2604665812752b6d6018bb9a2d3399eb14551dc153cb51/lswapi-0.3.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "c494ac4db5cba06eb7123f777c99abca", "sha256": "ac9b699e4b424e5761959b8762b15f65e93e4f66dca0891b0da538424550533f" }, "downloads": -1, "filename": "lswapi-0.4.0.tar.gz", "has_sig": false, "md5_digest": "c494ac4db5cba06eb7123f777c99abca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7782, "upload_time": "2019-04-22T17:27:34", "upload_time_iso_8601": "2019-04-22T17:27:34.372422Z", "url": "https://files.pythonhosted.org/packages/01/80/296738941b6975b78054eb245e4c74c4a7c6b2e61a2cf3b95e496cd3a6f8/lswapi-0.4.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "6c2ceb130ce711e2b0a019080762eff8", "sha256": "2fd97cf5ba016ab281ce9ea3aaa70168d4fd327aa96b55825fb6b50386303e8d" }, "downloads": -1, "filename": "lswapi-0.4.1.tar.gz", "has_sig": false, "md5_digest": "6c2ceb130ce711e2b0a019080762eff8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7615, "upload_time": "2019-07-14T08:51:33", "upload_time_iso_8601": "2019-07-14T08:51:33.961661Z", "url": "https://files.pythonhosted.org/packages/a8/49/081b00cf8d8cc6f93e9f9da90ab45c476ecdd5852ed5d4f53be469d33bf5/lswapi-0.4.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "13be17b3f14e1dc46174bc979d6cfb65", "sha256": "831bda7dca15adc862c915f0afdc4651257064d8c235a19e058cc7db384c51c9" }, "downloads": -1, "filename": "lswapi-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "13be17b3f14e1dc46174bc979d6cfb65", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8075, "upload_time": "2019-10-27T19:05:52", "upload_time_iso_8601": "2019-10-27T19:05:52.342260Z", "url": "https://files.pythonhosted.org/packages/ec/df/26df402acfc032942f72964c8e6f1a341775b0464c6b63707c264d6459cc/lswapi-0.4.2-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "48f0672f572d0e1aa9a76fb463a8ce29", "sha256": "ed04b7f0d782d9d536e0ead22a63b90e05f7dd135f8a8ab0eb050c62c6fd81b1" }, "downloads": -1, "filename": "lswapi-0.4.2.tar.gz", "has_sig": false, "md5_digest": "48f0672f572d0e1aa9a76fb463a8ce29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7659, "upload_time": "2019-10-27T19:05:54", "upload_time_iso_8601": "2019-10-27T19:05:54.071147Z", "url": "https://files.pythonhosted.org/packages/dc/70/a00f43b8ea97c3a0bd93dd1f55b8b16c491091fa1290bc88bf3b15a93d22/lswapi-0.4.2.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "13be17b3f14e1dc46174bc979d6cfb65", "sha256": "831bda7dca15adc862c915f0afdc4651257064d8c235a19e058cc7db384c51c9" }, "downloads": -1, "filename": "lswapi-0.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "13be17b3f14e1dc46174bc979d6cfb65", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8075, "upload_time": "2019-10-27T19:05:52", "upload_time_iso_8601": "2019-10-27T19:05:52.342260Z", "url": "https://files.pythonhosted.org/packages/ec/df/26df402acfc032942f72964c8e6f1a341775b0464c6b63707c264d6459cc/lswapi-0.4.2-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "48f0672f572d0e1aa9a76fb463a8ce29", "sha256": "ed04b7f0d782d9d536e0ead22a63b90e05f7dd135f8a8ab0eb050c62c6fd81b1" }, "downloads": -1, "filename": "lswapi-0.4.2.tar.gz", "has_sig": false, "md5_digest": "48f0672f572d0e1aa9a76fb463a8ce29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7659, "upload_time": "2019-10-27T19:05:54", "upload_time_iso_8601": "2019-10-27T19:05:54.071147Z", "url": "https://files.pythonhosted.org/packages/dc/70/a00f43b8ea97c3a0bd93dd1f55b8b16c491091fa1290bc88bf3b15a93d22/lswapi-0.4.2.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }