Skip to main content

kiapi-relay

English | 日本語

Shared relay transport for kiapi. It provides the relay protocol, the request/response schemas, the in-process request runner, and a client for issuing requests to a kiapi instance over a relay.

This package is platform-agnostic and is depended on by both kiapi (the server side, which runs the relay runner) and kiapi-proxy (the client side, which forwards HTTP requests over a relay).

Installation

pip install kiapi-relay

# With the GCP relay backend
pip install "kiapi-relay[gcp]"

Backends

Module Description Extra
kiapi_relay.impl.local Filesystem-backed relay for local development and verification.
kiapi_relay.impl.gcp GCP relay (GCS payloads + Firebase Realtime Database notifications). gcp

Usage

from kiapi_relay import RelayRequest, RelayResponse, relay_registry

# Resolve a configured relay and issue a request over it.
relay = relay_registry.get("local")
response: RelayResponse = await relay.request(
    RelayRequest(method="GET", path="/health")
)

See the kiapi documentation for the full relay architecture.

License

MIT

Download files

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

Source Distribution

kiapi_relay-0.5.2.tar.gz (32.4 kB view details)

Uploaded Source

Built Distribution

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

kiapi_relay-0.5.2-py3-none-any.whl (42.2 kB view details)

Uploaded Python 3

File details

Details for the file kiapi_relay-0.5.2.tar.gz.

File metadata

  • Download URL: kiapi_relay-0.5.2.tar.gz
  • Upload date:
  • Size: 32.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for kiapi_relay-0.5.2.tar.gz
Algorithm Hash digest
SHA256 3a120effc895e3597aec3c5bba45899d0d17b94820e5d136cd6679197eb45471
MD5 da8561a8c65f43065bb8bf8f3b959514
BLAKE2b-256 67026a78bf73a6b0f0861587bb4a7869f9186afab864e3409d110ae26e115493

See more details on using hashes here.

Provenance

The following attestation bundles were made for kiapi_relay-0.5.2.tar.gz:

Publisher: release-pypi.yml on kiarina/kiapi

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

File details

Details for the file kiapi_relay-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: kiapi_relay-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 42.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for kiapi_relay-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 740d805f81c32226e0df7157756ad56d43d0f5dd4f63526821ff4627af4def12
MD5 39a60b29dbc94e45caae266b4a5a8204
BLAKE2b-256 f478d3169e9a4bcd8f8fc3ae4f36440c935240f1825726a8059c4083c69e3dba

See more details on using hashes here.

Provenance

The following attestation bundles were made for kiapi_relay-0.5.2-py3-none-any.whl:

Publisher: release-pypi.yml on kiarina/kiapi

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

Release history Release notifications | RSS feed

This release

0.5.2 This release

2 files

0.3.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page