Skip to main content

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.tools.call("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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xyfra_sdk-1.0.1.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

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

xyfra_sdk-1.0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file xyfra_sdk-1.0.1.tar.gz.

File metadata

  • Download URL: xyfra_sdk-1.0.1.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for xyfra_sdk-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8d20a18a33e7d1affab8809407f6b5091351c184dc7ad79eb2826502af565110
MD5 9b3e95c7a04b6fb0b44d9f2e39f66e75
BLAKE2b-256 aa992066be3fa82bac4f0a8690136d87d73691ae7e27e13799b12a5d5c223e3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyfra_sdk-1.0.1.tar.gz:

Publisher: publish-sdk-python.yml on danielnie777/Data-Platform2.0

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xyfra_sdk-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: xyfra_sdk-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for xyfra_sdk-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 db7adf8324cc3f23b1fcee950cd7b138e75c7cf9f4967f11bf31bc338b57d753
MD5 b7aeaaec6dba42b6bd6c3cee20284040
BLAKE2b-256 fe9672afb02eec33016c107d1fb19f1c518fee220b595ea3e7a623fc95928df3

See more details on using hashes here.

Provenance

The following attestation bundles were made for xyfra_sdk-1.0.1-py3-none-any.whl:

Publisher: publish-sdk-python.yml on danielnie777/Data-Platform2.0

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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