skip to navigation
skip to content

github_token 0.1.0

Library to create github personal auth token

GitHub Token

Creating an app token might not be the simplest task, use this utility and forget about all the issues.

Install

pip install github_token

Usage

import github_token
user = input("Username: ")
password = getpass.getpass()
app_name = input("App Name to create: ")
token_factory = github_token.TokenFactory(user, password, app_name,
                                          github_token.ALL_SCOPES)

print(token_factory(
    tfa_token_callback=lambda: input("TFA Token: ")
))
 
File Type Py Version Uploaded on Size
github_token-0.1.0.tar.gz (md5) Source 2016-12-14 3KB