Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

makeshift-0.0.1.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

makeshift-0.0.1-py3-none-any.whl (13.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page