ghtoken
Retrieve GitHub access tokens from various sources
Retrieve GitHub access tokens from various sources
To install this package, run one of the following:
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.
Summary
Retrieve GitHub access tokens from various sources
Last Updated
Jun 13, 2024 at 16:44
License
MIT
Total Downloads
2.3K
Supported Platforms
GitHub Repository
https://github.com/jwodder/ghtoken