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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

talocode_statuslane-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

talocode_statuslane-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file talocode_statuslane-0.1.0.tar.gz.

File metadata

  • Download URL: talocode_statuslane-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for talocode_statuslane-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9e9bf7cd41325ceed3365f6612745fa235cc058ed8cbbfbf9da987100f3e351d
MD5 d9a65c27f9e7d05f7e28c8376b663972
BLAKE2b-256 2eff8380f5ed821f5002349cb05973c4cc4d98cf4b45c08ad1bbe1de164eba54

See more details on using hashes here.

File details

Details for the file talocode_statuslane-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for talocode_statuslane-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dc500919a4a4d9e19160663d31fb2d3a2a22c8d32d6abb49140def49ac81833e
MD5 ac4a1dcc606a7abf855c8485816d22a9
BLAKE2b-256 edae96e9aa94fa8be5d537683f60bfc61f6555e0ec0f1d72eca63e5d9230554b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 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