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-docker 0.10.69

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-docker 0.10.69
File Size Uploaded Provenance
jolt_docker-0.10.69.tar.gz 5.2 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 10.8 kB

Release files / jolt_docker-0.10.69.tar.gz

Download URL jolt_docker-0.10.69.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e399143c9ab552d5803986f6478a923b1838ddf65f23745020f15002d96093c2
BLAKE2b-256 checksum
How to use checksums
3645307a453d25ec1906611d19c8c58bdb18e2e7400a0d308d02c968973d6b4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / jolt_docker-0.10.69-py3-none-any.whl

Download URL jolt_docker-0.10.69-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61ea291b9175986119a63ced11c3c4ae3c0e3e344b954c6bf41bd272d08c872a
BLAKE2b-256 checksum
How to use checksums
63eda50d86e1d39932ca1b231569fa4b3cbc03ac77f120014987b7160613c6b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for jolt-docker 0.10.69

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.10.69 This release

2 release files No provenance

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