oathtool


Nameoathtool JSON
Version 2.3.2 PyPI version JSON
download
home_pageNone
SummaryOne-time password generator
upload_time2024-08-21 15:59:09
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            .. image:: https://img.shields.io/pypi/v/oathtool.svg
   :target: https://pypi.org/project/oathtool

.. image:: https://img.shields.io/pypi/pyversions/oathtool.svg

.. image:: https://github.com/jaraco/oathtool/actions/workflows/main.yml/badge.svg
   :target: https://github.com/jaraco/oathtool/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2024-informational
   :target: https://blog.jaraco.com/skeleton

TOTP code generator based on oathtool.

Usage
=====

Command-line::

    $ python -m oathtool $key

API::

    >>> oathtool.generate_otp(key)

Create standalone script (Unix)::

    $ python -m oathtool.generate-script
    $ ./oathtool $key

Don't want to install oathtool, but just want the script? Use
`pip-run <https://pypi.org/project/pip-run>`_::

    $ pip-run oathtool -- -m oathtool.generate-script
    $ ./oathtool $key


``generate-script`` also takes an arbitrary target path in
case you wish to generate the script elsewhere::

    $ python -m oathtool.generate-script ~/bin/my-oathtool

Or install with `pipx <https://pipxproject.github.io/pipx/>`_::

    $ pipx install oathtool
    $ oathtool $key

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "oathtool",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": null,
    "author_email": "\"Jason R. Coombs\" <jaraco@jaraco.com>",
    "download_url": "https://files.pythonhosted.org/packages/c3/87/3c6d84dee020a1d2269b0e5d47b1ab3a788eb4b7b2d37b9dc93c18d499bf/oathtool-2.3.2.tar.gz",
    "platform": null,
    "description": ".. image:: https://img.shields.io/pypi/v/oathtool.svg\n   :target: https://pypi.org/project/oathtool\n\n.. image:: https://img.shields.io/pypi/pyversions/oathtool.svg\n\n.. image:: https://github.com/jaraco/oathtool/actions/workflows/main.yml/badge.svg\n   :target: https://github.com/jaraco/oathtool/actions?query=workflow%3A%22tests%22\n   :alt: tests\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Ruff\n\n.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest\n..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/badge/skeleton-2024-informational\n   :target: https://blog.jaraco.com/skeleton\n\nTOTP code generator based on oathtool.\n\nUsage\n=====\n\nCommand-line::\n\n    $ python -m oathtool $key\n\nAPI::\n\n    >>> oathtool.generate_otp(key)\n\nCreate standalone script (Unix)::\n\n    $ python -m oathtool.generate-script\n    $ ./oathtool $key\n\nDon't want to install oathtool, but just want the script? Use\n`pip-run <https://pypi.org/project/pip-run>`_::\n\n    $ pip-run oathtool -- -m oathtool.generate-script\n    $ ./oathtool $key\n\n\n``generate-script`` also takes an arbitrary target path in\ncase you wish to generate the script elsewhere::\n\n    $ python -m oathtool.generate-script ~/bin/my-oathtool\n\nOr install with `pipx <https://pipxproject.github.io/pipx/>`_::\n\n    $ pipx install oathtool\n    $ oathtool $key\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "One-time password generator",
    "version": "2.3.2",
    "project_urls": {
        "Source": "https://github.com/jaraco/oathtool"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8960cfc6acb13dab9bf39a8bcef83961489519c6cdbf7b29b9598fec8c14e4b9",
                "md5": "b4c7c0c283fcca7e2eb1fd86a7d5e82e",
                "sha256": "f115a2b82b0892589b4bc78e6a25b02996656f0a79fa3be6531ba1bfdc503b1d"
            },
            "downloads": -1,
            "filename": "oathtool-2.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b4c7c0c283fcca7e2eb1fd86a7d5e82e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5433,
            "upload_time": "2024-08-21T15:59:08",
            "upload_time_iso_8601": "2024-08-21T15:59:08.132078Z",
            "url": "https://files.pythonhosted.org/packages/89/60/cfc6acb13dab9bf39a8bcef83961489519c6cdbf7b29b9598fec8c14e4b9/oathtool-2.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3873c6d84dee020a1d2269b0e5d47b1ab3a788eb4b7b2d37b9dc93c18d499bf",
                "md5": "2481527f5161d661fbbbd2d53ce67af7",
                "sha256": "f902f0cf99f8860d39b26cb52d4cde04604ec79d41118b29a4c68248ac3cdc5a"
            },
            "downloads": -1,
            "filename": "oathtool-2.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2481527f5161d661fbbbd2d53ce67af7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9830,
            "upload_time": "2024-08-21T15:59:09",
            "upload_time_iso_8601": "2024-08-21T15:59:09.591860Z",
            "url": "https://files.pythonhosted.org/packages/c3/87/3c6d84dee020a1d2269b0e5d47b1ab3a788eb4b7b2d37b9dc93c18d499bf/oathtool-2.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-21 15:59:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jaraco",
    "github_project": "oathtool",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "oathtool"
}
        
Elapsed time: 0.40457s