Skip to main content

Pilot Python SDK

pip install pilot-sdk

Usage

from pilot_sdk import Pilot

pilot = Pilot("pk_your_api_key")
pilot.send("prod_errors", "Deploy failed on server 3")

Error handling

from pilot_sdk import Pilot, AuthError, RateLimitError, PaymentRequiredError, PilotError

pilot = Pilot("pk_your_api_key")

try:
    pilot.send("prod_errors", "Deploy failed")
except AuthError:
    print("Invalid API key")
except RateLimitError:
    print("Slow down — max 20 msg/sec per destination")
except PaymentRequiredError:
    print("Trial limit reached or subscription cancelled")
except PilotError as e:
    print(f"Error {e.status_code}: {e}")

Metadata

Release files for pilot-sdk 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 pilot-sdk 0.2.0
File Size Uploaded Provenance Actions
pilot_sdk-0.2.0.tar.gz 2.3 kB With provenance Details for pilot_sdk-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.2 kB

Release files / pilot_sdk-0.2.0.tar.gz

Download URL pilot_sdk-0.2.0.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1cb109c8de8da95bb0bc5966fd5efbf87c5dc82b8031dc14f67e5e9eeed6f6ea
BLAKE2b-256 checksum
How to use checksums
8bfef2e41afa7c7059102f0e0174fbc14ddfc05b6d6abb6a2399e28cec0bb0c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 23, 2026.

Transparency log

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

Download URL pilot_sdk-0.2.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a93772d4c2988498d9ab5d6436efe3a415c63400cc3e8f4a072d9a1c5babb926
BLAKE2b-256 checksum
How to use checksums
06b034fa070013348e88ff4e44b8c7ab37cb6e094aefb904d18737acced12124
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 23, 2026.

Transparency log

Security for pilot-sdk 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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pilot_sdk-0.2.0.tar.gz

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 May 23, 2026.

Transparency log

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 Full 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