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.
Metadata
Release files for fabrant 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fabrant-0.0.6.tar.gz | 2.4 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fabrant-0.0.6-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
| fabrant-0.0.6-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 10.0 kB
Release files / fabrant-0.0.6.tar.gz
| Download URL | fabrant-0.0.6.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e3e2301faf92a2519e5f4304c3f9167103ed8182a0d58c1b0cf40849f44d739
|
|
BLAKE2b-256 checksum How to use checksums |
9b3e28deba0237c693c0962b6c36e36f3de7da07f83b06cf37f8e9377af658bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fabrant-0.0.6-py2.py3-none-any.whl
| Download URL | fabrant-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
183bcd917008c3965c00e28ec01532ab097af6dfe4a3bd95fc0f661747bb991a
|
|
BLAKE2b-256 checksum How to use checksums |
9c8733e916a213b2750d7cb8628f5557022a126ec1084fef618bd48a04c488fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / fabrant-0.0.6-py2.7.egg
| Download URL | fabrant-0.0.6-py2.7.egg |
|---|---|
| Size | 3.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
32e61a03ca1b13f19f5b3d45c98f8f2f6754ec022244b62679e5ba393cd91df1
|
|
BLAKE2b-256 checksum How to use checksums |
8df78a7ab1adbd8768a48871d6586dbaaf91fc8eb2932a3ae5c0582c1aa19219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |