Skip to main content

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.6.tar.gz (2.4 kB view details)

Uploaded Source

Built Distributions

fabrant-0.0.6-py2.py3-none-any.whl (3.8 kB view details)

Uploaded Python 2 Python 3

fabrant-0.0.6-py2.7.egg (3.8 kB view details)

Uploaded Source

File details

Details for the file fabrant-0.0.6.tar.gz.

File metadata

  • Download URL: fabrant-0.0.6.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fabrant-0.0.6.tar.gz
Algorithm Hash digest
SHA256 5e3e2301faf92a2519e5f4304c3f9167103ed8182a0d58c1b0cf40849f44d739
MD5 c18cd5832061ecd49777ed06aebca7b1
BLAKE2b-256 9b3e28deba0237c693c0962b6c36e36f3de7da07f83b06cf37f8e9377af658bb

See more details on using hashes here.

File details

Details for the file fabrant-0.0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fabrant-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 183bcd917008c3965c00e28ec01532ab097af6dfe4a3bd95fc0f661747bb991a
MD5 2b1252b47a17b6f8e4d8836d3ed79e28
BLAKE2b-256 9c8733e916a213b2750d7cb8628f5557022a126ec1084fef618bd48a04c488fe

See more details on using hashes here.

File details

Details for the file fabrant-0.0.6-py2.7.egg.

File metadata

  • Download URL: fabrant-0.0.6-py2.7.egg
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fabrant-0.0.6-py2.7.egg
Algorithm Hash digest
SHA256 32e61a03ca1b13f19f5b3d45c98f8f2f6754ec022244b62679e5ba393cd91df1
MD5 fdbc139c0c45d9a3e1f4e2574ad1f628
BLAKE2b-256 8df78a7ab1adbd8768a48871d6586dbaaf91fc8eb2932a3ae5c0582c1aa19219

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