I just made small modifications to make it easier and clearer how to set up and run.
I used virtual env wrapper: https://virtualenvwrapper.readthedocs.io/en/latest/
If no virtual env exists, create one with:
$ mkvirtualenv mnemonic
If it does, then run it with
$ workon mnemonic
Install requirements via
$ pip install -r requirements.txt
To run type
$ python mnemonic.py [16 digit hex string]
such as
$ python mnemonic.py f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2f2
Close the virtualenv session to return to system python
$ deactivate
Reference implementation of BIP-0039: Mnemonic code for generating deterministic keys
This BIP describes the implementation of a mnemonic code or mnemonic sentence -- a group of easy to remember words -- for the generation of deterministic wallets.
It consists of two parts: generating the mnenomic, and converting it into a binary seed. This seed can be later used to generate deterministic wallets using BIP-0032 or similar methods.
See https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki for full specification