Skip to content

Installation

Yutaka OIWA edited this page Nov 27, 2018 · 1 revision

Installation

Python 3.5 or later is required.

Packages reportlab and qrcode packages from PyPi are also required for make-password-sheet.

For system-wide deployment, put the password_generator module directory to Python library path. Two top-level scripts are copied to some executable path.

Alternatively, for single-user use, putting all archive contents to an arbitrary directory and making a symbolic links to the scripts from an executable path will also work.

The file password_generator/password_generator.py can be used as a standalone script, but only the character-based basic styles and the 'e' dictionary will work.

Additional dictionaries

You can add any kinds of ASCII text files to the password_generator/corpus directory with an extension .corpus. The wordset can be loaded with its basename within []. For corpus with reading hints, refer corpus_convert.py for details.

Authors are welcoming contribution of new wordset along with reading hints. However, please ensure that such data are generated from publicly-available source with explicit permissions for redistribution of modified derivatives (e.g. BSD-licensed or CC-BY-SA 3.0).

Dictionary recompilation

All preset dictionaries contained in the distribution are already processed to use. If you really want to regenerate the dictionaries, you will need some additional tools/files. See Makefile.corpus for some details.

  • [jwikipedia10k] set requires kakasi kanji-kana conversion tool.

  • j and J sets require the naist-jdic-utf8 package contained in Debian archive or elsewhere.

Clone this wiki locally