Skip to main content

Python client library for Sauce Labs API

Project description

sauceclient

Python client library for Sauce Labs API


About sauceclient

sauceclient is a Python client library for the Sauce Labs API. You can manage a test environment and retrieve test assets from Sauce Labs.

The API gives remote access to:

  • Test Jobs & Assets (Results, Logs, Videos, Screenshots)
  • Account
  • Platform Information
  • JavaScript Unit Tests
  • Temporary Storage
  • Tunnels

Note: sauceclient is not used for running tests on Sauce Labs' services. Test execution is handled by your testing tool or library (Selenium, Playwright, Cypress, Appium, etc).


About Sauce Labs

Sauce Labs is a cloud-based service for running remote browser-based tests. It has VM's with 800+ browser/OS combinations, allowing comprehensive cross-browser cross-platform test coverage.


Installation

pip install sauceclient

Example Usage

  • public access:
import sauceclient

sc = sauceclient.SauceClient()
status = sc.information.get_status()
  • with authorization:
import sauceclient

sc = sauceclient.SauceClient(
    "sauce-username",
    "sauce-access-key",
)
jobs = sc.jobs.get_jobs(full=True, limit=5)

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

sauceclient-1.0.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sauceclient-1.0.1-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file sauceclient-1.0.1.tar.gz.

File metadata

  • Download URL: sauceclient-1.0.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for sauceclient-1.0.1.tar.gz
Algorithm Hash digest
SHA256 02ce53a41bf78c49f21413b0d64953784ff559fcb12ffd076a25eafd5bb6abe9
MD5 56a42268c4917f981b157cdd9a6c9e3c
BLAKE2b-256 e77a25175cb5712f03311685dc4e22e99fa8c713d991e0885dd8e745c75547a0

See more details on using hashes here.

File details

Details for the file sauceclient-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: sauceclient-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for sauceclient-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3778289d3c26af473c2d8dfe54d71729c0e876a3ff404f91e8b6bb62ac43d9e7
MD5 0c35eac1772b41de0ac4af60c5e7d413
BLAKE2b-256 38c8afbeb2a8f9bf2448c41f61999c6f12fa31d37b3c7b16cb1b9a8349185244

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page