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.
Timeouts
The client timeout is independent of the server's timeouts config section.
Resolution: constructor timeout, then the environment variable
MCP_PROXY_ADAPTER_HTTP_TIMEOUT, then 30.0 s; the CLI uses --timeout /
LMRS_LIVE_TIMEOUT. The server's vLLM call timeout (timeouts.runtime_seconds,
default 180 s) may be longer than the client default, so a long chat can end on
the client side first; raise the client timeout for such calls. info reports
the server's effective values in runtime_summary.timeouts.
Metadata
Release files for lmrs-client 0.1.41
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lmrs_client-0.1.41.tar.gz | 15.2 kB | Without provenance | Details for lmrs_client-0.1.41.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lmrs_client-0.1.41-py3-none-any.whl | Python 3 | none | any | Details for lmrs_client-0.1.41-py3-none-any.whl |
Total release size: 31.3 kB
Release files / lmrs_client-0.1.41.tar.gz
| Download URL | lmrs_client-0.1.41.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e7e74f466710f50c71da781ff384de53666d01f883ab699b590c4fc8316f485
|
|
BLAKE2b-256 checksum How to use checksums |
f66fd4d26b23b3ddd2f3342516fe7c2a8eb09f5ec2c75285ccf07cdd419795ab
|
| 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.41-py3-none-any.whl
| Download URL | lmrs_client-0.1.41-py3-none-any.whl |
|---|---|
| Size | 16.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9bab13b516e67bf5b22cc5157b899c089b9644aa4ff4fc9ad5df7db8126dea3
|
|
BLAKE2b-256 checksum How to use checksums |
ddc417c4044db7bef84edd6aa3cc893c9c48bbd2395a7863db31afb0e73e7473
|
| 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.41
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.