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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

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

Hashes for makeshift-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ed158e1b62538c65712e48daf49a88fc9e93e4d3909f2fb91ef790beaf2b99a0
MD5 be0bd86ef502b021ea91d3d096a42a80
BLAKE2b-256 33b06db25c494d9ca35bab3b3bbb6395628574b908c3f82d8beb4a37df19a77f

See more details on using hashes here.

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

Hashes for makeshift-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 53fa1654dc69edf46c365f771de4b164dba1665f7e42f57b78ac20f0d9239cd8
MD5 64fbc2e6fc71564acf037b9479b0e464
BLAKE2b-256 c2ace13db09d64bfdd7a78879a684113af083a5775ca639283698995fe3172fa

See more details on using hashes here.

Supported by

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