This module contains a client library for accessing Skytap's cloud API . This code was originally developed at DataXu and released as open source.
Please follow PEP-008 <http://www.python.org/dev/peps/pep-0008/>
_.
The best way to install the dxskytap
tool is to install direct from the
github using pip:
# Replace [TAG] with a dxskytap git ref (such as master)
$ pip install [email protected]:dataxu/dxskytap.git@[TAG]#egg=dxskytap
# Example
$ pip install [email protected]:dataxu/dxskytap.git@latest-stable#egg=dxskytap
To install, from this directory:
$ sudo python setup.py install
To authenticate this module expects your credentials to be found in a config file here ~/.skytap_config in the form:
[credentials]
username: <username>
password: <API token>
Note: your API token is found here: https://cloud.skytap.com/account
To run all tests, from this directory:
$ python setup.py nosetests
To run any individual tests, call nosetests directly. Refer to http://nose.readthedocs.org/en/latest/usage.html for details on using nose.
When you add a new test, be sure to add it as an import to all.py