Scriptor logo


Elegant library for command-line programs

Why Scriptor?

Scriptor is a high-level abstraction for subprocess and async.subprocess. Scriptor makes it easy to execute command-line programs from Python.


  • Run programs sync or async using the same syntax

  • High-level program abstraction

  • Easy program parametrization

A simple example:

>>> from scriptor import Program
>>> python = Program('python3')

>>> # Run a program (and wait for finish)
>>> python('')

You can also conveniently parametrize programs:

>>> # Run: python3 --report_date 2022-01-01
>>> python('', report_date="2022-01-01")

You can create convenient interfaces to other programs with Scriptor. See:


Install the package:

pip install scriptor

Indices and tables