Skip to content

kinow/ecearth-scriptengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WIP

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.yml

Example 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!

About

Test project with ScriptEngine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages