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 - version3.0.0+
python-docx
library - version0.8.7
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
playscripter-0.1.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for playscripter-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff4b5d7454e3bcf710fb603a32d795a94e9faf9628316894cea071168aede92 |
|
MD5 | 5b176be168a79c5e1a3d0ffe7d01436d |
|
BLAKE2b-256 | b64ef118ac656879dd53f2c30440ff9213a2e84e375e392654f7cc8090e14996 |