Skip to main content

everydeck (Python SDK)

The Python server SDK of everydeck: it reports the signals, errors and logs of your app's flows to everydeck.

pip install everydeck
import os
from everydeck import Everydeck

everydeck = Everydeck(
    endpoint=os.environ["EVERYDECK_URL"],
    credential="<server key of the environment>",
    release_key="auto",
    manifest_digest="<digest of the approved manifest>",
    heartbeat_interval=60,
    instance_id="api",
)
everydeck.signal("job.created", operation_id)
  • signal(), error() and log() never block and never raise: they enqueue into a bounded in-memory buffer; a background thread sends batches (at most 50 events, 64 KiB, gzip-compressed).
  • Retries only on 429, 5xx, timeout and network errors; Retry-After is honoured; final rejections are dropped and counted, never reported as sent.
  • A buffer overflow is reported as a gap event, so everydeck shows a known data gap instead of silence.
  • heartbeat_interval sends everydeck.sdk.heartbeat from the sender thread. Give each component a stable instance_id (for example "api", "worker").
  • release_key="auto" derives the version from the deployment commit (EVERYDECK_RELEASE_KEY, GITHUB_SHA, VERCEL_GIT_COMMIT_SHA, RENDER_GIT_COMMIT, …) or local git.
  • everydeck.verify.verify_everydeck_request checks everydeck's signature on bridge calls.
  • Read bridge on FastAPI or Starlette: from everydeck.read_route import mount_read_bridge, SupabaseReadOnly and mount_read_bridge(app, SupabaseReadOnly(supabase_admin)) in the module that creates app add the route /everydeck/read/{rest:path} (outside the API schema); it reads EVERYDECK_URL and EVERYDECK_READ_BRIDGE_TOKEN from the environment when the first call arrives.
  • Read bridge (0.3.0): everydeck.read_route.EverydeckReadBridge(endpoint, key, db) is the ready-made route for other frameworks. It fetches its read scope from everydeck (GET <endpoint>/v1/read-scope with the bridge key) and uses it only with everydeck's signature; no read-scope file, no read role, no views. db is the connection the app already has: PsycopgReadOnly(conninfo) runs every query in BEGIN READ ONLY, SupabaseReadOnly(client) reads through the app's Supabase client with select() only (GET requests, which PostgREST runs read-only; only tables in schemas the Supabase API exposes).

No dependencies. Python 3.11 or newer. License: MIT.

Metadata

Release files for everydeck 0.4.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 everydeck 0.4.0
File Size Uploaded Provenance
everydeck-0.4.0.tar.gz 30.2 kB With provenance Details

Built distribution (wheel)

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

Total release size: 62.3 kB

Release files / everydeck-0.4.0.tar.gz

Download URL everydeck-0.4.0.tar.gz
Size 30.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6a37ea6d8a89d180af9d51e921303b32f5016fdc7e66be3924134965f419e8fb
BLAKE2b-256 checksum
How to use checksums
bdb2eadff35db9ada4eba78496731008e7169a8d79e2c3b7fce24b8dc5f05492
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 Oct 13, 2026.

Transparency log

Release files / everydeck-0.4.0-py3-none-any.whl

Download URL everydeck-0.4.0-py3-none-any.whl
Size 32.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54162f0cb2d4e929581d33ea8fb99abbc51cce826740ab6d74428d216a90f51c
BLAKE2b-256 checksum
How to use checksums
42e8d1afaba1725df7e7c10e5dd586b9d86668755798c5814a9b6d65154ba7b5
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 Oct 13, 2026.

Transparency log

Security for everydeck 0.4.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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for everydeck-0.4.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 Oct 13, 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.

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