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.2.tar.gz (11.2 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.2-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sauceclient-1.0.2.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for sauceclient-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cc4a7f265ed340d14b2fb49993a918786111cfcd9a42c7dc6953c70f7f9efdbd
MD5 d5f51596992e4f1c786ceeb2013b1eb1
BLAKE2b-256 e4d5190e19e8306eaa24dcbbfad346f7bdaf8dfc36fe255c16c73f37421da727

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sauceclient-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b8e61c9318ae7733df12e20f943c6c56adc9898f889e9b49637c879ad075bd3
MD5 0dcfd339b2ec7df1fbb689a8a58453d7
BLAKE2b-256 2957c29091fa2d3dee6cd3170a494373d82ae40be680ba435faaccbeb486afa9

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