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: ")
))
Metadata
Release files for github_token 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| github_token-1.0.0.tar.gz | 3.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| github_token-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 9.2 kB
Release files / github_token-1.0.0.tar.gz
| Download URL | github_token-1.0.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a503222ee515cd2b819f4bf357581af2c130eeb9d0ac0e9f8fa6b56e2ed1c72
|
|
BLAKE2b-256 checksum How to use checksums |
bd8a5ea108df03dadacd6874925685634ce405c81ca79391c239d82abf099cba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / github_token-1.0.0-py2.py3-none-any.whl
| Download URL | github_token-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e028824743027dd85b645bee7e4f03a83d5e11b48f4b6988cfb9cb386d70aaf6
|
|
BLAKE2b-256 checksum How to use checksums |
4ad9bda68968e22de1c6cef5f84011dc0512da124cb745fa4da2e28101e9c7b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for github_token 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.