{ "info": { "author": "Viesturs Proskins", "author_email": "viesturs.proskins@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "## PyYoubora\n\nAuthentication library and wrapper for NPAW Youbora API.\n\nThis module contains:\n- `YouboraAuth` - custom authorisation provider for Python Requests, check `example_auth.py`\n- `YouboraClient` - Wrapper which utilises Swagger definition to validate requests\n against NPAW Youbora before executing Request, check `example_client.py`\n\n## Getting started:\n- check out included `example_auth.py` and `example_client.py`\n- but, basically this gives you:\n\n```python\nimport requests\nfrom youbora import YouboraAuth\n\nquery = {}\n\nresponse = requests.get('https://api.youbora.com/:system_code:/data',\n params=query,\n auth=YouboraAuth(\"secret\", \"system_code\")\n```\n\n## Future considerations (wish list):\n- to extend library with _helpers_ such as:\n - More Swagger API validations;\n - Youbora Query Builder, interactive perhaps ?\n - Youbora Filter Builder, interactive perhaps ?\n - Response formatter for quick report/graph generations in various formats\n\n## Good to know\n- as Youbora Swagger definition is available only via closed access Developers portal,\n it is not included in this repository in order to respect NPAW approach to their documentation.\n- This code base (examples and config-sample.py) assumes that swagger is available within base directory as swagger.json\n- both example_x.py assumes that you have copied config-sample.py to config.py and have provided details there.\n- you can very easy use any other config approach - sysarg, env, AWS KMS, etc.\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/wieshka/PyYoubora", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "PyYoubora", "package_url": "https://pypi.org/project/PyYoubora/", "platform": "", "project_url": "https://pypi.org/project/PyYoubora/", "project_urls": { "Homepage": "http://github.com/wieshka/PyYoubora" }, "release_url": "https://pypi.org/project/PyYoubora/0.2/", "requires_dist": [ "requests" ], "requires_python": "", "summary": "Authentication library for amazing Python requests library against NPAW Youbora API.", "version": "0.2" }, "last_serial": 4147819, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "3970babd840f79e299604e58332f2d31", "sha256": "bf13bc908dd2ec1d3f0fd19aa8fcd17b5bd17709e604831a4f882e6da1acc305" }, "downloads": -1, "filename": "PyYoubora-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "3970babd840f79e299604e58332f2d31", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3999, "upload_time": "2018-08-08T07:43:31", "url": "https://files.pythonhosted.org/packages/32/93/4c7293a1e7e3c0e6366b4fbb7b32c309d7ab9f278b1ba2a3f226c2ac590b/PyYoubora-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28d6ecda500d8b0bb081880261aa4a59", "sha256": "c7f01b3f520261b3e6a24eff8147adb80368c3d8a9b681bf0d4166b45d6493c8" }, "downloads": -1, "filename": "PyYoubora-0.2.tar.gz", "has_sig": false, "md5_digest": "28d6ecda500d8b0bb081880261aa4a59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15885, "upload_time": "2018-08-08T07:44:00", "url": "https://files.pythonhosted.org/packages/29/22/b7c0e4279d58633919725b9d29f6e203b6742e6c85dfbd2e1bd39158e4f0/PyYoubora-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3970babd840f79e299604e58332f2d31", "sha256": "bf13bc908dd2ec1d3f0fd19aa8fcd17b5bd17709e604831a4f882e6da1acc305" }, "downloads": -1, "filename": "PyYoubora-0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "3970babd840f79e299604e58332f2d31", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3999, "upload_time": "2018-08-08T07:43:31", "url": "https://files.pythonhosted.org/packages/32/93/4c7293a1e7e3c0e6366b4fbb7b32c309d7ab9f278b1ba2a3f226c2ac590b/PyYoubora-0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "28d6ecda500d8b0bb081880261aa4a59", "sha256": "c7f01b3f520261b3e6a24eff8147adb80368c3d8a9b681bf0d4166b45d6493c8" }, "downloads": -1, "filename": "PyYoubora-0.2.tar.gz", "has_sig": false, "md5_digest": "28d6ecda500d8b0bb081880261aa4a59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15885, "upload_time": "2018-08-08T07:44:00", "url": "https://files.pythonhosted.org/packages/29/22/b7c0e4279d58633919725b9d29f6e203b6742e6c85dfbd2e1bd39158e4f0/PyYoubora-0.2.tar.gz" } ] }