Metadata-Version: 2.1
Name: saucebindings
Version: 1.3.0
Summary: Sauce Labs Python bindings library
Home-page: https://github.com/saucelabs/sauce_bindings/
Author: josh.grant
Author-email: josh.grant@saucelabs.com
License: MIT
Download-URL: https://github.com/saucelabs/sauce_bindings/archive/v_100.tar.gz
Keywords: Sauce Labs,testing,selenium
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Description-Content-Type: text/x-rst

Sauce Labs Python Bindings
==========================

Hello, welcome to the Sauce Python bindings! Let's make using Sauce Labs Simple!

Example Usage
--------------

The goal of the Sauce bindings is to provide a straightforward approach to connecting your automated scripts to Sauce. Here's an example. The Sauce Python bindings can be used like this:


    from saucebindings.session import SauceSession
    
    session = SauceSession()
    
    driver = session.driver
    driver.get("www.saucedemo.com")
    
    session.stop(True)

Requirements
-------------

Set your Sauce username and Sauce access key as `environment variables <https://pip.pypa.io/en/stable/>`_.

Installation
-------------

Clone this project to build from source

    git clone https://github.com/saucelabs/sauce_bindings

    python setup.py install

or install from pip_

    pip install saucebindings


Development
-------------

This project will be developed initially in Python 3.x so please create a `virtual environment <https://pip.pypa.io/en/stable/>`_:


    python3 -m venv venv

    source venv/bin/activate

To install dependencies, do the following:

    pip install -r requirements.txt


Testing
---------

To run all tests, run the following:

    pytest


.. _pip: https://pip.pypa.io/en/stable/

Package and Release
-------------------

    python setup.py sdist
    twine check dist/*
    twine upload dist/*

