Easy handling of vagrant hosts within fabric
Project description
Easy handling of vagrant hosts within fabric
Installation
Easy as py(pi):
$ pip install --upgrade fabrant
From git source:
$ git clone https://github.com/constantinius/fabrant.git
$ cd fabrant
$ python setup.py install
Usage
Using fabrant within a fabric script is easy:
from fabrant import vagrant
# specify path for vagrant dir. Start the box if it is not already running.
# Halt the box when context is closed.
with vagrant("path/to/dir", up=True, halt=True):
run("ls /vagrant") # prints contents of usually enabled share
Contribute
Report any issues you find here or create pull requests.
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
fabrant-0.0.5.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file fabrant-0.0.5.tar.gz
.
File metadata
- Download URL: fabrant-0.0.5.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c7a15e5b609985ba963771ea2137badba08be35873cfd96e1d00512b9994254 |
|
MD5 | 80d33d6cf76bf8fafd602461aae5d581 |
|
BLAKE2b-256 | 94890c75ad024e2f158fdc4faa9624ca20c4821c1d574ab1c2253b28fff65ff7 |
File details
Details for the file fabrant-0.0.5-py2.py3-none-any.whl
.
File metadata
- Download URL: fabrant-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b23e3a3b366242537d8fb0ecf9344f4fd297e85b6523c7849cea1ee79ca40c7 |
|
MD5 | 6525adfa3620e0ef25469bfe307356bb |
|
BLAKE2b-256 | b242f3a58cb6a2fe1742d16f4a8796e659e5928eb4de95351a9cc4a8cfb37a3d |