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.6.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 plainrouter 0.6.0
File Size Uploaded
plainrouter-0.6.0.tar.gz 85.1 kB Details

Built distribution (wheel)

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

Total release size: 378.1 kB

Release files / plainrouter-0.6.0.tar.gz

Download URL plainrouter-0.6.0.tar.gz
Size 85.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3e7cab3e31f505ef4ce2ea55eddc74ee72b0e90365c205020a2af0ad77c78c12
BLAKE2b-256 checksum
How to use checksums
8ba2e4fb9cb5e2dc37917d837545fe98f5b64974f65661cf050df02a935e8421
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 Sep 30, 2026.

Transparency log

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

Download URL plainrouter-0.6.0-py3-none-any.whl
Size 292.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d6f950af45bafc11a122a8dea5034a83afeb6415f1e0121f0ff249368042844a
BLAKE2b-256 checksum
How to use checksums
0916dc0c40434e4ca160dbdfeb98043a01589c0e78038bae1d467b219378c948
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 Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.2

2 release files

0.5.1

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