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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file makeshift-0.0.1.tar.gz.
File metadata
- Download URL: makeshift-0.0.1.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed158e1b62538c65712e48daf49a88fc9e93e4d3909f2fb91ef790beaf2b99a0
|
|
| MD5 |
be0bd86ef502b021ea91d3d096a42a80
|
|
| BLAKE2b-256 |
33b06db25c494d9ca35bab3b3bbb6395628574b908c3f82d8beb4a37df19a77f
|
File details
Details for the file makeshift-0.0.1-py3-none-any.whl.
File metadata
- Download URL: makeshift-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53fa1654dc69edf46c365f771de4b164dba1665f7e42f57b78ac20f0d9239cd8
|
|
| MD5 |
64fbc2e6fc71564acf037b9479b0e464
|
|
| BLAKE2b-256 |
c2ace13db09d64bfdd7a78879a684113af083a5775ca639283698995fe3172fa
|