otp-cli-utils


Nameotp-cli-utils JSON
Version 1.0.2 PyPI version JSON
download
home_pageNone
SummaryA Python CLI tool to validate OTP codes
upload_time2025-08-10 13:51:28
maintainerDilanka Rathnasiri
docs_urlNone
authorDilanka Rathnasiri
requires_python>=3.10
licenseNone
keywords otp
VCS
bugtrack_url
requirements typer rich pyotp
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # OTP CLI Utils

A simple command-line utility for validating TOTP (Time-based One-Time Password) codes

## Installation

Install the package using pip:

```bash
pip install otp-cli-utils
```

## Usage

### Validate an OTP

```bash
otp-utils {{otp}} {{secret}}
```

Example:
```bash
otp-utils 123456 ABCDEF123456
```

### Exit Codes
- `0`: OTP is valid
- `1`: OTP is invalid

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "otp-cli-utils",
    "maintainer": "Dilanka Rathnasiri",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "OTP",
    "author": "Dilanka Rathnasiri",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/61/ec/901b8afece66c641d7016a86b5018602868b8febf1d152d301dd38498f54/otp_cli_utils-1.0.2.tar.gz",
    "platform": null,
    "description": "# OTP CLI Utils\n\nA simple command-line utility for validating TOTP (Time-based One-Time Password) codes\n\n## Installation\n\nInstall the package using pip:\n\n```bash\npip install otp-cli-utils\n```\n\n## Usage\n\n### Validate an OTP\n\n```bash\notp-utils {{otp}} {{secret}}\n```\n\nExample:\n```bash\notp-utils 123456 ABCDEF123456\n```\n\n### Exit Codes\n- `0`: OTP is valid\n- `1`: OTP is invalid\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python CLI tool to validate OTP codes",
    "version": "1.0.2",
    "project_urls": {
        "Documentation": "https://github.com/dilanka-rathnasiri/otp-cli-utils",
        "Homepage": "https://github.com/dilanka-rathnasiri/otp-cli-utils",
        "Source": "https://github.com/dilanka-rathnasiri/otp-cli-utils"
    },
    "split_keywords": [
        "otp"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "443048286e071f0a30caf72553cd3d475e4c7d83dc0d34877b2f2384fa4ecc49",
                "md5": "fe6fd890326de21608d64a1cd3d358b6",
                "sha256": "b7bd02054c79108dce9f6761ae416af7b3278eec6b312f2a1ad158361f366883"
            },
            "downloads": -1,
            "filename": "otp_cli_utils-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fe6fd890326de21608d64a1cd3d358b6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 4736,
            "upload_time": "2025-08-10T13:51:27",
            "upload_time_iso_8601": "2025-08-10T13:51:27.250734Z",
            "url": "https://files.pythonhosted.org/packages/44/30/48286e071f0a30caf72553cd3d475e4c7d83dc0d34877b2f2384fa4ecc49/otp_cli_utils-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "61ec901b8afece66c641d7016a86b5018602868b8febf1d152d301dd38498f54",
                "md5": "c1a65ed647b9232b4aa6b7b14e8ef53a",
                "sha256": "9b4a955a3b05bd4a8ddd52a67e5377b211f0a1ee1aa3664ce30e844b4bfdced2"
            },
            "downloads": -1,
            "filename": "otp_cli_utils-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c1a65ed647b9232b4aa6b7b14e8ef53a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3323,
            "upload_time": "2025-08-10T13:51:28",
            "upload_time_iso_8601": "2025-08-10T13:51:28.567167Z",
            "url": "https://files.pythonhosted.org/packages/61/ec/901b8afece66c641d7016a86b5018602868b8febf1d152d301dd38498f54/otp_cli_utils-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-10 13:51:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dilanka-rathnasiri",
    "github_project": "otp-cli-utils",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "typer",
            "specs": []
        },
        {
            "name": "rich",
            "specs": []
        },
        {
            "name": "pyotp",
            "specs": []
        }
    ],
    "lcname": "otp-cli-utils"
}
        
Elapsed time: 2.77115s