wolfsoftware.github-token-validator


Namewolfsoftware.github-token-validator JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/GitHubToolbox/github-token-validator
SummaryA tool to validate GitHub Tokens.
upload_time2024-06-26 18:16:17
maintainerNone
docs_urlNone
authorWolf Software
requires_python>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable -->
<p align="center">
    <a href="https://github.com/GitHubToolbox/">
        <img src="https://cdn.wolfsoftware.com/assets/images/github/organisations/githubtoolbox/black-and-white-circle-256.png" alt="GitHubToolbox logo" />
    </a>
    <br />
    <a href="https://github.com/GitHubToolbox/github-token-validator/actions/workflows/cicd.yml">
        <img src="https://img.shields.io/github/actions/workflow/status/GitHubToolbox/github-token-validator/cicd.yml?branch=master&label=build%20status&style=for-the-badge" alt="Github Build Status" />
    </a>
    <a href="https://github.com/GitHubToolbox/github-token-validator/blob/master/LICENSE.md">
        <img src="https://img.shields.io/github/license/GitHubToolbox/github-token-validator?color=blue&label=License&style=for-the-badge" alt="License">
    </a>
    <a href="https://github.com/GitHubToolbox/github-token-validator">
        <img src="https://img.shields.io/github/created-at/GitHubToolbox/github-token-validator?color=blue&label=Created&style=for-the-badge" alt="Created">
    </a>
    <br />
    <a href="https://github.com/GitHubToolbox/github-token-validator/releases/latest">
        <img src="https://img.shields.io/github/v/release/GitHubToolbox/github-token-validator?color=blue&label=Latest%20Release&style=for-the-badge" alt="Release">
    </a>
    <a href="https://github.com/GitHubToolbox/github-token-validator/releases/latest">
        <img src="https://img.shields.io/github/release-date/GitHubToolbox/github-token-validator?color=blue&label=Released&style=for-the-badge" alt="Released">
    </a>
    <a href="https://github.com/GitHubToolbox/github-token-validator/releases/latest">
        <img src="https://img.shields.io/github/commits-since/GitHubToolbox/github-token-validator/latest.svg?color=blue&style=for-the-badge" alt="Commits since release">
    </a>
    <br />
    <a href="https://github.com/GitHubToolbox/github-token-validator/blob/master/.github/CODE_OF_CONDUCT.md">
        <img src="https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge" />
    </a>
    <a href="https://github.com/GitHubToolbox/github-token-validator/blob/master/.github/CONTRIBUTING.md">
        <img src="https://img.shields.io/badge/Contributing-blue?style=for-the-badge" />
    </a>
    <a href="https://github.com/GitHubToolbox/github-token-validator/blob/master/.github/SECURITY.md">
        <img src="https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge" />
    </a>
    <a href="https://github.com/GitHubToolbox/github-token-validator/issues">
        <img src="https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge" />
    </a>
</p>

## Overview

The GitHub Token Validator is a command-line tool that validates a GitHub personal access token and displays its associated information,
such as token scopes, rate limits, and the time remaining until the rate limit reset. This tool helps users to easily check the status
and details of their GitHub tokens.

## Features
- Validate GitHub personal access tokens.
- Display token scopes and rate limit information.
- Show time remaining until the rate limit reset.
- Handle various error scenarios gracefully.

## Installation

```bash
pip install wolfsoftware.github-token-validator
```

## Usage
To run the GitHub Token Validator, use the following command:

```bash
gtv [OPTIONS]
```

### Command-Line Options
- `-h, --help`: Show the help message and exit.
- `-v, --version`: Show the program's version number and exit.
- `-t, --token TOKEN`: Specify the GitHub personal access token. (required)
- `-T, --timeout TIMEOUT`: Specify the request timeout in seconds. (default: 10)

### Example Output

```
+----------------------+-----------------------------+
| Name                 | Value                       |
+----------------------+-----------------------------+
| Token Scope          | read:org, repo, workflow    |
| Rate Limit           | 5000                        |
| Rate Limit Used      | 717                         |
| Rate Limit Remaining | 4283                        |
| Time Till Reset      | 0 hour, 38 minute, 9 second |
+----------------------+-----------------------------+
```

