Bopytex/bopytex/bopytex.py

17 lines
421 B
Python

import bopytex.default_config as DEFAULT
from bopytex.service import orcherstrator
def bopytex(**options):
config = options.copy()
config["jinja2"] = {}
config["jinja2"]["environment"] = DEFAULT.jinja2_env
orcherstre = orcherstrator(
options, planner=DEFAULT.planner, dispatcher=DEFAULT.dispatcher
)
for message in orcherstre:
print(message)
assert message.status == 0