Skip to main content

PlainRouter Python SDK and CLI

Generated from Plainrouter's signed OpenAPI contract. The package is in 0.x and its API may change between minor releases. No support guarantees are made yet.

Official project: plainrouter.com · documentation · source

Report Python SDK issues in the PlainRouter SDK issue tracker.

Install

python -m pip install plainrouter

Python 3.11 or newer is required.

For command-line use, install the same package in an isolated environment:

pipx install plainrouter
plainrouter --help

You can also run the CLI from an active Python environment with python -m plainrouter. The PyPI CLI provides the same command tree, config path, environment variables, JSON output, and safety prompts as @plainrouter/cli.

Use

from plainrouter import create_client, list_events

client = create_client("your-signal-tracker-secret")
response = list_events.sync(client=client)

Async operations are available through each operation module:

from plainrouter import create_client, get_event

client = create_client("your-signal-tracker-secret")
response = await get_event.asyncio(event="event-id", client=client)

The default API base is https://plainrouter.com/api/v1 and the default request timeout is 30 seconds. Pass base_url or an httpx.Timeout to create_client to override either setting. Credentials are supplied by the caller and are never embedded in the SDK.

Licensed under Apache-2.0.

Metadata

Release files for plainrouter 0.5.1

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

Source distribution (sdist)

Source distribution for plainrouter 0.5.1
File Size Uploaded
plainrouter-0.5.1.tar.gz 56.5 kB Details

Built distribution (wheel)

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

Total release size: 220.3 kB

Release files / plainrouter-0.5.1.tar.gz

Download URL plainrouter-0.5.1.tar.gz
Size 56.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4df3f99d886ff778baf0c1cfbbc2175039e2ef912884cf2c1877804f348a59ba
BLAKE2b-256 checksum
How to use checksums
7f68f7bd99aeebda912bae853583f8dc22f780faeb685ecb74626be4f2afbd6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 27, 2026.

Transparency log

Release files / plainrouter-0.5.1-py3-none-any.whl

Download URL plainrouter-0.5.1-py3-none-any.whl
Size 163.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aa22090b5c84ad7d6da5b1ea372db1cdd0b87e80c691fee370d4512ed0dbf2dc
BLAKE2b-256 checksum
How to use checksums
40c1cd46c9a28cd4b3b04c8430b03d2e9a0625daef7a639e560fc91d638bb6f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 27, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

0.5.2

2 release files

This release

0.5.1 This release

2 release files

0.5.0

2 release files

0.3.1

2 release files

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