Skip to main content

Kiota-generated Python SDK for RIXL.

Project description

RIXL Python SDK

The official Python client for the RIXL API.

PyPI Python

InstallationQuick startAuthenticationResourcesPaginationErrors

Features

  • Typed fluent API generated from the RIXL OpenAPI spec
  • Async-first — every call is awaitable
  • Pre-mapped error responses for 400, 401, 403, 404, and 500
  • Pluggable RequestAdapter and authentication providers
  • Support for JSON, form, multipart, and plain-text payloads

Requirements

  • Python 3.10+
  • A RIXL API key

Installation

pip install rixl-python

microsoft-kiota-bundle is pulled in as a dependency and provides the HTTP transport, serializers, and RequestAdapter implementation.

Quick start

import asyncio

from kiota_abstractions.authentication.api_key_authentication_provider import (
    ApiKeyAuthenticationProvider, KeyLocation,
)
from kiota_http.httpx_request_adapter import HttpxRequestAdapter

from rixl_client import RixlClient


async def main() -> None:
    auth = ApiKeyAuthenticationProvider(
        api_key="YOUR_RIXL_API_KEY",
        parameter_name="X-API-Key",
        key_location=KeyLocation.Header,
    )
    adapter = HttpxRequestAdapter(auth)
    client = RixlClient(adapter)

    image = await client.images.by_image_id("PS5IMKoFLm").get()
    print(image.id, image.width, image.height)


asyncio.run(main())

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

rixl_python-0.2.1.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

rixl_python-0.2.1-py3-none-any.whl (67.8 kB view details)

Uploaded Python 3

File details

Details for the file rixl_python-0.2.1.tar.gz.

File metadata

  • Download URL: rixl_python-0.2.1.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rixl_python-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0c0b26dadb613f34d5358cf1017f8fd36a9911f503909435c041a4d410b424cf
MD5 742d0cd7a9e48588654b3fa8245d7e08
BLAKE2b-256 caa6158874f68602c76fc89794b3fa4b24d19ea80253a9400ddad8b3cce53cc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for rixl_python-0.2.1.tar.gz:

Publisher: release.yml on rixlhq/rixl-python

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

File details

Details for the file rixl_python-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: rixl_python-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 67.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for rixl_python-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e026516de911a9e481413913691bfa1203ce28e488f3b1a3db55b083d6dc694
MD5 ea3050260144bd387ad2f1e6e64288b0
BLAKE2b-256 1e16a20e42b936745a34b9c2148592f4d8f72f72fd139db03a95c60d6e8b7847

See more details on using hashes here.

Provenance

The following attestation bundles were made for rixl_python-0.2.1-py3-none-any.whl:

Publisher: release.yml on rixlhq/rixl-python

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