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.Scopes.all)
print(token_factory(
tfa_token_callback=lambda: input("TFA Token: ")
))
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
github_token-1.0.0.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file github_token-1.0.0.tar.gz.
File metadata
- Download URL: github_token-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a503222ee515cd2b819f4bf357581af2c130eeb9d0ac0e9f8fa6b56e2ed1c72
|
|
| MD5 |
5b6b053f08c20ae93dc0c4ba22ad4390
|
|
| BLAKE2b-256 |
bd8a5ea108df03dadacd6874925685634ce405c81ca79391c239d82abf099cba
|
File details
Details for the file github_token-1.0.0-py2.py3-none-any.whl.
File metadata
- Download URL: github_token-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e028824743027dd85b645bee7e4f03a83d5e11b48f4b6988cfb9cb386d70aaf6
|
|
| MD5 |
e2f34d860a8d205c850585a8f530d763
|
|
| BLAKE2b-256 |
4ad9bda68968e22de1c6cef5f84011dc0512da124cb745fa4da2e28101e9c7b3
|