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 answersis_test_enabled(test_id)SheetsClient— authenticates and fetches spreadsheet dataSheetsWriter— reconciles the spreadsheet in sync modeCacheManager— cross-process cache sharing for parallel test runnersbuild_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
Release history Release notifications | RSS feed
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-1.2.0.tar.gz
(9.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skipper_core-1.2.0.tar.gz.
File metadata
- Download URL: skipper_core-1.2.0.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85b86d224cfa5bf57db031b655ed61e827a6940cb1d0eaf115b67c057e11f1ed
|
|
| MD5 |
0b05d91eca9aba1ed5a38ecec733f342
|
|
| BLAKE2b-256 |
22a720ab4f438ea1e4fc44198e8a1f98e505074623e711a742a9713ce7b00c7d
|
File details
Details for the file skipper_core-1.2.0-py3-none-any.whl.
File metadata
- Download URL: skipper_core-1.2.0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.17 {"installer":{"name":"uv","version":"0.11.17","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a36379487d20f6746a7d07ad480edc1840803e7cc72f760ed082a7cefb3be186
|
|
| MD5 |
1891cb5579378b90226cc16753d7e5c4
|
|
| BLAKE2b-256 |
54e3d3c244c1620c83df2c464f68b2232675d0c8cfc5de048a7e01e94f31ec39
|