Skip to main content

A Python alternative to making playscripts.

Project description

Scripter

Make a script using Python!

Installing

Currently, you can do:

git clone https://github.com/NCPlayz/Scripter
cd Scripter
python3 -m pip install -U .

Example

from scripter import Script

my_script = Script("Macbeth", "Shakespeare")

act1 = my_script.add_act()

act1.add_scene("A Desert Place. Thunder and lightning. Enter three Witches.")

act1.add_dialogue("When shall we three meet again\nIn thunder lightning, or in rain?", author="First Witch")
# Rest of Act 1 Scene 1

if __name__ == '__main__':
    my_script.create("Macbeth")
    # Result in ./tests

Requirements

  • Python language - version 3.0.0+
  • python-docx library - version 0.8.7

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

playscripter-0.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

playscripter-0.1-py3-none-any.whl (4.7 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