Skip to main content

A task executor

Project description

Jolt is a task execution tool designed for software development tasks. It can build your C/C++ applications and React frontends, run tests, deploy your web services, and much more.

Tasks are defined in Python scripts. They may be executed locally by developers or by automation software such as Jenkins in a continuous integration pipeline. In both cases, tasks may be distributed and executed in parallel in a server cluster. The output of each task is cached to reduce overall execution times on repeat attempts. In one real world deployment, Jolt shortend the CI build duration from 10 hours to 10 minutes on average.

Example C++ application task:

class CppApp(CXXExecutable):
    """ Builds a C++ application """
    arch = Parameter(values=["arm", "x64"])
    requires = [
    sources = ["cppapp/include/*.hpp", "cppapp/src/*.cpp"]
$ jolt build cppapp:arch=x64

Example Node.js tasks:

class NodeJS(Download):
    """ Downloads and publishes Node.js. Adds binaries to PATH. """

    version = Parameter("14.16.1")
    url = "{version}/node-v{version}"

    def publish(self, artifact, tools):
        super(publish).publish(artifact, tools)

 class WebApp(Task):
     """ Builds a really cool WebApp """

     requires = [

     def run(self, deps, tools):
         with tools.cwd("webapp"):
   "npm ci")
   "npm build")
$ jolt build webapp

A common command line interface for all tasks enables developers from different disciplines to quickly run each others tasks without in-depth knowledge of the underlying technology - a C++ developer doesn’t have to learn NPM and a React developer doesn’t have to know anything about CMake, Make, MSBuild, etc. Required tools and dependencies are also provisioned automatically.

For full documentation, please visit


Jolt is available in the Python Package Index:

$ pip install jolt
$ jolt

And as a Docker image:

$ docker run robrt/jolt

A thin Python wrapper is available for the Docker images. By using it, multiple versions of Jolt can coexist on the host since the version used is selected during runtime rather than install time. To use a specific version in a project, add a version attribute in the Jolt manifest. By always using a specific version cache hits become more likely.

$ pip install jolt_docker
$ jolt

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

jolt-0.9.126.tar.gz (167.4 kB view hashes)

Uploaded source

Built Distribution

jolt-0.9.126-py3-none-any.whl (191.8 kB view hashes)

Uploaded py3

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