An example project to write a set of tasks for EC-Earth with ScriptEngine.
Caution
This is just a test for now, do not use this repository for anything else :)
See sample.yml for an example. you can run it with:
$ git clone https://github.com/kinow/ecearth-scriptengine.git
$ cd ecearth-scriptengine/
$ pip install -e .
$ se sample.ymlExample output of the se sample.yml execution, when successful:
$ se sample.yml
2025-06-04 16:21:45 INFO [se.cli] Logging configured and started
2025-06-04 16:21:45 INFO [se.task:base.context <ce7cc69010>] Context update: Context({'planet': 'Earth'})
2025-06-04 16:21:45 INFO [se.task:base.echo <22f58a4720>] Hello, {{ plane...
Hello, Earth!
2025-06-04 16:21:45 INFO [se.task:ecearth.sayni <0cc01c7e39>] I will say NI! 3 times... get ready...
NI!
NI!
NI!