Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

StoryScript is an high-level language that can be used to orchestrate microservices in an algorithmic way.

Project description

.. image::

|CircleCI| |Codecov| |Pypi| |Docs| |Devdocs|

StoryScript is an high-level language that can be used to orchestrate
microservices in an algorithmic way. Unlike a traditional language, StoryScript
describes operations against or with services::

today = date now
invoices = database get items:"invoices" where:"month={{today.month}}"
if == 1
send invoices

You can launch a scalable web application with a five-liner::

stream http-server as request
query = parse-request request:request
data = database get query:query
html = erb template:'/assets/template.erb' data:data
request.write input:html

These stories are compiled into event trees and run by a platform that
implements StoryScript execution, like `Asyncy <>`_

Current status

StoryScript is at an alpha stage and is part of the `Asyncy <>`_
project. If you want to learn more about Asyncy, and how to use StoryScript
with Asyncy, you can visit the `asyncy documentation <>`_

At the moment, Asyncy is the only platform that can execute StoryScript, however
due the open source nature of the project, there might be more platforms that
support StoryScript in the future.

Getting started
Create a Python 3.6 virtualenv::

virtualenv --python=python3.6 folder

Activate it::

cd folder
source bin/activate

Install with pip::

pip install storyscript

Write a simple story::

echo "alpine echo text:'hello world!'" > hello.story

Compile a story to JSON::

storyscript parse -j hello.story

Development documentation
`Development docs <>`_ are provided for those
who wish to contribute to the project or want to understand how to execute
compiled stories.

If you want to contribute to Storyscript, you can join the community at
`our slack <>`_,
where we discuss features and future plans.

You can find open issues on `github <>`_,
along with `contribution guidelines <>`_
for happy coding.
There are `simple issues <>`_
for new contributors and `issues that need help <>`_


The list of contributors is available `here <>`_


For problems directly related to the CLI, `add an issue on GitHub <>`_.
For other issues, `submit a support ticket <>`_

.. |CircleCI| image::

.. |Codecov| image::

.. |Pypi| image::

.. |Docs| image::

.. |Devdocs| image::

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
storyscript-0.6.2-py3-none-any.whl (49.4 kB) Copy SHA256 hash SHA256 Wheel 3.5 Oct 14, 2018
storyscript-0.6.2.tar.gz (34.6 kB) Copy SHA256 hash SHA256 Source None Oct 14, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page