fabric-threadsafe

Monkeypatch script to make Fabric thread-safe


License
Apache-2.0
Install
pip install fabric-threadsafe==0.1.0

Documentation

Fabric thread-safe

https://api.travis-ci.org/bancek/fabric-threadsafe.png

This module will monkeypatch fabric to use DictProxy for fabric.api.env to use thread local storage.

Installation

pip install fabric_threadsafe

Usage

Import patch function from fabric_threadsafe and call it before any other Fabric imports.

from fabric_threadsafe import patch
patch()

from fabric.api import env, run, cd

Testing

Use nose framework for testing.

pip install nose
nosetests