github_token 1.0.0
pip install github_token
Latest version
Released:
Library to create github personal auth token
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Mario Corchero
- Tags github, authorization, tfa, token, twofactor
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
Project description
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: ") ))
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (MIT)
- Author: Mario Corchero
- Tags github, authorization, tfa, token, twofactor
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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 |