Installation¶
Prerequisites: CloudBridge runs on Python 2.7 and higher. Python 3 is recommended.
We highly recommend installing CloudBridge in a virtualenv. Creating a new virtualenv is simple:
pip install virtualenv
virtualenv .venv
source .venv/bin/activate
Latest stable release¶
The latest release of CloudBridge can be installed from PyPI:
pip install cloudbridge
Latest unreleased dev version¶
The development version of the library can be installed directly from the GitHub repo:
$ pip install --upgrade git+https://github.com/CloudVE/cloudbridge.git
Developer installation¶
To install additional libraries required by CloudBridge contributors, such as tox, clone the source code repository and run the following command from the repository root directory:
$ git clone https://github.com/CloudVE/cloudbridge.git
$ cd cloudbridge
$ pip install --upgrade --editable .[dev]
Checking installation¶
To check what version of the library you have installed, do the following:
import cloudbridge
cloudbridge.get_version()