<br />
<p align="right"><a href="https://wolfsoftware.com/"><img src="https://img.shields.io/badge/Created%20by%20Wolf%20on%20behalf%20of%20Wolf%20Software-blue?style=for-the-badge" /></a></p>

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/GitHubToolbox/github-token-validator",
    "name": "wolfsoftware.github-token-validator",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": null,
    "author": "Wolf Software",
    "author_email": "pypi@wolfsoftware.com",
    "download_url": "https://files.pythonhosted.org/packages/e9/2f/7f270b9a97e7b92b7b01395cae87141ffe81bc009d0b69f58be9f232c9d2/wolfsoftware_github_token_validator-0.1.3.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable -->\n<p align=\"center\">\n    <a href=\"https://github.com/GitHubToolbox/\">\n        <img src=\"https://cdn.wolfsoftware.com/assets/images/github/organisations/githubtoolbox/black-and-white-circle-256.png\" alt=\"GitHubToolbox logo\" />\n    </a>\n    <br />\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/actions/workflows/cicd.yml\">\n        <img src=\"https://img.shields.io/github/actions/workflow/status/GitHubToolbox/github-token-validator/cicd.yml?branch=master&label=build%20status&style=for-the-badge\" alt=\"Github Build Status\" />\n    </a>\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/blob/master/LICENSE.md\">\n        <img src=\"https://img.shields.io/github/license/GitHubToolbox/github-token-validator?color=blue&label=License&style=for-the-badge\" alt=\"License\">\n    </a>\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator\">\n        <img src=\"https://img.shields.io/github/created-at/GitHubToolbox/github-token-validator?color=blue&label=Created&style=for-the-badge\" alt=\"Created\">\n    </a>\n    <br />\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/releases/latest\">\n        <img src=\"https://img.shields.io/github/v/release/GitHubToolbox/github-token-validator?color=blue&label=Latest%20Release&style=for-the-badge\" alt=\"Release\">\n    </a>\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/releases/latest\">\n        <img src=\"https://img.shields.io/github/release-date/GitHubToolbox/github-token-validator?color=blue&label=Released&style=for-the-badge\" alt=\"Released\">\n    </a>\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/releases/latest\">\n        <img src=\"https://img.shields.io/github/commits-since/GitHubToolbox/github-token-validator/latest.svg?color=blue&style=for-the-badge\" alt=\"Commits since release\">\n    </a>\n    <br />\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/blob/master/.github/CODE_OF_CONDUCT.md\">\n        <img src=\"https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge\" />\n    </a>\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/blob/master/.github/CONTRIBUTING.md\">\n        <img src=\"https://img.shields.io/badge/Contributing-blue?style=for-the-badge\" />\n    </a>\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/blob/master/.github/SECURITY.md\">\n        <img src=\"https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge\" />\n    </a>\n    <a href=\"https://github.com/GitHubToolbox/github-token-validator/issues\">\n        <img src=\"https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge\" />\n    </a>\n</p>\n\n## Overview\n\nThe GitHub Token Validator is a command-line tool that validates a GitHub personal access token and displays its associated information,\nsuch as token scopes, rate limits, and the time remaining until the rate limit reset. This tool helps users to easily check the status\nand details of their GitHub tokens.\n\n## Features\n- Validate GitHub personal access tokens.\n- Display token scopes and rate limit information.\n- Show time remaining until the rate limit reset.\n- Handle various error scenarios gracefully.\n\n## Installation\n\n```bash\npip install wolfsoftware.github-token-validator\n```\n\n## Usage\nTo run the GitHub Token Validator, use the following command:\n\n```bash\ngtv [OPTIONS]\n```\n\n### Command-Line Options\n- `-h, --help`: Show the help message and exit.\n- `-v, --version`: Show the program's version number and exit.\n- `-t, --token TOKEN`: Specify the GitHub personal access token. (required)\n- `-T, --timeout TIMEOUT`: Specify the request timeout in seconds. (default: 10)\n\n### Example Output\n\n```\n+----------------------+-----------------------------+\n| Name                 | Value                       |\n+----------------------+-----------------------------+\n| Token Scope          | read:org, repo, workflow    |\n| Rate Limit           | 5000                        |\n| Rate Limit Used      | 717                         |\n| Rate Limit Remaining | 4283                        |\n| Time Till Reset      | 0 hour, 38 minute, 9 second |\n+----------------------+-----------------------------+\n```\n\n<br />\n<p align=\"right\"><a href=\"https://wolfsoftware.com/\"><img src=\"https://img.shields.io/badge/Created%20by%20Wolf%20on%20behalf%20of%20Wolf%20Software-blue?style=for-the-badge\" /></a></p>\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A tool to validate GitHub Tokens.",
    "version": "0.1.3",
    "project_urls": {
        "Documentation": "https://github.com/GitHubToolbox/github-token-validator",
        "Homepage": "https://github.com/GitHubToolbox/github-token-validator",
        "Source": "https://github.com/GitHubToolbox/github-token-validator",
        "Sponsor": "https://github.com/sponsors/WolfSoftware",
        "Tracker": "https://github.com/GitHubToolbox/github-token-validator/issues/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "49a8c169c5b739140aa49afe08cb4c35e9dfedd91bf95e203a0054e41377643b",
                "md5": "08cd94ce2c708d73bc58a24b7ed84a40",
                "sha256": "0e57cb652eabbbd7ebbf3f7709323c1625da67ef1de8c705ef78a90cc8dbb364"
            },
            "downloads": -1,
            "filename": "wolfsoftware.github_token_validator-0.1.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "08cd94ce2c708d73bc58a24b7ed84a40",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 9560,
            "upload_time": "2024-06-26T18:16:16",
            "upload_time_iso_8601": "2024-06-26T18:16:16.090829Z",
            "url": "https://files.pythonhosted.org/packages/49/a8/c169c5b739140aa49afe08cb4c35e9dfedd91bf95e203a0054e41377643b/wolfsoftware.github_token_validator-0.1.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e92f7f270b9a97e7b92b7b01395cae87141ffe81bc009d0b69f58be9f232c9d2",
                "md5": "fc7950d433ac2916477731accf6747a5",
                "sha256": "4093960806addb80d69e0fc4e01449239120b1ccf13db44572f098e724e90be2"
            },
            "downloads": -1,
            "filename": "wolfsoftware_github_token_validator-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "fc7950d433ac2916477731accf6747a5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8806,
            "upload_time": "2024-06-26T18:16:17",
            "upload_time_iso_8601": "2024-06-26T18:16:17.798481Z",
            "url": "https://files.pythonhosted.org/packages/e9/2f/7f270b9a97e7b92b7b01395cae87141ffe81bc009d0b69f58be9f232c9d2/wolfsoftware_github_token_validator-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-26 18:16:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "GitHubToolbox",
    "github_project": "github-token-validator",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "wolfsoftware.github-token-validator"
}
        
Elapsed time: 0.29843s