skillfed

diceware

Passphrases you will remember

diceware v1.0.1 1.5M downloads/30d#3,796 on PyPI405
Copyleft license GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license… (full text in the JSON record) Active released

What it is and what it does

diceware is a command-line tool that generates passphrases by randomly selecting words from built-in or custom wordlists and concatenating them. It implements the diceware method proposed by Arnold G. Reinhold, which produces passphrases that are both memorable and have high entropy. The tool supports multiple randomness sources (system random or real physical dice), includes wordlists in multiple languages, and allows customization of word count, capitalization, delimiters, and special character insertion.

The package has no runtime dependencies and installs as a pure Python wheel. It works as both a command-line utility and can be configured via a configuration file in your home directory. It supports Python 2.7 and modern Python 3 versions, and is actively maintained with recent releases.

Use it for:

  • Generate secure passphrases for personal accounts when you need something memorable but cryptographically strong
  • Create password lists for system administrators managing multiple accounts across infrastructure
  • Build custom passphrases using your own wordlists or language-specific word sets for international users
  • Integrate passphrase generation into security workflows that require high-entropy, human-memorable credentials
  • Use physical dice as an entropy source for air-gapped or offline passphrase generation

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

diceware generates memorable passphrases by randomly selecting words from wordlists and concatenating them, following the diceware method for creating cryptographically sound passwords.

Yes. diceware is a lightweight, actively maintained tool with no dependencies, a permissive install profile, and clear security focus. The GPLv3+ copyleft license is straightforward for personal or open-source use. Install it if you need memorable, high-entropy passphrases for personal accounts or system administration; review the license if you plan to integrate it into proprietary software.

Install

diceware on PyPI

pip

pip install diceware

uv

uv add diceware

poetry

poetry add diceware

Installing diceware

Before you install

Low install friction with no runtime dependencies. Actively maintained with a recent release on 2024-12-24 and an active repository showing 405 stars.

License in practice

Licensed under GPLv3+, a copyleft license requiring that any distributed modifications or derivative works also be released under GPLv3+. Suitable for personal use and open-source projects; review required if integrating into proprietary software.

Quickstart

$ pip install diceware
$ diceware
MyraPend93rdSixthEagleAid

$ diceware -n 2 -d "_"
Wavy_Baden

Verify before relying

  • Whether the included wordlists are cryptographically validated or signed as claimed in the description
  • Real-world entropy guarantees when using system randomness versus physical dice input
  • Performance characteristics with very large custom wordlists

Package facts

License GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license… (full text in the JSON record) (copyleft)
Python support supports the current Python release (>=2.7)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 598 days since the last release
Last repo commit
First released
Downloads 1,536,564/month — #3,796 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: diceware-1.0.1-py3-none-any.whl

Keywords: diceware, password, passphrase

Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: End Users/DesktopIntended Audience :: System AdministratorsLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Operating System :: OS IndependentOperating System :: POSIX :: LinuxProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Security :: CryptographyTopic :: Utilities

Tags

passphrase generatormemorable password creationdiceware wordlistrandom word passphrasesecure passphrase toolpassword entropydice-based randomness
passphrase-generationsecurity-toolscli-utility

More Utilities packages