Skip to main content

mwps-client

Official Python client for the mwps server. MwpsClient is the single entry point: it hides transport selection, TLS material, proxy routing, request correlation and error mapping behind one typed async method per mwps command (see mwps_client/mwps_client/client.py).

Model access

mwps-client talks only to mwps itself, never to a model. The mwps server it calls never talks to a model directly either: macsc (Model Access Core) is the sole gateway for model access, reached exclusively through macsc's own client, macore_client.MacClient (package macore-client). See the server's info command (overview section) or src/mwps/docs/overview.md in the server repository for the full rule.

Installation

pip install mwps-client

Usage

import asyncio
from mwps_client import MwpsClient

async def main():
    client = MwpsClient(base_url="https://<host>:8015", ca="/path/to/ca.crt")
    result = await client.invoke_tool(tool_name="list_servers")
    print(result)

asyncio.run(main())

Version lockstep

mwps-client carries no version of its own: its published version is always identical to the mwps server version it was generated against (C-068, ClientServerVersionLockstep). Both packages read the same repository-root VERSION file — mwps_client/VERSION is a symlink to ../VERSION — so a client published from a given deploy always matches the server it talks to. See pipeline/README.md for the release process that keeps the two in lockstep.

Metadata

Release files for mwps-client 0.1.13

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

Source distribution (sdist)

Source distribution for mwps-client 0.1.13
File Size Uploaded Provenance Actions
mwps_client-0.1.13.tar.gz 6.5 kB Without provenance Details for mwps_client-0.1.13.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mwps-client 0.1.13
File Interpreter ABI Platform Actions
mwps_client-0.1.13-py3-none-any.whl Python 3 none any Details for mwps_client-0.1.13-py3-none-any.whl

Total release size: 13.3 kB

Release files / mwps_client-0.1.13.tar.gz

Download URL mwps_client-0.1.13.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8d467eb794080fdf77537a5ae756c080d5427acd5d7c9efb1f46c4caeb3c4cb0
BLAKE2b-256 checksum
How to use checksums
9c0597ab8a9637e9546f7a2100f512c2b27db895d5f98b28b63e136a0241d198
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / mwps_client-0.1.13-py3-none-any.whl

Download URL mwps_client-0.1.13-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fba27a78db6714cefb97e5d24067e3f5b75928af7614f038a1238dbda3083d5c
BLAKE2b-256 checksum
How to use checksums
3478b28c6b99f63e846cf1873e2b017b4902c78c706f39421e416ba8d8aeff95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for mwps-client 0.1.13

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.

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