Xyfra Data Platform partner SDK (Python)
Project description
xyfra-sdk
Python SDK for the Xyfra Data Platform partner surface.
Installation
pip install xyfra-sdk
Usage
import asyncio
from xyfra_sdk import XyfraClient, XyfraClientOptions
async def main():
client = XyfraClient(XyfraClientOptions(
base_url="https://api.xyfra.ai",
refresh_token="xyfra-rt-...",
tenant_id="tenant-123",
))
await client.refresh()
result = await client.call_tool("semantic.query", {"query": "..."})
print(result)
asyncio.run(main())
Codegen
The scripts/ directory contains generators that consume the partner OpenAPI,
GraphQL SDL, and MCP schema artefacts and emit typed clients under
xyfra_sdk/client/.
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 xyfra_sdk-1.0.0.tar.gz.
File metadata
- Download URL: xyfra_sdk-1.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf71851ce298e0ce32ea0be1902b169424f76939432befa34b24083414ba80a0
|
|
| MD5 |
e9693128b7d9528cf8a70f5d2a5f49f3
|
|
| BLAKE2b-256 |
17ef423632f28eb529e2b96430f85de1cf6ae9f4da45f169cc917e1bf89e6fb5
|
Provenance
The following attestation bundles were made for xyfra_sdk-1.0.0.tar.gz:
Publisher:
publish-sdk-python.yml on danielnie777/Data-Platform2.0
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyfra_sdk-1.0.0.tar.gz -
Subject digest:
bf71851ce298e0ce32ea0be1902b169424f76939432befa34b24083414ba80a0 - Sigstore transparency entry: 1943331571
- Sigstore integration time:
-
Permalink:
danielnie777/Data-Platform2.0@0de0181ebeb662e8eb0802f70e1b70dba9c357b0 -
Branch / Tag:
refs/tags/sdk-py/v1.0.0 - Owner: https://github.com/danielnie777
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
publish-sdk-python.yml@0de0181ebeb662e8eb0802f70e1b70dba9c357b0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file xyfra_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: xyfra_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
619b2347dcc842b1c1f87f37ed5c5ed9cec5c427ea216b5b245bac28eb1006ef
|
|
| MD5 |
9f06517dcd2c5599185fefac39b871f0
|
|
| BLAKE2b-256 |
f7e4c60139b6de534e9b3be77b334d64e99f343377740094a1b4565279829ac1
|
Provenance
The following attestation bundles were made for xyfra_sdk-1.0.0-py3-none-any.whl:
Publisher:
publish-sdk-python.yml on danielnie777/Data-Platform2.0
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
xyfra_sdk-1.0.0-py3-none-any.whl -
Subject digest:
619b2347dcc842b1c1f87f37ed5c5ed9cec5c427ea216b5b245bac28eb1006ef - Sigstore transparency entry: 1943331731
- Sigstore integration time:
-
Permalink:
danielnie777/Data-Platform2.0@0de0181ebeb662e8eb0802f70e1b70dba9c357b0 -
Branch / Tag:
refs/tags/sdk-py/v1.0.0 - Owner: https://github.com/danielnie777
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
publish-sdk-python.yml@0de0181ebeb662e8eb0802f70e1b70dba9c357b0 -
Trigger Event:
push
-
Statement type: