Skip to main content

Pliqra Python client

Dependency-free Python 3.10+ client for the draft Pliqra discovery/binding protocol. Stable SDK 0.1.1 accompanies the Pliqra 2.1 gateway; SDK versions have their own lifecycle.

python -m pip install pliqra-client
import os
from pliqra_client import Pliqra, ContractChanged

client = Pliqra("http://localhost:8088", os.environ["PLIQRA_API_KEY"])
connection = client.connect("support", ["chat", "streaming"])
for chunk in connection.stream([{"role": "user", "content": "Hello"}]):
    for choice in chunk.get("choices", []):
        print(choice.get("delta", {}).get("content", ""), end="", flush=True)

Changed contracts raise ContractChanged (HTTP 409); rediscover and bind explicitly. Credentials are not forwarded across redirects. Incomplete streams raise an error. Embeddings/audio operations and durable batches use the same binding. An organization uses its /org/slug base URL.

pliqra-client --help and pliqra-conformance --help expose the included CLIs. Conformance performs no model call unless --invoke is supplied. Set PLIQRA_API_KEY through your secret environment rather than a command argument.

See Pliqra, protocol and client documentation. The protocol remains a draft; a passing core profile is not vendor certification or a guarantee of model quality. Licensed under Apache-2.0.

Metadata

Release files for pliqra-client 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pliqra-client 0.1.1
File Size Uploaded Provenance Actions
pliqra_client-0.1.1.tar.gz 9.7 kB With provenance Details for pliqra_client-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pliqra-client 0.1.1
File Interpreter ABI Platform Actions
pliqra_client-0.1.1-py3-none-any.whl Python 3 none any Details for pliqra_client-0.1.1-py3-none-any.whl

Total release size: 20.9 kB

Release files / pliqra_client-0.1.1.tar.gz

Download URL pliqra_client-0.1.1.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
88e5ae265e7b0c21f39fdf3ea0daf61ada576dee07b96bf987ca260fe51bdc29
BLAKE2b-256 checksum
How to use checksums
abf154ba3fe1185da91f67b5876a3dd7dd5f8b12be299a9898ba4f76455abbaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / pliqra_client-0.1.1-py3-none-any.whl

Download URL pliqra_client-0.1.1-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba3b8579bfd73ebfca3ac2f08d29ae1c71e1dec3aa129fdcb2e8b67b8327147c
BLAKE2b-256 checksum
How to use checksums
baa6f96577807f2d6cff5f13873808ccfb7d54e6f0a15cc4ac43d7b08857f738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for pliqra-client 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pliqra_client-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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