Registry / auth-security / authenticator

authenticator

JSON →
library1.1.3pypypi✓ verified 84d ago

A HOTP/TOTP code generator for the command line, useful for generating two-factor authentication codes from the terminal. Current version: 1.1.3 (as of verification date). Release cadence: irregular.

pip install authenticator
INSTALL
IMPORT
SIG · AUTHENTICATOR
A
authenticator
auth-securitypythonv1.1.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

authenticator
import authenticator
The library exposes a CLI tool; there is no Python API module to import.

Add an account with a base32 secret and generate a TOTP code.

# The primary use is command-line. Example: # authenticator add myaccount --key 'BASE32SECRET' # authenticator code myaccount
authenticator --version
Debug
Known issues
gotchaThis library is a CLI tool, not a Python module. Do not attempt to import authenticator in Python code; it will raise ModuleNotFoundError.
fix
Use the command-line tool directly. If you need programmatic TOTP generation, use a library like pyotp.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'authenticator'
Trying to import authenticator in Python code instead of running it as a command.
fix
Run `authenticator` from the terminal, not from Python's import statement.
authenticator: error: argument command: invalid choice: 'add' (choose from 'add', 'code', 'list', 'delete', 'rename')
Typo or incorrect command name.
fix
Use correct command: authenticator add, authenticator code, authenticator list, authenticator delete, authenticator rename.
Upgrade
Version history
1.1.3latest on PyPI · released Mar 11, 2017
Audit
Dependencies

No dependency data recorded yet.

Agent activity
41 hits · last 30 days
node
36
OpenAI (training)
1
Resources
authenticator — pip install authenticator · libregistry