stretch is a command line tool that uses PBKDF2 from Python’s passlib to
derive a key, given a secret and a salt.

Installation

You can, of course, clone the repo or download the stretch.py script and
call it from its directory, but I’d rather have it “installed” so it can be
called from anywhere. The easiest way to install it: