{ "info": { "author": "Mario Corchero", "author_email": "mariocj89@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "|Travis| |Coverage| |Code Health| |PyPI Version|\n\nGitHub Token\n============\n\nCreating an app token might not be the simplest task, use this utility\nand forget about all the issues.\n\nInstall\n=======\n\n``pip install github_token``\n\nUsage\n=====\n\n::\n\n import github_token\n user = input(\"Username: \")\n password = getpass.getpass()\n app_name = input(\"App Name to create: \")\n token_factory = github_token.TokenFactory(user, password, app_name,\n github_token.Scopes.all)\n\n print(token_factory(\n tfa_token_callback=lambda: input(\"TFA Token: \")\n ))\n\n.. |PyPI Version| image:: https://img.shields.io/pypi/v/github_token.svg\n :target: https://pypi.python.org/pypi/github_token/\n.. |Code Health| image:: https://landscape.io/github/mariocj89/github-token/master/landscape.svg?style=flat\n :target: https://landscape.io/github/mariocj89/github-token/master\n.. |Coverage| image:: https://coveralls.io/repos/github/mariocj89/github-token/badge.svg?branch=master\n :target: https://coveralls.io/github/mariocj89/github-token?branch=master\n.. |Travis| image:: https://travis-ci.org/mariocj89/github-token.svg?branch=master\n :target: https://travis-ci.org/mariocj89/github-token\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Mariocj89/github-token", "keywords": "github,authorization,tfa,token,twofactor", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "github_token", "package_url": "https://pypi.org/project/github_token/", "platform": "", "project_url": "https://pypi.org/project/github_token/", "project_urls": { "Homepage": "https://github.com/Mariocj89/github-token" }, "release_url": "https://pypi.org/project/github_token/1.0.0/", "requires_dist": [ "requests", "six", "enum34" ], "requires_python": "", "summary": "Library to create github personal auth token", "version": "1.0.0" }, "last_serial": 3362943, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "468eb4aa030b11f806119a29cf529bb6", "sha256": "7880b1553565f299249737e58301e895eedb731682f7326567e8e3adcc4700ce" }, "downloads": -1, "filename": "github_token-0.1.0.tar.gz", "has_sig": false, "md5_digest": "468eb4aa030b11f806119a29cf529bb6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3179, "upload_time": "2016-12-14T21:04:06", "url": "https://files.pythonhosted.org/packages/bc/7a/e41bc4ed46c33a7fe37cc840b6d6fb4bc3bec5325ad4dd5de18eafe71769/github_token-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "e2f34d860a8d205c850585a8f530d763", "sha256": "e028824743027dd85b645bee7e4f03a83d5e11b48f4b6988cfb9cb386d70aaf6" }, "downloads": -1, "filename": "github_token-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e2f34d860a8d205c850585a8f530d763", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5632, "upload_time": "2017-11-25T14:28:10", "url": "https://files.pythonhosted.org/packages/4a/d9/bda68968e22de1c6cef5f84011dc0512da124cb745fa4da2e28101e9c7b3/github_token-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b6b053f08c20ae93dc0c4ba22ad4390", "sha256": "7a503222ee515cd2b819f4bf357581af2c130eeb9d0ac0e9f8fa6b56e2ed1c72" }, "downloads": -1, "filename": "github_token-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5b6b053f08c20ae93dc0c4ba22ad4390", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3546, "upload_time": "2017-11-25T14:28:12", "url": "https://files.pythonhosted.org/packages/bd/8a/5ea108df03dadacd6874925685634ce405c81ca79391c239d82abf099cba/github_token-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2f34d860a8d205c850585a8f530d763", "sha256": "e028824743027dd85b645bee7e4f03a83d5e11b48f4b6988cfb9cb386d70aaf6" }, "downloads": -1, "filename": "github_token-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e2f34d860a8d205c850585a8f530d763", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5632, "upload_time": "2017-11-25T14:28:10", "url": "https://files.pythonhosted.org/packages/4a/d9/bda68968e22de1c6cef5f84011dc0512da124cb745fa4da2e28101e9c7b3/github_token-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5b6b053f08c20ae93dc0c4ba22ad4390", "sha256": "7a503222ee515cd2b819f4bf357581af2c130eeb9d0ac0e9f8fa6b56e2ed1c72" }, "downloads": -1, "filename": "github_token-1.0.0.tar.gz", "has_sig": false, "md5_digest": "5b6b053f08c20ae93dc0c4ba22ad4390", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3546, "upload_time": "2017-11-25T14:28:12", "url": "https://files.pythonhosted.org/packages/bd/8a/5ea108df03dadacd6874925685634ce405c81ca79391c239d82abf099cba/github_token-1.0.0.tar.gz" } ] }