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 details)
Built Distribution
File details
Details for the file playscripter-0.1.tar.gz
.
File metadata
- Download URL: playscripter-0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a56a52be2023c7d8cb1df95d3296b54244e6f011472cb54e6f13e37d60089ba |
|
MD5 | a678a4c2290f0383ff7f04dc5cad735d |
|
BLAKE2b-256 | 644644002532b97320f0d9aa51fd932b73e14d978893c38271e6c7807bbb3734 |
File details
Details for the file playscripter-0.1-py3-none-any.whl
.
File metadata
- Download URL: playscripter-0.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff4b5d7454e3bcf710fb603a32d795a94e9faf9628316894cea071168aede92 |
|
MD5 | 5b176be168a79c5e1a3d0ffe7d01436d |
|
BLAKE2b-256 | b64ef118ac656879dd53f2c30440ff9213a2e84e375e392654f7cc8090e14996 |