Note: SakStig only supports Python 3.
pip install sakstig
SakStig is an objectpath implementation that uses proper querysets and supports querying any python object that supports the dict or list interfaces (the default implementation only supports the real dict and list types).
You can turn off some of the ObjectPath compatibility features to get more homogenous semantics.
A SakForm template is a valid JSON document. It is applied to a data JSON document to produce an output JSON document. Values in the template are copied to the output verbatim, except for the special object member "$", which allows you to do powerfull transformations using SakStig expressions.
This repository uses the tests of ObjectPath to verify compatibility. To run the tests you need to clone ObjectPath into a subdirectory of this repository:
git clone [email protected]:adriank/ObjectPath.git
pip install nose
nosetests -v tests