A lightweight and extensible framework for executing scripts written in YAML
Project description
ScriptEngine
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. ScriptEngine packages
are provided at PyPI, so installation
is as easy as pip install scriptengine
. Documentation, including more
detailed installation instructions, is published at
ReadtheDocs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scriptengine-0.12.4.tar.gz
.
File metadata
- Download URL: scriptengine-0.12.4.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5babd236794fb73f240c7d2cdb9c81f1c959f0e150ee6ae39e7102912605e0c6 |
|
MD5 | 7ac4bd0de8d8af9224c489cb2eb25bda |
|
BLAKE2b-256 | 849cf8c28b09f4dfe6b6839b38e74ee3848e8398fdba6db60357abe0ff0120fd |
File details
Details for the file scriptengine-0.12.4-py3-none-any.whl
.
File metadata
- Download URL: scriptengine-0.12.4-py3-none-any.whl
- Upload date:
- Size: 43.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cebd0bb19df0967d2a3189ff4980633d531732741b6e015d46a1a8a515f8288c |
|
MD5 | 5d59f94cba2029295b9635cdacf706a1 |
|
BLAKE2b-256 | a0e0a101fcffbe27a985ca02b6bec94c5cfb4a8d65d0739f8057b576b8e88bdb |