MakeShift is a tool for making procedurally generated text based on predefined phrase templates.
This is a dependency-free, pure Python package that includes a simple specification for how to write MakeShift-style phrase templates and an interpreter for generating text from those templates.
MakeShift is designed for dungeon masters, writers and storytellers of all kinds to find inspiration when making new { characters | settings | stories | worlds | anything }
.
MakeShift can be installed from PyPi using Pip. I recommend doing this in a Python virtual environment.
> pip install makeshift
You can call makeshift
from the command-line and provide a phrase template file to generate a random result.
> makeshift /path/to/file/my_template.txt
You can also download the MakeShift repository from https://github.com/MJoseph1234/makeshift
There's a number of template files in the examples/
directory of the repository. You can expand on those or use them as a blueprint to write your own.