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.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


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.0.tar.gz (5.8 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.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

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

Hashes for xyfra_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bf71851ce298e0ce32ea0be1902b169424f76939432befa34b24083414ba80a0
MD5 e9693128b7d9528cf8a70f5d2a5f49f3
BLAKE2b-256 17ef423632f28eb529e2b96430f85de1cf6ae9f4da45f169cc917e1bf89e6fb5

See more details on using hashes here.

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

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.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

Hashes for xyfra_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 619b2347dcc842b1c1f87f37ed5c5ed9cec5c427ea216b5b245bac28eb1006ef
MD5 9f06517dcd2c5599185fefac39b871f0
BLAKE2b-256 f7e4c60139b6de534e9b3be77b334d64e99f343377740094a1b4565279829ac1

See more details on using hashes here.

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

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