{ "info": { "author": "Miro Hron\u010dok", "author_email": "miro@hroncok.cz", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only" ], "description": "utvsapitoken\n============\n\nA little Python class that allows to check a token against `\u010cVUT OAAS `_ and get s personal number form `Usermap API `_. Used in \u00daTVS API.\n\nUsage\n-----\n\n.. code-block:: python\n\n from utvsapitoken import TokenClient\n client = TokenClient()\n info = client.token_to_info('token')\n\nYou can provide custom URIs for the constructor:\n\n.. code-block:: python\n\n client = TokenClient(check_token_uri='http://localhost:8080/token',\n usermap_uri='http://localhost:8080/user'))\n\nThis comes with a fake OAAS that can be used for various testing, including the tests of this very project.\nTo start the fake server, just run:\n\n.. code-block:: python\n\n from utvsapitoken import fakeserver\n fakeserver.serve_forever(port=8080)\n\nIn order to run the testsuite, no need to start the server, just run::\n\n PYTHONPATH=. py.test-3 -v --port 8080\n\nYou can omit the port argument to use the default (8080).\n\nThis requires Python 3 and ``requests``.\n\nLicense\n-------\n\nThis software is licensed under the terms of the MIT license, see LICENSE for full text and copyright information.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hroncok/utvsapitoken", "keywords": "oauth2", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "utvsapitoken", "package_url": "https://pypi.org/project/utvsapitoken/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/utvsapitoken/", "project_urls": { "Homepage": "https://github.com/hroncok/utvsapitoken" }, "release_url": "https://pypi.org/project/utvsapitoken/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "OAuth2 token validation for UTVS API", "version": "0.0.2" }, "last_serial": 2092370, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b378d2164bcb66fdaa478f9496621f31", "sha256": "87d663a3dc70f918a2bd64827e08de7bf6b5af3ecdf04563e4c8bbf7f912b5b6" }, "downloads": -1, "filename": "utvsapitoken-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b378d2164bcb66fdaa478f9496621f31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4500, "upload_time": "2016-04-28T21:41:43", "url": "https://files.pythonhosted.org/packages/fc/5f/7405004c5bcf9b4ce252aef2b53319b5a2da135cc4445616ac425c388251/utvsapitoken-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d2d60cbaca55463d347fd890a878f345", "sha256": "8f37456bbc812842d6efb6fc1fc8f92c01de6c53c44b4002681fd697807052c0" }, "downloads": -1, "filename": "utvsapitoken-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d2d60cbaca55463d347fd890a878f345", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4673, "upload_time": "2016-04-30T14:34:22", "url": "https://files.pythonhosted.org/packages/af/af/4d43a2ec29c96b5649b0e3ccd610f6d713f66d5d50f36ca1560cce930ca6/utvsapitoken-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d2d60cbaca55463d347fd890a878f345", "sha256": "8f37456bbc812842d6efb6fc1fc8f92c01de6c53c44b4002681fd697807052c0" }, "downloads": -1, "filename": "utvsapitoken-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d2d60cbaca55463d347fd890a878f345", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4673, "upload_time": "2016-04-30T14:34:22", "url": "https://files.pythonhosted.org/packages/af/af/4d43a2ec29c96b5649b0e3ccd610f6d713f66d5d50f36ca1560cce930ca6/utvsapitoken-0.0.2.tar.gz" } ] }