Build little ascii friends that can speak and move
^ ^ hello
(ù.ù )___(
//||-//||
^ ^ world!
( ô.ô)___(
//||-//||
python3 -m pip install storii
# storii [filename] [optional:speed] [optional:repeat]
Example:
ls -l stories/
... story1.yaml
... story2.yaml
... story3.yaml
storii stories/story1.yaml
A story is a collection of states
Example:
state:
ears : ' ^ ^'
face : ' (ù.ù )___('
paws : ' ||\\-||\\'
Example:
states:
- state:
top: " ^ ^ "
mid: " (ù.ù )___( "
low: " //||-//|| "
- state:
top: " ^ ^ "
mid: " ( ô.ô)___( "
low: " //||-//|| "
Example:
env:
msg: "hello world!"
states:
- state:
sky: ' {msg}'
ears: ' ^ ^ / '
face: ' (ù.ù )___( '
paws: ' ||\\-||\\ '
Example:
repeat: 3
states:
- state:
top: " ^ ^ "
mid: " (ù.ù )___( "
low: " //||-//|| "
- state:
top: " ^ ^ "
mid: " ( ô.ô)___( "
low: " //||-//|| "
Example:
speed: 5
states:
- state:
top: " ^ ^ "
mid: " (ù.ù )___( "
low: " //||-//|| "
- state:
top: " ^ ^ "
mid: " ( ô.ô)___( "
low: " //||-//|| "
git clone https://github.com/guillaumefe/storii
cd storii
# Edit setup.py
python3 -m pip install setuptools
python3 setup.py sdist
python3 -m pip install dist/storii-{version}
python3 -m pip install twine
# Register at https://test.pypi.org
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
python3 -m pip install --index-url https://test.pypi.org/simple/ storii
python3 -m pip install twine
# Register at https://pypi.org
python3 -m twine upload dist/*
python3 -m pip install storii