SaucyPy Documentation 0.6.0

SaucyPy Documentation Installation

Installation

To install SaucyPy, you can simply run pip install saucypy to automatically download the latest build.

Alternatively, you can clone the git repo available here and copy the saucypy directory into your project.

Usage

To import SaucyPy, simply copy saucypy.py into your project root and then from saucypy import SaucyPy

When using the library, you must create each sauce object with its own user credentials, like so:

sauceaccount = SaucyPy('SauceUser', 'SauceAPIKey')

Alternatively, if you have your credentials in the environment, such as when running in jenkins or storing configs in an SCM, you can import these by running:

sauceaccount = SaucyPy(os.environ['sauceuser'], os.environ['saucepass'])