Skip to main content

StatusLane Python SDK

StatusLane is open-source uptime monitoring and incident tracking for developers and agents. It turns endpoint failures into explicit checks, incidents, and a recovery history instead of waiting for users to report an outage.

Run monitoring locally with the open-source CLI, then use Talocode Cloud when you need managed schedules, alert routing, long-term history, and team operations.

Install

pip install talocode-statuslane

Quickstart

from statuslane import StatusLaneClient

client = StatusLaneClient(api_key="your-key")
monitor = client.create_monitor("Tera", "https://teraai.chat")
print(client.check_monitor(monitor["id"]))

Authentication

Set these environment variables for cloud calls:

export TALOCODE_API_KEY=your-key
export TALOCODE_BASE_URL=https://api.talocode.site

The client uses https://api.talocode.site by default and sends Authorization: Bearer $TALOCODE_API_KEY.

Client methods

client.health()
client.pricing()
client.capabilities()
client.create_monitor("API", "https://api.talocode.site/v1/statuslane/health")
client.list_monitors()
client.get_monitor("monitor-id")
client.check_monitor("monitor-id")
client.history("monitor-id")
client.open_incident("monitor-id", "Endpoint is unavailable")
client.resolve_incident("incident-id")

Hosted API

Method Path Purpose
GET /v1/statuslane/health Service health
GET /v1/statuslane/pricing Pricing data
GET /v1/statuslane/capabilities Supported operations
POST /v1/statuslane/monitors Create monitor
GET /v1/statuslane/monitors List monitors
POST /v1/statuslane/monitors/:id/check Run check
GET /v1/statuslane/monitors/:id/history Check history
POST /v1/statuslane/monitors/:id/incident Open incident
POST /v1/statuslane/incidents/:id/resolve Resolve incident

CLI

The npm package provides the local statuslane CLI and statuslane-mcp server. Install it with npm install -g @talocode/statuslane for local self-hosted checks.

Talocode ecosystem

Project Package
StatusLane pip install talocode-statuslane (this package)
Tera pip install talocode-tera
Codra pip install talocode-codra
VerifyLane pip install talocode-verifylane
TraceLane pip install talocode-tracelane
StackLane pip install talocode

More: github.com/talocode · talocode.site · docs.talocode.site

MIT © Talocode

Metadata

Release files for talocode-statuslane 0.1.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 talocode-statuslane 0.1.0
File Size Uploaded
talocode_statuslane-0.1.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for talocode-statuslane 0.1.0
File Interpreter ABI Platform
talocode_statuslane-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / talocode_statuslane-0.1.0.tar.gz

Download URL talocode_statuslane-0.1.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9e9bf7cd41325ceed3365f6612745fa235cc058ed8cbbfbf9da987100f3e351d
BLAKE2b-256 checksum
How to use checksums
2eff8380f5ed821f5002349cb05973c4cc4d98cf4b45c08ad1bbe1de164eba54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / talocode_statuslane-0.1.0-py3-none-any.whl

Download URL talocode_statuslane-0.1.0-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc500919a4a4d9e19160663d31fb2d3a2a22c8d32d6abb49140def49ac81833e
BLAKE2b-256 checksum
How to use checksums
edae96e9aa94fa8be5d537683f60bfc61f6555e0ec0f1d72eca63e5d9230554b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

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