Skip to main content

A lightweight and extensible framework for executing scripts written in YAML

Project description

ScriptEngine

Tests Test coverage PyPI package Conda-forge package

ScriptEngine is a lightweight and extensible framework for executing scripts written in YAML. The main purpose of ScriptEngine is to replace shell scripts in situations where highly configurable and modular scripts are needed. ScriptEngine relies on YAML and makes extensive use of Jinja2 templating to provide a comprehensive scripting language. This allows users to put focus on the description of tasks, rather than their implementation. The description of complex tasks should be nearly as short and clear as for simpler ones.

The ScriptEngine concept separates scripts (what to do) from the implementation of tasks (how to do things), and also from the actual execution environment (the script engine instances). This modularity allows the provision of different execution models (e.g. sequential or parallel; local or remote) within the same framework.

ScriptEngine provides a concise set of basic tasks that users can use to write their scripts. However, extensibility is a fundamental principle for ScriptEngine. Complementary task sets are provided as Python packages that can be loaded into ScriptEngine at run time. Thus, the capabilities of ScriptEngine scripts is only limited by available task sets.

ScriptEngine tasks are simple Python classes with a run() method, which means that it is rather easy to build new tasks sets for particular needs. And because everything is based on Python3, there is a wide range of modules available to get the actual work done easily and efficiently.

ScriptEngine is open source software, hosted at GitHub. Up-to-date ScriptEngine packages are provided at PyPI and conda-forge, so installation is as easy as pip install scriptengine or conda install scriptengine. Documentation, including more detailed installation instructions, is published at ReadtheDocs.

Project details


Download files

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

Source Distribution

scriptengine-1.0.0.tar.gz (38.7 kB view details)

Uploaded Source

Built Distribution

scriptengine-1.0.0-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

Details for the file scriptengine-1.0.0.tar.gz.

File metadata

  • Download URL: scriptengine-1.0.0.tar.gz
  • Upload date:
  • Size: 38.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for scriptengine-1.0.0.tar.gz
Algorithm Hash digest
SHA256 aa5418c70539946036d33ea54b98a26118aceba7b729b72971b31d8285216828
MD5 e75e1c19b90459e0922f304fe00c0e15
BLAKE2b-256 b6832d2814627b3cfcee9470f05fbf9320bb48e4b10c1350ff86f0e73344b4dc

See more details on using hashes here.

File details

Details for the file scriptengine-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for scriptengine-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29b25a335743d2aea0179f718917545fefdb4e9f53e62955f2622ace28dea02f
MD5 626d715782332cfa50916e8800760229
BLAKE2b-256 cd23f8648347a4637cb0ec306d682b008b4e8c73d8588443c05a1cceaf04ce2c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page