Skip to main content

Core Google Sheets client and resolver for Skipper test-gating

Project description

skipper-core

Core Google Sheets client and resolver for the Skipper test-gating system.

This package contains the shared logic used by all Skipper framework integrations:

  • SkipperResolver — initialises from a Google Sheet and answers is_test_enabled(test_id)
  • SheetsClient — authenticates and fetches spreadsheet data
  • SheetsWriter — reconciles the spreadsheet in sync mode
  • CacheManager — cross-process cache sharing for parallel test runners
  • build_test_id / normalize_test_id — canonical test ID helpers
  • Credential types: FileCredentials, Base64Credentials, ServiceAccountCredentials

See the root README for full documentation.

Installation

pip install skipper-core

Usage

from skipper_core import SkipperConfig, SkipperResolver, FileCredentials

config = SkipperConfig(
    spreadsheet_id="YOUR_SPREADSHEET_ID",
    credentials=FileCredentials("./service-account.json"),
    sheet_name="skipper-python",
)

resolver = SkipperResolver(config)
resolver.initialize()

if not resolver.is_test_enabled("tests/test_auth.py > test_login"):
    pytest.skip("[skipper] Test disabled")

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

skipper_core-0.1.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

skipper_core-0.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file skipper_core-0.1.0.tar.gz.

File metadata

  • Download URL: skipper_core-0.1.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skipper_core-0.1.0.tar.gz
Algorithm Hash digest
SHA256 97e94fd9c2114ebf4be1cf980e5b7bc288bf2fea8dfdc5627802d38cfa73d34c
MD5 2cc3cc3c71ec685609734bcb50bbe1a9
BLAKE2b-256 3fb7be29ccccdab116a7fc0a92a4c6e56637e3ba15194146bc5661b96753461c

See more details on using hashes here.

File details

Details for the file skipper_core-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: skipper_core-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for skipper_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b1e4bbdf7222880b0212a3cf9404065ce5563e30ef5b9c7e70ee07c935ff5c0
MD5 352bf0ea89490b6b311aba81799066bf
BLAKE2b-256 8f6eacbef8dcbe67482b094b1b4c7c015e5dca7a7c77bcd74cc747e0ae723c84

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