ThousandEyes SDK Core
Project description
thousandeyes-sdk-core
This package provides core functionality for interacting with the ThousandEyes API and should be installed before using any of the published SDKs.
PaginationIterable is unbounded, so wrap it with itertools.islice to cap the number of items and avoid making unintended, potentially expensive API calls.
Pick a slice size that matches your UI or batch size so you only fetch what you plan to process:
from thousandeyes_sdk.core import Configuration, ApiClient, PaginationIterable
from thousandeyes_sdk.dashboards import DashboardsApi
from itertools import islice
configuration = Configuration(
host = "https://api.thousandeyes.com/v7",
access_token = "an_access_token",
)
def get_dashboard_widget_data():
with ApiClient(configuration) as client:
dashboards_api = DashboardsApi(client)
for item in list(islice(PaginationIterable(
dashboards_api.get_dashboard_widget_data,
lambda response: response.data.tests,
dashboard_id="a_dashboard_id",
widget_id="a_widget_id",
), 20)):
print(item.test_id)
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
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 thousandeyes_sdk_core-2.24.0.tar.gz.
File metadata
- Download URL: thousandeyes_sdk_core-2.24.0.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c57ff113f41329b211a5f872d2614d39cd398415663a65e1fc7b3643da1d67f
|
|
| MD5 |
99b9a00c8b04048bf9fe1753d9c20e16
|
|
| BLAKE2b-256 |
4165a59e518a001f0ca4b0519a3bc21d6a1cf8c3c4ed5f1523f8f0dfbf5f1034
|
Provenance
The following attestation bundles were made for thousandeyes_sdk_core-2.24.0.tar.gz:
Publisher:
release.yaml on thousandeyes/thousandeyes-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
thousandeyes_sdk_core-2.24.0.tar.gz -
Subject digest:
4c57ff113f41329b211a5f872d2614d39cd398415663a65e1fc7b3643da1d67f - Sigstore transparency entry: 863249231
- Sigstore integration time:
-
Permalink:
thousandeyes/thousandeyes-sdk-python@06c43bb06e3804df165153cc69fd6655b7c88f82 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/thousandeyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@06c43bb06e3804df165153cc69fd6655b7c88f82 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file thousandeyes_sdk_core-2.24.0-py3-none-any.whl.
File metadata
- Download URL: thousandeyes_sdk_core-2.24.0-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23becc2481f8f390e82bb53cb27e6455d57a08f274555d78f01b590e27205544
|
|
| MD5 |
fd31a51a47459ccc5716d6143e45dd18
|
|
| BLAKE2b-256 |
49ae015e937beffc7a796f2d88bf679f6522c4f2f89d78a9ddabfb99d275ef96
|
Provenance
The following attestation bundles were made for thousandeyes_sdk_core-2.24.0-py3-none-any.whl:
Publisher:
release.yaml on thousandeyes/thousandeyes-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
thousandeyes_sdk_core-2.24.0-py3-none-any.whl -
Subject digest:
23becc2481f8f390e82bb53cb27e6455d57a08f274555d78f01b590e27205544 - Sigstore transparency entry: 863249254
- Sigstore integration time:
-
Permalink:
thousandeyes/thousandeyes-sdk-python@06c43bb06e3804df165153cc69fd6655b7c88f82 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/thousandeyes
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@06c43bb06e3804df165153cc69fd6655b7c88f82 -
Trigger Event:
workflow_dispatch
-
Statement type: