Scriptor was meanwhile superseded by viur-scriptor. Please go there for an actively developed version.
Scriptor is a Python scripting environment for ViUR running in the browser.
Scriptor can be used for custominzed analyzing, filtering, exporting or refining of any information provided from a VIUR-based system. It provides a set of pre-configured tools to easily access data from VIUR-modules, in-memory write data into CSV-files or output status information. This alltogether with the tools provided by Python's standard libary.
Scriptor is intended to be used by technically advised users for any kinds of tasks described above.
Scriptor uses the session of the user who is logged in, therefor logging into the ViUR-system before starting Scriptor is required.
Special thanks to Andreas H. Kelch for doing all the preliminary work on this tool.
- Runs out-of-the-box on any ViUR project
- Editor with Python syntax highlighting (Codemirror 5.65.8)
- Python 3.10.2 running in a webworker (using Pyodide 0.21.2)
- Interaction protocol between the frontend and webworker
scripter.py
provides tools forviur
namespace to view and list modulescsvwriter
class for in-memory CSV file writerlogging
namespace for data output with several severitiesprint()
functionexit()
function
- Objects are JSON-serialized and pretty-printed for better readability
To integrate Scriptor into your project either unpack a release or add scriptor as a submodule to your repository into the folder deploy/scriptor
.
Then, add the following entry to your app.yaml
handler section:
- url: /scriptor
static_dir: scriptor
Afterwards, you can access scriptor locally via http://localhost:8080/scriptor/scriptor.html
or under the project URL when deployed from onto a specific app engine project.
Scriptor runs out of the box. It currently is limited to Chromium-based browsers only.
Copyright © 2022 by Mausbrand Informationssysteme GmbH.
Mausbrand and ViUR are registered trademarks of Mausbrand Informationssysteme GmbH.
MIT licensed. Please see the LICENSE file for details.