skip to navigation
skip to content

keysmith 2.0.0

A Diceware-style Password Generator

Keysmith randomly chooses words from a list and concatenates them. With a sufficiently large list, these make decent passphrases that tend to be more memorable than other random passwords. The concept is essentially the same as (and arguably simpler than) Diceware.


Keysmith is available on PyPI.

pip install keysmith


Keysmith can be run as a command-line utility.

keysmith --help

Keysmith can also be imported into other Python projects.

>>> import keysmith, string
>>> print(keysmith.key(seq=string.ascii_letters, nteeth=12, delimiter=''))

Pro Tip

Use Keysmith with KeePass and Yubikey!


Copyright (C) 2016 David Tucker

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

File Type Py Version Uploaded on Size
keysmith-2.0.0.tar.gz (md5) Source 2016-08-15 12KB