{"id":13936266,"url":"https://github.com/abdullahselek/authenticatorpy","last_synced_at":"2025-04-11T05:33:54.743Z","repository":{"id":46289595,"uuid":"118651032","full_name":"abdullahselek/authenticatorpy","owner":"abdullahselek","description":"A Python library that provide unique keys for 2FA with given secret.","archived":false,"fork":false,"pushed_at":"2022-01-28T17:14:44.000Z","size":79,"stargazers_count":41,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-25T03:34:34.899Z","etag":null,"topics":["pure-python","pypi","pypi-packages","python2-7","python3","two-factor-authentication"],"latest_commit_sha":null,"homepage":"https://authenticatorpy.abdullahselek.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdullahselek.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-23T18:24:34.000Z","updated_at":"2022-10-20T03:32:42.000Z","dependencies_parsed_at":"2022-08-24T19:11:23.039Z","dependency_job_id":null,"html_url":"https://github.com/abdullahselek/authenticatorpy","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fauthenticatorpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fauthenticatorpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fauthenticatorpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdullahselek%2Fauthenticatorpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdullahselek","download_url":"https://codeload.github.com/abdullahselek/authenticatorpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247975233,"owners_count":21026838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["pure-python","pypi","pypi-packages","python2-7","python3","two-factor-authentication"],"created_at":"2024-08-07T23:02:31.893Z","updated_at":"2025-04-11T05:33:54.725Z","avatar_url":"https://github.com/abdullahselek.png","language":"Python","readme":"authenticatorpy\n===============\n\n.. image:: https://github.com/abdullahselek/authenticatorpy/workflows/authenticatorpy%20ci/badge.svg\n    :target: https://github.com/abdullahselek/authenticatorpy/actions\n\n.. image:: https://img.shields.io/pypi/v/authenticatorpy.svg\n    :target: https://pypi.python.org/pypi/authenticatorpy/\n\n.. image:: https://img.shields.io/pypi/pyversions/authenticatorpy.svg\n    :target: https://pypi.org/project/authenticatorpy\n\n.. image:: https://codecov.io/gh/abdullahselek/authenticatorpy/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/abdullahselek/authenticatorpy\n\n.. image:: https://pepy.tech/badge/authenticatorpy\n    :target: https://pepy.tech/project/authenticatorpy\n\n.. image:: https://img.shields.io/conda/vn/conda-forge/authenticatorpy?logo=conda-forge\n    :target: https://anaconda.org/conda-forge/authenticatorpy\n\n.. image:: https://anaconda.org/conda-forge/authenticatorpy/badges/latest_release_date.svg\n    :target: https://anaconda.org/conda-forge/authenticatorpy\n\n.. image:: https://anaconda.org/conda-forge/authenticatorpy/badges/license.svg\n    :target: https://anaconda.org/conda-forge/authenticatorpy\n\n+----------------------------------------------------------------------------------+------------------------------------------------------------------------------------+\n|                                Linux                                             |                                       Windows                                      |\n+==================================================================================+====================================================================================+\n| .. image:: https://travis-ci.org/abdullahselek/authenticatorpy.svg?branch=master | .. image:: https://ci.appveyor.com/api/projects/status/vbbhr6naecm16ljv?svg=true   |\n|   :target: https://travis-ci.org/abdullahselek/authenticatorpy                   |    :target: https://ci.appveyor.com/project/abdullahselek/authenticatorpy          |\n+----------------------------------------------------------------------------------+------------------------------------------------------------------------------------+\n\nIntroduction\n============\n\nA pure Python library which provides one time password like Google Authenticator. It works with Python versions Python 3.x.\n\nInstalling\n==========\n\nYou can install authenticatorpy using Python Package Index::\n\n    $ pip install authenticatorpy\n\nInstall with conda from the Anaconda conda-forge channel::\n\n    $ conda install -c conda-forge authenticatorpy\n\nInstall from its source repository on GitHub::\n\n    $ pip install -e git+https://github.com/abdullahselek/authenticatorpy#egg=authenticatorpy\n\n\nGetting the code\n================\n\nThe code is hosted at https://github.com/abdullahselek/authenticatorpy\n\nCheck out the latest development version anonymously with::\n\n    $ git clone git://github.com/abdullahselek/authenticatorpy.git\n    $ cd authenticatorpy\n\nTo install test dependencies, run either::\n\n    $ pip install -Ur requirements.testing.txt\n\nRunning Tests\n=============\n\nThe test suite can be run against a single Python version which requires ``pip install pytest`` and optionally ``pip install pytest-cov`` (these are included if you have installed dependencies from ``requirements.testing.txt``)\n\nTo run the unit tests with a single Python version::\n\n    $ py.test -v\n\nto also run code coverage::\n\n    $ py.test --cov=authenticatorpy\n\nTo run the unit tests against a set of Python versions::\n\n    $ tox\n\nSample Usage\n============\n\nImport Authenticator::\n\n    from authenticatorpy.authenticator import Authenticator\n\nInitiation::\n\n    authenticator = Authenticator('abcd xyzw abcd xyzw abcd xyzw abcd xyzw')\n    password = authenticator.one_time_password()\n\nAnd that's it, you have the unique password.\n\nCommand Line Usage\n==================\n\nWith ``--secret`` parameter default 30 seconds regeneration interval::\n\n    python -m authenticatorpy --secret 'abcd xyzw abcd xyzw abcd xyzw abcd xyzw'\n\nor additional ``--time`` parameter::\n\n    python -m authenticatorpy --secret 'abcd xyzw abcd xyzw abcd xyzw abcd xyzw' --time 15\n\nRelevant RFCs\n-------------\n\n| `RFC4226 \u003chttp://tools.ietf.org/html/rfc4226\u003e`_\n| `RFC6238 \u003chttp://tools.ietf.org/html/rfc6238\u003e`_\n\nLicense\n-------\n\nMIT License\n\nCopyright (c) 2018 Abdullah Selek\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the “Software”), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fauthenticatorpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdullahselek%2Fauthenticatorpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdullahselek%2Fauthenticatorpy/lists"}