Skip to main content

Bolt Task Automation

Verify Python Library

Bolt is a task runner inspired by grunt and written in python that helps you automate any task in your project whether it is executed in your development environment or in your CI/CD pipeline. Bolt gives you the power to specify how tasks should be executed, and it takes care of the rest. And it is as simple as describing and configuring your tasks in the boltfile.py.

# boltfile.py

import bolt

config = {
    'pip': {
        'command': 'install',
        'options': {
            'r': './requirements.txt'
        }
    },
    'delete-pyc': {
        'sourcedir': './src',
        'recursive': True
    },
    'nose': {
        'directory': './tests',
        'options': {
            'with-xunit': True,
            'xunit-file': './logs/unit_test_log.xml'
        }
    }
}

bolt.register_task('run-tests', ['pip', 'delete-pyc', 'nose'])
# in your favorite shell

bolt pip
# to install requirements

bolt nose
# executes unit tests

bolt run-tests
# installs requirements, deletes .pyc files, and runs unit tests

Why Use Bolt?

Let's face it, you want to automate everything, but doing so becomes a burden; especially, if you are working on a cross-platform application. You may find your-self switching CI/CD systems and going through the pain of rewriting your pipelines to the specific domain languages they use. Python is cross-platform and any pipline will allow you to execute a command. This makes Bolt ideal to create reusable tasks that can execute in any environment indpendently of tools. And, It's fun!

How Can I Get Started?

You can start by installing bolt and following the examples in the Getting Started guide. Once you become familiar with Bolt, you can look at other topics in Using Bolt, to learn about the different features it provides.

This is Great! I want to Help!

Help is highly appreciated! If you want to contribute to the project, make sure to read our guidelines. If you are a tool developer, and you want to provide Bolt support in your library or application don't hesitate asking for help. We want to build a great community around Bolt, and we will help you in any way we can.

Make sure you read the bolt documentation.

Release files for bolt-ta 0.4.1

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

Source distribution (sdist)

Source distribution for bolt-ta 0.4.1
File Size Uploaded
bolt_ta-0.4.1.tar.gz 91.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bolt-ta 0.4.1
File Interpreter ABI Platform
bolt_ta-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 113.6 kB

Release files / bolt_ta-0.4.1.tar.gz

Download URL bolt_ta-0.4.1.tar.gz
Size 91.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c2db4a11d5c34e2bb39aa400e87a4dc471022c5f462f2bb4ebf428b78a809ee3
BLAKE2b-256 checksum
How to use checksums
24fde39182e09e2fbbe17c8cdb021835f09033dd4221f721d271c571cc486943
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5

Release files / bolt_ta-0.4.1-py3-none-any.whl

Download URL bolt_ta-0.4.1-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d45abb9cc56d982d4d79a2d72f505624d52e025adc95c2f6ef679b0111ff4369
BLAKE2b-256 checksum
How to use checksums
245cd0d711de519dd428a1114542dc6b79bae8d4a93e5c81553479298ae8e512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5
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