Skip to main content

A CLI one-time password application that manages one-time passwords elegantly and with tons of customization.

Project description


A command line based one-time password manager that allows you to easily retreive and store one-time passwords. Secrets are stored using the operating system's keyring, so sensitive information is encrypted.



The show command shows a stored one-time password:

Names are case-insensitive to help prevent typos involving case. If you want to quickly get a one-time password for a secret, for testing or development purposes, just run otp show --secret [SECRET] to see its corresponding TOTP code.

Codes are updated in real-time, and they are hidden upon exit (CTRL-C or q).


The write command allows you to store new one-time passwords:

Most of the features here roughly follow the Google Authenticator application, allowing you to store issuers and emails to distinguish multiple one-time passwords from the same website.


The update command allows you to amend or change details of a one-time password. Changing the secret will prompt you to confirm, as it is a potentially dangerous action.


The delete command deletes saved one-time passwords:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for otp-cli, version 0.5.3
Filename, size File type Python version Upload date Hashes
Filename, size otp-cli-0.5.3.tar.gz (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page