Skip to main content

A task runner written in Python

Project description

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.

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

bolt-ta-0.3.7.tar.gz (21.6 kB view details)

Uploaded Source

Built Distribution

bolt_ta-0.3.7-py2.py3-none-any.whl (22.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bolt-ta-0.3.7.tar.gz.

File metadata

  • Download URL: bolt-ta-0.3.7.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for bolt-ta-0.3.7.tar.gz
Algorithm Hash digest
SHA256 1c928eb7d7c61adcc42bd98ae6b976c3a87bc9cf12e30b5c23d834f7afa9c4d7
MD5 357865ea92e0e0e61e9a94c3f9031a6a
BLAKE2b-256 a4c8cacdc67d5aecf564e2e1dc6f3a5a5d49c6387fc737c9320f9dba068ef646

See more details on using hashes here.

File details

Details for the file bolt_ta-0.3.7-py2.py3-none-any.whl.

File metadata

  • Download URL: bolt_ta-0.3.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for bolt_ta-0.3.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e73135beeea37c5f6cc106cf67f2711c13c0085e4d39825df19c9a0321358a1d
MD5 79d53046cc640ac9c9cd14632320f53a
BLAKE2b-256 313b0012dd71b0ab77c237b0ddf269977cd55667f4ea3c15e69449ad797bcc65

See more details on using hashes here.

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