Skip to main content
Help us improve Python packaging – donate today!

Library to create github personal auth token

Project Description

Travis Coverage Code Health PyPI Version

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: ")
))

Release history Release notifications

This version
History Node

1.0.0

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
github_token-1.0.0-py2.py3-none-any.whl (5.6 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Nov 25, 2017
github_token-1.0.0.tar.gz (3.5 kB) Copy SHA256 hash SHA256 Source None Nov 25, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page