Skip to main content

nimbus-bci

Nimbus Personalizer — Bayesian personalization head for frozen neural EEG embeddings.
Plug any frozen trunk that emits encode(X) → Z, adapt online with a Nimbus head, ship apps on BrainState — without owning or retraining the encoder.

0.8 product shape: the Personalizer surface — cheap online adaptation (~8–10× cheaper than batch refit, ~22–131× cheaper than trunk retraining at matched n), portable profiles, paradigm recipes (MI · P300 · Riemannian), and an online safety layer (nimbus_bci.safety: label budgets, an adaptation governor with burn-in / cooldown / caps, drift surveillance, and snapshot → rollback of the adapted head).

Also ships sklearn-compatible heads for classical feature pipelines (CSP, Riemann, …): Bayesian LDA / QDA / Softmax, plus NimbusSTS (EKF latent state + point-estimated emissions). Those heads power Personalizer and can be used alone.

Docs · Personalizer · API reference · PyPI · Contact

Install

pip install nimbus-bci
# optional: pip install nimbus-bci[softmax]   # JAX Softmax head
# optional: pip install nimbus-bci[riemann]   # pyRiemann pipelines
# optional: pip install nimbus-bci[mne]       # MNE helpers
# optional: pip install nimbus-bci[train]     # torch trunk-arm trainers (LoRA / FT)
# optional: pip install nimbus-bci[viz]       # matplotlib plotting helpers
# optional: pip install nimbus-bci[all]       # everything above

From source: pip install -e ".[all]" after cloning.

Upgrading from 0.5? See Migration notes in CHANGELOG.md (ships in the sdist; also linked from docs.nimbusbci.com).

5-minute quickstart

Run the example (no external data needed):

python examples/quickstart.py
# SSVEP demo (synthetic, no deps):  python examples/ssvep_demo.py

Or follow along:

import numpy as np
from nimbus_bci import Personalizer, wrap

# 1. Wrap any frozen trunk (EEGNet, REVE, ...) — here a random projection.
rng = np.random.default_rng(42)
proj = rng.standard_normal((6, 16))
enc = wrap(lambda X: X @ proj, model_id="toy", embedding_dim=16)

# 2. Fit a Bayesian head on ~30 calibration trials.
#    for_deployment = strict gating + LDA + minimal params (the common case).
#    For research/experimentation: Personalizer.for_research(enc, classes, ...).
#    For classical features (no encoder): Personalizer.for_features(classes).
#    To PIN the accept rate for your trunk (default-gate accept rates span
#    7-78% across trunks), fit + calibrate the gate in one call:
#    adapter.fit_calibrated(X_cal, y_cal, X_val, y_val, target_accept=0.7)
adapter = Personalizer.for_deployment(enc, ["left_hand", "right_hand"],
                                       paradigm="motor_imagery")
adapter.fit(X_cal, y_cal)

# 3. Predict → BrainState with trial rejection.
states = adapter.predict(X_test)         # list[BrainState]
accepted = [s for s in states if not s.rejected]  # confident trials
# s.intent, s.confidence, s.uncertainty, s.rejected, s.rejection_reason

# 4. Certify the gate (0.9): prediction sets with a distribution-free bound.
#    After calibrating on held-out labelled trials, every predict() trial
#    carries BrainState.prediction_set; non-singleton sets reject with
#    reason "ambiguous_prediction_set" and P(accepted AND wrong) <= alpha.
#    adapter.calibrate_conformal_gate(X_val, y_val, alpha=0.1)

# 5. Adapt online (exact conjugate update — no retraining).
adapter.partial_fit(X_new, y_new)

# 6. Save / load.
adapter.save("profile"); loaded = Personalizer.load("profile", encoder=enc)

The three regimes

# A. Classical features (CSP log-variance, tangent space, hand-crafted) —
#    no encoder, features go straight to the Bayesian head.
p = Personalizer.for_features(["left", "right"]).fit(X_csp, y)

# B. Frozen deep trunk (EEGNet, foundation model) — embeddings → head,
#    strict trial gating out of the box.
p = Personalizer.for_deployment(enc, ["left", "right"]).fit(X_cal, y_cal)
states = p.predict(X_test)          # BrainState per trial, rejected flagged

# C. Riemannian geometry & P300 (OAS / xDAWN tangent space) —
#    weak-trunk / raw epochs; for_riemann defaults to label-free geodesic
#    tracking (tracking_alpha=0.05). Opt out with tracking_alpha=0.0.
p = Personalizer.for_riemann(["left", "right"]).fit(X_cal, y_cal)
# Or for P300 spellers (tracking opt-in; recommend α=0.05 when enabling):
# Personalizer.for_p300(["NonTarget", "Target"], tracking_alpha=0.05)
p.adapt(epoch)                      # label-free reference update (0 labels needed!)

# D. Streaming adaptation loop — predict, optionally partial_fit on new
#    labels; the conjugate head update is exact and cheap (no retraining).
#    Reference: examples/middleware_streaming_adaptation.py
for trial in stream:
    state = p.predict(trial)                # BrainState
    if label_available(state):
        p.partial_fit(trial, label)         # ~1/30-1/131 the wall cost of retraining

Regime A/B/C are the shipped surface — plus an opt-in safety layer (0.8):

# E. Governed adaptation — label budgets, burn-in, cooldown, caps.
from nimbus_bci import DecisionConfig
from nimbus_bci.safety import LabelBudget, SafetyConfig

p = Personalizer(
    encoder=enc, head="lda", classes=["left_hand", "right_hand"],
    decision=DecisionConfig(preset="strict"),
    safety=SafetyConfig(burn_in=50, cooldown_trials=10,
                        budget=LabelBudget(hard_cap=2_000)),
)
# partial_fit / adapt / adapt_pseudo now preflight the governor and raise
# AdaptationRefusedError (never a silent skip) when a budget or pacing
# control refuses. snapshot_head() / restore_head() give a one-call
# rollback path when your own monitoring says "revert":
snap = p.snapshot_head()          # ~KB-scale head snapshot
p.restore_head(snap)              # byte-equal predictions after restore

The full parameter surface (user=, preset=, head choice) via direct construction — anything that maps inputs to embeddings (n, d) plugs in; Nimbus does not own DL architectures:

adapter = Personalizer(
    encoder=enc, head="lda", user="subject_001",
    classes=["left", "right"],
    decision=DecisionConfig(preset="strict"),
)

Full walkthrough with copy-paste synthetic data: Quickstart. Feeding real EEG? Read the epochs ingest contract first — epoching, baseline, filtering, sfreq discipline, axis conventions: Preparing epochs.

Optional shortcuts for common external trunks: wrap_eegnet, and from nimbus_bci.middleware.adapters import wrap_braindecode (see encoder contract).

Examples in this repo: quickstart.py, trust_dashboard.py (live safety dashboard — governor, drift, CUSUM revert), wallet_profile_roundtrip.py (the <30 KB neural-profile pass demo), lsl_live_loop.py (live lab ingest, --simulate without hardware), deployment_fit_calibrated.py (pinned accept rates), embeddings_contract.py (precomputed-embedding flow), e2e_mne_physionet_brainstate.py (real-data MI → rejection + ITR), active_calibration_loop.py, middleware_personalizer.py, middleware_streaming_adaptation.py, middleware_geometry_gateway.py, middleware_mi_session.py, middleware_braindecode.py, middleware_reve.py, middleware_recommend_adapt.py.
Bench EEGNet demo (repo-only, needs nimbusbench[dl]): nimbusbench/scripts/middleware_eegnet.py. Preregistered headline numbers: leaderboard.

When to adapt (thin helper)

Optional mean-shift check before spending labels on partial_fit. You choose the threshold tau.

dec = adapter.recommend_adapt(X_stream, tau=your_tau)  # stay vs stream update
if dec.should_adapt:
    adapter.partial_fit(X_lab, y_lab)

Trial rejection (BrainState.rejected / need_more_data) is a different gate — accept/reject the intent for the app.
Details: BrainState · recipe: examples/middleware_recommend_adapt.py.

Label spend itself can be governed — budgets, burn-in, cooldown, adaptation caps, and snapshot → rollback — via Personalizer(..., safety=SafetyConfig(...)); see the nimbus_bci.safety module and Trust & calibration.

Classical heads (CSP / features)

Same Bayesian heads without an encoder — inputs are already features:

from nimbus_bci import NimbusLDA

clf = NimbusLDA()
clf.fit(X_train, y_train)
proba = clf.predict_proba(X_test)
clf.partial_fit(X_new, y_new)

Also: streaming (StreamingSession), active learning (CalibrationSession), MNE helpers, optional Riemann pipelines. See docs.nimbusbci.com and examples/e2e_mne_csp_nimbus.py.

Head Role
NimbusLDA / NimbusQDA Conjugate Bayesian LDA/QDA
NimbusSoftmax Polya–Gamma VI (optional JAX)
NimbusSTS EKF latent-state / drift (EKF on z; point W/H/b)

Working with precomputed embeddings

If your pipeline already computed embeddings — frozen backbone → per-trial embeddings (N, F) — declare the contract so the Personalizer consumes X directly instead of re-encoding it through the attached trunk:

from nimbus_bci import Personalizer, wrap

adapter = Personalizer(
    encoder=wrap(module),        # attached for model_id / lineage — never called
    x_kind="embeddings",         # every X below is ALREADY the encoder output
    head="softmax",
    classes=["left", "right"],
)
adapter.fit(Z_cal, y_cal)                        # (N, F) — head + transforms fit directly
adapter.partial_fit(Z_stream, y_stream)          # online head updates
adapter.adapt(Z_stream, y_stream, level="head")  # supervised head adaptation

The rule: trunk adaptation needs raw encoder inputs. LoRA / BaLoRA / fine-tuning backpropagate through the trunk, and precomputed embeddings have no gradient path to trunk weights — so adapt(..., level="trunk"), adapt_trunk(...), adapt_async(...), fit_tent(...), trunk MC sampling, and Riemannian reference tracking (update_riemann_reference(...)) raise PersonalizerInputError under x_kind="embeddings". To adapt the trunk, feed raw epochs with the default x_kind="epochs". x_kind="embeddings" with encoder=None is also legal — that is the classical feature-space flow (Personalizer.for_features(...)).

Profiles round-trip the contract: export_profile() records x_kind and the observed embed_dim in UserProfile.meta; from_profile(...) restores them, refuses an x_kind mismatch, and validates the feature dim of the next fit against the recorded embed_dim.

Evidence

Public Personalizer story (heads, cost vs fine-tune, multi-trunk / REVE):
Evidence · Overview.

License

Two-track proprietary license — see the LICENSE.txt shipped with the package (and on PyPI). Non-commercial use is free under the Non-Commercial terms; commercial use requires a paid license. Contact: hello@nimbusbci.com.

Contributing & security

Licensees with source access: follow the repository CONTRIBUTING.md and SECURITY.md. Report vulnerabilities privately to hello@nimbusbci.com — do not open a public issue.

Metadata

Release files for nimbus-bci 0.9.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 nimbus-bci 0.9.0
File Size Uploaded Provenance Actions
nimbus_bci-0.9.0.tar.gz 1.4 MB Without provenance Details for nimbus_bci-0.9.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for nimbus-bci 0.9.0
File Actions
nimbus_bci-0.9.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for nimbus_bci-0.9.0-cp313-cp313-win_amd64.whl
nimbus_bci-0.9.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for nimbus_bci-0.9.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
nimbus_bci-0.9.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for nimbus_bci-0.9.0-cp313-cp313-macosx_11_0_arm64.whl
nimbus_bci-0.9.0-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for nimbus_bci-0.9.0-cp313-cp313-macosx_10_13_x86_64.whl
nimbus_bci-0.9.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for nimbus_bci-0.9.0-cp312-cp312-win_amd64.whl
nimbus_bci-0.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for nimbus_bci-0.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
nimbus_bci-0.9.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for nimbus_bci-0.9.0-cp312-cp312-macosx_11_0_arm64.whl
nimbus_bci-0.9.0-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for nimbus_bci-0.9.0-cp312-cp312-macosx_10_13_x86_64.whl
nimbus_bci-0.9.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for nimbus_bci-0.9.0-cp311-cp311-win_amd64.whl
nimbus_bci-0.9.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for nimbus_bci-0.9.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
nimbus_bci-0.9.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for nimbus_bci-0.9.0-cp311-cp311-macosx_11_0_arm64.whl
nimbus_bci-0.9.0-cp311-cp311-macosx_10_9_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.9+ x86-64 Details for nimbus_bci-0.9.0-cp311-cp311-macosx_10_9_x86_64.whl

Total release size: 21.5 MB

Release files / nimbus_bci-0.9.0.tar.gz

Download URL nimbus_bci-0.9.0.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
64cf8ff6fd8b4eec2574ecc2193615b93ecd291718659d376ab0c37611bb6030
BLAKE2b-256 checksum
How to use checksums
e73531e00eaef972d9c780f534ce57979f666b4e43f0efe54daa372b80013ae4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp313-cp313-win_amd64.whl

Download URL nimbus_bci-0.9.0-cp313-cp313-win_amd64.whl
Size 901.5 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
16b200d9c5b9d5d696aa1bf4c0c7b764e20e44545d7e777d2b6422992ee1b741
BLAKE2b-256 checksum
How to use checksums
f7e1a016a713079a34b680e8599182ca127f19bc7dc602a111b5b49b19c2c2a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL nimbus_bci-0.9.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 3.8 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
0857d8f1b24eda0b52dc483003a65f15a9709ffe9d18afc2ca8ed5c3ae7a1a03
BLAKE2b-256 checksum
How to use checksums
4ec12ddad88a9653660245c51f01e4d90dd5721c5dcf82c5e0509573aeff7d84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL nimbus_bci-0.9.0-cp313-cp313-macosx_11_0_arm64.whl
Size 979.4 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a91fc4a4afb88bb81387e8e031edccf168050ec7436ce547f4a161c92fe84fed
BLAKE2b-256 checksum
How to use checksums
2613031ec9b3a9023a7e17bda497db7bcf55457ca7d3d76eaaf3cf9475baf71c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp313-cp313-macosx_10_13_x86_64.whl

Download URL nimbus_bci-0.9.0-cp313-cp313-macosx_10_13_x86_64.whl
Size 988.0 kB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
9d008fe5e485eb2881ae68d1faf933215e38ef35874e36b50a48f35eab73eec3
BLAKE2b-256 checksum
How to use checksums
21b77e4a664b2f07828dbacdb9de5cf0024041e982ad9367ece0839daf785f87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp312-cp312-win_amd64.whl

Download URL nimbus_bci-0.9.0-cp312-cp312-win_amd64.whl
Size 905.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c204408e9989691ba0115376fef461eab5125c4efcf4a46400737415f0f8f63b
BLAKE2b-256 checksum
How to use checksums
7857bd0eeef9ea23cf0220f259f9ed5cb5a7b1353747d82ad38d87cb18eb2ea9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL nimbus_bci-0.9.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 3.8 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
23b375fa4be427b4c546d35d3e82b1d344ba15b4f1aa4ff02f51028a34e25325
BLAKE2b-256 checksum
How to use checksums
91b64a50fef1b80249d0045932bc200a3dbda69cb8bb421269d99c43a8b99ba3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL nimbus_bci-0.9.0-cp312-cp312-macosx_11_0_arm64.whl
Size 983.8 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fde75daaf7fb777159519dffb76854a1e049676ffe94c5545136cf302119fce1
BLAKE2b-256 checksum
How to use checksums
3d0c0843de7d7aebc3d54e83c26532f65089ef2275b5b11d2b5693ce265dea21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp312-cp312-macosx_10_13_x86_64.whl

Download URL nimbus_bci-0.9.0-cp312-cp312-macosx_10_13_x86_64.whl
Size 991.1 kB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
1589333e406ce5adad77e5d532dd14b6eea623687e5c03135e68f2cd86abdd9e
BLAKE2b-256 checksum
How to use checksums
15493ad4e6373ad58e7912354f386d83bcc44b54b87c2ece90f1a5a7428c11a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp311-cp311-win_amd64.whl

Download URL nimbus_bci-0.9.0-cp311-cp311-win_amd64.whl
Size 925.9 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d74e697d9cc4b6e646f8bc0e5d4d25f86fe9163dabddde1c101902bf4a2f0412
BLAKE2b-256 checksum
How to use checksums
fabbfe23a2252abd2d92a96066bd4fd9677d2579a7c332b9b56b9d09868daf0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL nimbus_bci-0.9.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 3.8 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
a32b26470a2bd5a82381ddac772a3a07bf13326d0780252bba070863f0863089
BLAKE2b-256 checksum
How to use checksums
7260c474bc4e3669e9f030a184f56fdaeee1ab84451de37b1f06e0f2722a4157
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL nimbus_bci-0.9.0-cp311-cp311-macosx_11_0_arm64.whl
Size 982.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
10f078859eed2d9a47df7bfb0ecbadbc9a0fe947b106ba465540c133d5d723c6
BLAKE2b-256 checksum
How to use checksums
8d26e6039ebb5801da753d7e2c7d97c59d42eee3af37fb9384eb50b1c7ab57f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / nimbus_bci-0.9.0-cp311-cp311-macosx_10_9_x86_64.whl

Download URL nimbus_bci-0.9.0-cp311-cp311-macosx_10_9_x86_64.whl
Size 1.0 MB
Tags CPython 3.11 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
889c1636a9680b12a780bd3df5e9e43f8f332a4ae2d36b5c6e7898ce01e0a0b6
BLAKE2b-256 checksum
How to use checksums
89d4de1e27547d96e0072c2ae353b4162ac681ab3de9d2d618e2b31999b7a461
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for nimbus-bci 0.9.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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