Skip to main content

lmrs-client

Client library and CLI for the Local Model Runtime Service (LMRS).

Each client method mirrors one public LMRS command. Transport, TLS and error mapping are handled by the client; callers never build URLs or JSON-RPC payloads.

Install

pip install lmrs-client

Usage

import asyncio
from lmrs_client import LmrsClient

async def main():
    client = LmrsClient(host="lmrs", port=8012, protocol="https", ca="/etc/lmrs/ca.crt")
    info = await client.current_model()
    print(info["model"], info["context_window"])

asyncio.run(main())

current_model() reports the model the running vLLM serves and its context window.

Command line

lmrs-client --help

Each client method is a subcommand; the exit status follows the command verdict.

Metadata

Release files for lmrs-client 0.1.31

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

Source distribution (sdist)

Source distribution for lmrs-client 0.1.31
File Size Uploaded Provenance Actions
lmrs_client-0.1.31.tar.gz 9.9 kB Without provenance Details for lmrs_client-0.1.31.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lmrs-client 0.1.31
File Interpreter ABI Platform Actions
lmrs_client-0.1.31-py3-none-any.whl Python 3 none any Details for lmrs_client-0.1.31-py3-none-any.whl

Total release size: 20.8 kB

Release files / lmrs_client-0.1.31.tar.gz

Download URL lmrs_client-0.1.31.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a7fde6f216602965138e5514f67e94ed1da604b3faa428c8beab8f71c54b6593
BLAKE2b-256 checksum
How to use checksums
7ea40db594f681156e8ef6acd7f1858912582b6a648d635c2ff33d3773dcdbf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / lmrs_client-0.1.31-py3-none-any.whl

Download URL lmrs_client-0.1.31-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f72373111d79f4eae49e0f43b5192ce9720f04fb1443c45782a171a638de0c2
BLAKE2b-256 checksum
How to use checksums
229c2e60844fb88f884fea0900b2e552c01b0311382e77eb7dd3925e10b7efa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for lmrs-client 0.1.31

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.31 This release

2 release files No provenance

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