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.
  • A server next to a hosted Supabase project (0.4.1): Everydeck.from_supabase(supabase_admin, instance_id="api", heartbeat_interval=60) reads endpoint, server key and manifest digest once at start from public.everydeck_server_config() through the server's own Supabase client (service key). everydeck adds that function after the owner's approval; only service_role may call it. Nothing to copy into the hosting dashboard. When EVERYDECK_ENDPOINT, EVERYDECK_SERVER_KEY and EVERYDECK_MANIFEST_DIGEST are all set, they win. If the call fails, the SDK switches itself off with a warning that names the function, never a value.
  • 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.1

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.1
File Size Uploaded Provenance
everydeck-0.4.1.tar.gz 31.4 kB With provenance Details

Built distribution (wheel)

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

Total release size: 64.5 kB

Release files / everydeck-0.4.1.tar.gz

Download URL everydeck-0.4.1.tar.gz
Size 31.4 kB
Tags Source
SHA-256 checksum
How to use checksums
456bb7794a5ef5565dc70997fe0413ab3e0fcb8cc8a750ea5ad9ee5ef1d41975
BLAKE2b-256 checksum
How to use checksums
90aa94f93fa5e8f00b1e5224c874b1f3305aaeb1c375c1d518e9f2044b6745e4
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 14, 2026.

Transparency log

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

Download URL everydeck-0.4.1-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76e29f3ff16c0a8a4c1499a13e16f440c23d15913cd9539a3e276b24cb82166c
BLAKE2b-256 checksum
How to use checksums
28ec5a4ad22980a1c2c0f1a79f4d73b131ed5ccc5e89a27df97bc29a0a2e4e1d
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 14, 2026.

Transparency log

Security for everydeck 0.4.1

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.1.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 14, 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