Official Python client for the Hotdata API
Project description
hotdata
Official Python client for the Hotdata HTTP API: workspaces, connections, datasets, SQL queries, results, secrets, uploads, indexes, jobs, embedding providers, and workspace context.
The package is produced with OpenAPI Generator from the Hotdata OpenAPI spec.
Requirements
Python 3.9+
Install
From the repository:
pip install "git+https://github.com/hotdata-dev/sdk-python.git"
From a local checkout (editable):
pip install -e .
Tests
pytest
Authentication
The API uses Bearer JWTs and an X-Workspace-Id header on requests that are scoped to a workspace.
import hotdata
configuration = hotdata.Configuration(
access_token="YOUR_ACCESS_TOKEN",
api_key={"WorkspaceId": "YOUR_WORKSPACE_ID"},
)
host defaults to https://app.hotdata.dev. Override it if you target another environment.
Usage
import hotdata
from hotdata.rest import ApiException
configuration = hotdata.Configuration(
access_token="YOUR_ACCESS_TOKEN",
api_key={"WorkspaceId": "YOUR_WORKSPACE_ID"},
)
with hotdata.ApiClient(configuration) as api_client:
workspaces = hotdata.WorkspacesApi(api_client)
try:
response = workspaces.list_workspaces()
except ApiException as e:
print(f"API error: {e.status} {e.reason}\n{e.body}")
Each Api class groups endpoints by resource. Construct the client, then call the typed methods you need.
API reference
Generated Markdown for every operation and model is in docs/:
- Resource APIs:
docs/*Api.md(for exampledocs/QueryApi.md) - Request and response models:
docs/<ModelName>.md
Use your editor or GitHub file search there instead of duplicating large tables in this file.
Support
Questions and issues: github.com/hotdata-dev/sdk-python.
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
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 hotdata-0.0.1.tar.gz.
File metadata
- Download URL: hotdata-0.0.1.tar.gz
- Upload date:
- Size: 93.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46878d9a852c9d5d6463efc324ad3a42ec70267ff6ef1f1242ff812efd840f6e
|
|
| MD5 |
42626aad871df00d460062a670ae15e0
|
|
| BLAKE2b-256 |
f6b9bb661f2390dfcc703cbe13b1ac99a1e1212b104c8a405e2ee2b7cf1f7ba1
|
Provenance
The following attestation bundles were made for hotdata-0.0.1.tar.gz:
Publisher:
publish.yml on hotdata-dev/sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hotdata-0.0.1.tar.gz -
Subject digest:
46878d9a852c9d5d6463efc324ad3a42ec70267ff6ef1f1242ff812efd840f6e - Sigstore transparency entry: 1383312237
- Sigstore integration time:
-
Permalink:
hotdata-dev/sdk-python@dcf76fea9beabb9ab62de3b6ba8a770ba67b7167 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/hotdata-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dcf76fea9beabb9ab62de3b6ba8a770ba67b7167 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hotdata-0.0.1-py3-none-any.whl.
File metadata
- Download URL: hotdata-0.0.1-py3-none-any.whl
- Upload date:
- Size: 230.7 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 |
6e94e985bab88b8548ba40c89146f1dcd7346b798cd31735cc5b181442f93714
|
|
| MD5 |
b4c6d0fff10e4c5e323884bf75cbb2ae
|
|
| BLAKE2b-256 |
2444e79f395c2a2071918b21c9be36a8c23cb298eddcf4428ac46cea6675c36b
|
Provenance
The following attestation bundles were made for hotdata-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on hotdata-dev/sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hotdata-0.0.1-py3-none-any.whl -
Subject digest:
6e94e985bab88b8548ba40c89146f1dcd7346b798cd31735cc5b181442f93714 - Sigstore transparency entry: 1383312241
- Sigstore integration time:
-
Permalink:
hotdata-dev/sdk-python@dcf76fea9beabb9ab62de3b6ba8a770ba67b7167 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/hotdata-dev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dcf76fea9beabb9ab62de3b6ba8a770ba67b7167 -
Trigger Event:
release
-
Statement type: