CMD + K

ghtoken

Community

Retrieve GitHub access tokens from various sources

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::ghtoken

Usage Tracking

0.1.2
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

When writing a Python program for interacting with GitHub's API, you'll likely want to use the local user's GitHub access token for authentication. Asking the user to provide the token every time is undesirable, so you'd rather look up the token in some well-known storage location. The problem is, there have been so many places to store GitHub tokens supported by different programs over the years, and asking your users to migrate to a new one shouldn't be necessary.

That's where ghtoken comes in: it provides a single function for checking multiple well-known sources for GitHub access tokens plus separate functions for querying individual sources in case you need to combine the queries in novel ways.

About

Summary

Retrieve GitHub access tokens from various sources

Last Updated

Jun 13, 2024 at 16:44

License

MIT

Total Downloads

2.3K

Supported Platforms

noarch