Procedural text generation based on phrase templates.
Project description
MakeShift
MakeShift is a tool for making procedurally generated text based on pre-defined phrase templates.
This package 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 }
.
Installation
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for makeshift-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53fa1654dc69edf46c365f771de4b164dba1665f7e42f57b78ac20f0d9239cd8 |
|
MD5 | 64fbc2e6fc71564acf037b9479b0e464 |
|
BLAKE2b-256 | c2ace13db09d64bfdd7a78879a684113af083a5775ca639283698995fe3172fa |