Skip to main content

Pliqra Python client

Dependency-free Python 3.10+ client for the stable Pliqra Connection Protocol 1.0. Stable SDK 1.0.0 accompanies the Pliqra 2.2 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. Existing 0.1 clients remain compatible; 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 1.0.0

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 1.0.0
File Size Uploaded Provenance Actions
pliqra_client-1.0.0.tar.gz 10.2 kB With provenance Details for pliqra_client-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 22.1 kB

Release files / pliqra_client-1.0.0.tar.gz

Download URL pliqra_client-1.0.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
081f5c5b7f3a5fde8a2522b40f4a89d190f6888af55891a3e049d3d60d60749e
BLAKE2b-256 checksum
How to use checksums
4788c93fe7789ee12181fab3642825700b63990e434e785451f5a4966ed89c40
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 10, 2026.

Transparency log

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

Download URL pliqra_client-1.0.0-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c766ffffeaffce5f55ee7654b40294e57fd185a65087cc5e7ac4d5bb36067ecf
BLAKE2b-256 checksum
How to use checksums
3176cac9ffa762043f1f27dd498754a53dc5eff983542dd355f74027e36d91a0
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 10, 2026.

Transparency log

Security for pliqra-client 1.0.0

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-1.0.0.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 10, 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