Skip to main content

Jolt

https://img.shields.io/pypi/v/jolt.svg https://readthedocs.org/projects/jolt/badge/?version=latest

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 = [
       "git:url=https://github.com/org/cppapp.git",
       "gcc:arch={arch},version=9.1.1",
    ]
    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 = "https://nodejs.org/dist/v{version}/node-v{version}-win-x64.zip"

    def publish(self, artifact, tools):
        super(publish).publish(artifact, tools)
        artifact.environ.PATH.append("node-v{version}-win-x64")


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

     requires = [
         "git:url=https://github.com/org/webapp.git",
         "nodejs"
     ]

     def run(self, deps, tools):
         with tools.cwd("webapp"):
             tools.run("npm ci")
             tools.run("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 http://jolt.readthedocs.io/

Installing

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

Metadata

Release files for jolt 0.10.61

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jolt 0.10.61
File Size Uploaded
jolt-0.10.61.tar.gz 17.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for jolt 0.10.61
File Interpreter ABI Platform
jolt-0.10.61-py3-none-any.whl Python 3 none any Details

Total release size: 34.1 MB

Release files / jolt-0.10.61.tar.gz

Download URL jolt-0.10.61.tar.gz
Size 17.0 MB
Tags Source
SHA-256 checksum
How to use checksums
f85b48782e6f874dc053d1d79650df9a180f943f1bb8fbb5f8b4bf0c9583669a
BLAKE2b-256 checksum
How to use checksums
b91a5f57364f1a50bbb6222ab25b77ac04d6df057e8dc5da8b6236827e9573eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / jolt-0.10.61-py3-none-any.whl

Download URL jolt-0.10.61-py3-none-any.whl
Size 17.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
28127e494e7cf0431d61727cc9912ebd3898950e12e2ce233712a759fa293a65
BLAKE2b-256 checksum
How to use checksums
15e40b12fd258b15dc5d4c072a27b4f1b43b565b783a8421055c5ca5b79a2c4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release history Release notifications | RSS feed

This release

0.10.61 This release

2 release files

0.9.97

2 release files

0.9.95

2 release files

0.9.93

2 release files

0.9.84

2 release files

0.9.83

2 release files

0.9.82

2 release files

0.9.81

2 release files

0.9.77

2 release files

0.9.76

2 release files

0.9.73

2 release files

0.9.72

2 release files

0.9.71

2 release files

0.9.70

2 release files

0.9.69

2 release files

0.9.68

2 release files

0.9.67

2 release files

0.9.66

2 release files

0.9.65

2 release files

0.9.64

2 release files

0.9.61

2 release files

0.9.60

2 release files

0.9.59

2 release files

0.9.58

2 release files

0.9.57

2 release files

0.9.56

2 release files

0.9.55

2 release files

0.9.50

2 release files

0.9.49

2 release files

0.9.48

2 release files

0.9.47

2 release files

0.9.37

2 release files

0.9.35

2 release files

0.9.30

2 release files

0.9.27

2 release files

0.9.26

2 release files

0.9.25

2 release files

0.9.23

2 release files

0.9.22

2 release files

0.9.15

2 release files

0.9.13

2 release files

0.9.12

2 release files

0.9.11

2 release files

0.9.10

2 release files

0.9.9

2 release files

0.9.8

2 release files

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page