Skip to main content

meshrouter

Python SDK for the MESH Router API.

from meshrouter import MeshClient

client = MeshClient(api_key="mesh_live_...")
response = client.create_chat_completion(
    model="auto",
    messages=[{"role": "user", "content": "route this"}],
    stream=True,
)

for event in client.iter_sse(response.data):
    print(event.event, event.data)

The client defaults to https://api.meshrouter.app/v1 and sends MESH bearer API keys when api_key is provided. Accountless x402 challenge creation can be called without a key.

Operations helpers are included for accounts, API-key limits, usage, logs, receipts, provider health/configuration, monitoring summaries, and payment intent lifecycle calls.

Metadata

Release files for meshrouter 0.2.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 meshrouter 0.2.0
File Size Uploaded Provenance Actions
meshrouter-0.2.0.tar.gz 5.8 kB Without provenance Details for meshrouter-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for meshrouter 0.2.0
File Interpreter ABI Platform Actions
meshrouter-0.2.0-py3-none-any.whl Python 3 none any Details for meshrouter-0.2.0-py3-none-any.whl

Total release size: 10.8 kB

Release files / meshrouter-0.2.0.tar.gz

Download URL meshrouter-0.2.0.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bf252590df31a61d7894aa86ae6771a2a4e1c18567739fac79a8437082055009
BLAKE2b-256 checksum
How to use checksums
6a07aee0d7a93baf2e5932247b43879a8bee49bde677f070e9f4ee1cb298bc21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / meshrouter-0.2.0-py3-none-any.whl

Download URL meshrouter-0.2.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
987b54d5bedb33a76c626b9a5fd097958db13c1032d256eb4ea6612f6c0a52f4
BLAKE2b-256 checksum
How to use checksums
ae926d2ce18c845de0289a15c67804f79b6041c5f46dc9f295d28acf52d24342
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for meshrouter 0.2.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.

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.2.0 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