Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install bolt

How to install bolt

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install bolt
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.9 Available View build log
Linux (32-bit)
0.9 Available View build log
Linux (64-bit)
0.9 Available View build log
 
Author
License
Public Domain
Imports
Lastest release
version 0.9 on May 17th, 2011

Bolt lets you easily automate sysadmin tasks like deployment. You can use it to manage multi-server setups over SSH or even as a build tool. To use, simply create a Boltfile with your tasks, e.g.

System Message: WARNING/2 (<string>, line 7)

Literal block expected; none found.

from bolt.api import *

@task def deploy(): """publish the latest version of the app"""

with cd('/var/www/mysite.com'): run('git remote update') run('git checkout origin/master')

sudo("/etc/init.d/apache2 graceful")

And then, run the tasks from the command line, e.g.

$ bolt deploy

Bolt was initially developed as a fork of Fabric, but has since been extracted as a standalone tool without any of the historic baggage of the Fabric APIs.

Documentation

Bolt doesn't currently have any docs, but you can look at the introduction to the Fabric fork for details of how to use most of its features. Simply replace the references to fab and fabric with bolt:

  • `Fabric with Cleaner API and Parallel Deployment Support

    System Message: WARNING/2 (<string>, line 35); backlink

    Inline interpreted text or phrase reference start-string without end-string.

System Message: WARNING/2 (<string>, line 36)

Bullet list ends without a blank line; unexpected unindent.

<http://tav.espians.com/fabric-python-with-cleaner-api-and-parallel-deployment-support.html>`_

Contribute

To contribute any patches simply fork the repository on GitHub and send a pull request to https://github.com/tav, thanks!

License

The code derived from Fabric is contained within the bolt/fabcode.py file and is under the BSD license. The rest of the code has been released into the Public Domain. Do with it as you please.

-- Enjoy, tav <tav@espians.com>

Subscribe to package updates

Last updated May 17th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.