Skip to main content

svy-sae

Small area estimation at census scale, in Python.

PyPI Python

svy-sae produces estimates for domains too small for direct survey estimation — districts, municipalities, enumeration areas — by borrowing strength from a model linking a survey to auxiliary population data. It implements the standard area-level and unit-level estimators, validated against R's sae package, on compiled JAX kernels that scale to a multi-million-household census.

🌐 svylab.com · 📘 Documentation · 📦 PyPI · 🧭 Built on svy


Why svy-sae?

  • The three estimators practitioners actually use. Fay–Herriot for area-level data, the Battese–Harter–Fuller nested-error model for unit-level, and Molina–Rao Empirical Best Prediction for non-linear indicators like poverty rates and Gini.
  • Uncertainty you can report. Analytical MSE (Prasad–Rao for Fay–Herriot) where a closed form exists, and a parametric bootstrap where it does not — because a small area estimate without a defensible MSE is not usable for policy.
  • Non-linear indicators, not just means. Poverty headcount, poverty gap, poverty severity, Gini and the quintile share ratio, computed per simulated population rather than back-transformed from a mean, plus any custom indicator you pass as a callable.
  • Census scale. Memory is bounded independently of the Monte Carlo count, so a 2.5M-household census at 200 draws runs in about 16 seconds within roughly 2.5 GB.
  • Cheap to import. import svy_sae costs about 5 ms; JAX and the model machinery load on first use, so CLI tools, test collection, and doc builds do not pay for a fit they never run.

Installation

pip install svy-sae      # or: uv add svy-sae
pip install "svy-sae[plot]"   # with diagnostic plots (matplotlib)
pip install "svy-sae[spatial]"   # spatial neighbours from polygons (polars-st)

Requires Python 3.12–3.14. Wheels are published for macOS (Apple silicon), Linux (x86_64 and aarch64), and Windows.

Area level: Fay–Herriot

When you have direct estimates per area and their sampling variances:

import polars as pl
import svy
from svy_sae import AreaLevel

milk = svy.datasets.load("milk").data.with_columns(variance=pl.col("SD") ** 2)

result = AreaLevel(milk).fh(
    y="yi",
    x=svy.Cat("MajorArea", ref=1),
    variance="variance",
    area="SmallArea",
    method="reml",
)

print(result.component("area").est)     # 0.018550  (R sae::eblupFH: 0.0186)
for pred in result.prediction[:3]:
    print(pred.area, round(pred.pred, 4), round(pred.cv, 4))

Unit level: nested-error EBLUP

When you have unit records in the survey and area-level means from the census:

import svy
from svy_sae import UnitLevel

sample = svy.datasets.load("cornsoybean").data
census = svy.datasets.load("cornsoybeanmeans").data

result = UnitLevel(sample).eblup(
    y="CornHec",
    x=["CornPix", "SoyBeansPix"],
    area="County",
    pop_data=census,
    pop_size="PopnSegments",
    mse="analytical",          # or "bootstrap" for a parametric bootstrap MSE
)

print(result.component("area").est)     # 63.3145   (R: 63.3149)
print(result.component("residual").est) # 297.7133  (R: 297.7128)

Non-linear indicators: Molina–Rao EBP

Poverty and inequality measures are not linear in the outcome, so they cannot be obtained by back-transforming a predicted mean. EBP simulates populations from the fitted model and computes the indicator on each:

from svy_sae import Indicator

result = UnitLevel(sample).ebp(
    y="CornHec",
    x=["CornPix", "SoyBeansPix"],
    area="County",
    pop_data=census,
    transformation="log",       # "boxcox" (default), "log", or "none"
    indicators=[Indicator.MEAN, Indicator.POVERTY_HEADCOUNT],
    threshold=100.0,            # absolute; pass a callable for e.g. 0.6 x median
    n_mc=200,
    rstate=42,
)

for pred in result.prediction[:4]:
    print(pred.area, pred.indicator, round(pred.pred, 4))

Pass n_reps to add a parametric bootstrap MSE for each indicator.

Capabilities

Area level Fay–Herriot (REML, ML) with out-of-sample areas and log, arcsin or logit transformations; Prasad–Rao, Slud–Maiti and parametric bootstrap MSE; variance smoothing (GVF); benchmarking; diagnostics
Unit level Battese–Harter–Fuller EBLUP (REML, ML), analytical and bootstrap MSE
Non-linear Molina–Rao EBP with Box–Cox, log, or no transformation
Indicators Mean, poverty headcount, poverty gap, poverty severity, Gini, quintile share ratio, plus custom callables
Inputs Polars frames or a svy.Sample, with the survey design carried through
Reproducibility Explicit rstate seeds; typed, serializable result objects

First-run performance

Model kernels compile on first use and are cached to disk (~/.cache/svy_sae), so only the first fit of a given data shape on a machine pays compilation — a few extra seconds. To pay that cost deliberately instead of during real work (a class demo, a production window), warm the cache first:

import svy_sae

svy_sae.warmup()  # every estimator path, tiny synthetic data

# Or warm the exact shapes you will fit — e.g. once before a workshop:
svy_sae.warmup(course_sample, y="pc_exp", x=["hhsize", "rooms"],
               area="geo2", pop_data=course_census)

The cache is keyed by input shapes: warming with your own data covers your later fits of that data exactly; the no-argument form initialises JAX and covers only the built-in example shapes.

Validation

Estimates are checked against R's sae package on its own benchmark datasets, which ship with svy and make the comparisons above reproducible:

svy-sae R sae
cornsoybean σ²_e 297.7133 297.7128
cornsoybean σ²_u 63.3145 63.3149
milk σ²_u 0.018550 0.018600

Bootstrap MSE is compared against sae::pbmseBHF, where mean agreement across the twelve counties is within 0.4% at 4,000 replicates — the residual being Monte Carlo error rather than bias.

Ecosystem

svy-sae builds on svy, which handles the survey side: design metadata, weighting, direct estimation, and the datasets used above. Pass a svy.Sample and its design travels with your data into the model.

Status

svy-sae is in alpha and pre-1.0. The API may change between minor versions; each release documents what moved in CHANGELOG.md, including any change that alters reported numbers.

Feedback

Issues and discussions: github.com/samplics-org/svy-sae


Small area estimates carry policy weight. svy-sae aims to make the uncertainty around them as defensible as the estimates themselves.

Metadata

Release files for svy-sae 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for svy-sae 0.6.0
File Actions
svy_sae-0.6.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for svy_sae-0.6.0-cp314-cp314-win_amd64.whl
svy_sae-0.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for svy_sae-0.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
svy_sae-0.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for svy_sae-0.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
svy_sae-0.6.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for svy_sae-0.6.0-cp314-cp314-macosx_11_0_arm64.whl
svy_sae-0.6.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for svy_sae-0.6.0-cp313-cp313-win_amd64.whl
svy_sae-0.6.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.28+ x86-64, Linux glibc 2.17+ x86-64 Details for svy_sae-0.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
svy_sae-0.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for svy_sae-0.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
svy_sae-0.6.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for svy_sae-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
svy_sae-0.6.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for svy_sae-0.6.0-cp312-cp312-win_amd64.whl
svy_sae-0.6.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 svy_sae-0.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
svy_sae-0.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64, Linux glibc 2.17+ ARM64 Details for svy_sae-0.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
svy_sae-0.6.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for svy_sae-0.6.0-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 30.1 MB

Release files / svy_sae-0.6.0-cp314-cp314-win_amd64.whl

Download URL svy_sae-0.6.0-cp314-cp314-win_amd64.whl
Size 3.0 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
b58c5ea1b84bb19ee1e7b20435ea8774fb7ce1f24d8a7b4816d42d6be2bd1e4c
BLAKE2b-256 checksum
How to use checksums
8e60baedebdf35f2a5c8b823491efb8dd611713eb5b2661fa47e911c4b194a7a
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL svy_sae-0.6.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 4.8 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3b7f112ff85ee47e708a8349d9dbc7de870af7ee28025632fef2e67099bfb238
BLAKE2b-256 checksum
How to use checksums
7034340806ca784d7e9e9300c915a7999f306f4e4d2cfb1d94b5cfca7d9627f7
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL svy_sae-0.6.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 4.1 MB
Tags CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f1a24ce41dabe89127242a1fc0525c69091f9e4b99d4fcc222d0f79ad0e7f228
BLAKE2b-256 checksum
How to use checksums
c78deb96cb51decd108f705a59a157ea3efbed4eb6e31eb16c19ee47cb7f2959
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL svy_sae-0.6.0-cp314-cp314-macosx_11_0_arm64.whl
Size 3.3 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8062c570cfc2b82061597a3c0f9a7ee6f98eab685087cf2bf9783434ab5b2539
BLAKE2b-256 checksum
How to use checksums
3f0a4ae051ac4ef32d0733ed4e388b6387d49cad58ca78435cf6cccbe2cd3a30
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp313-cp313-win_amd64.whl

Download URL svy_sae-0.6.0-cp313-cp313-win_amd64.whl
Size 1.9 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
1b1ff000f6ed865c24ef42d32e5f99e0a97b6c44957f97a8ae7ad7ad67af123e
BLAKE2b-256 checksum
How to use checksums
b838afa6bc2c45c69539e42b09e41996e3a3095df8a9d0b8c0493df94992c5d6
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL svy_sae-0.6.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 3.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
22db75d49f317691ba9f3941c0a064968f669fd596ebeab5636b9b044031ea3b
BLAKE2b-256 checksum
How to use checksums
74b952d41dd205b69c1270daf45fb45cdce789d4471a5e238413aeb50458e011
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL svy_sae-0.6.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 2.7 MB
Tags CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
580d8d07047243b0f255d86332679afd23a67f09114eff2c97a4f0aab67e3402
BLAKE2b-256 checksum
How to use checksums
f6a80149e7cf066ad61410494392ae9ed7b0cdcb5d2e4188715905f2d023aed5
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL svy_sae-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
Size 2.2 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8707174cbcb0a92aed579547e337f285ea68f0c54aab5bb3c3996c7bae511331
BLAKE2b-256 checksum
How to use checksums
68d8ed4c1ee6704580c931ec0284a9a7b89a8329974c202719c6c4cf5f29177e
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp312-cp312-win_amd64.whl

Download URL svy_sae-0.6.0-cp312-cp312-win_amd64.whl
Size 979.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d7796f3526d3560b81e2b893ce6ab78de27e533243caecf7c15eaa9d12e16c12
BLAKE2b-256 checksum
How to use checksums
b4190bc92bdf886b402e2a5a7d80ff4275bd34fa47101ec9d3d8dcb215a82c2f
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL svy_sae-0.6.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.6 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e678d34c59fa3fdb81a462645eb2dfd81afc88a8c0ea97183fef31478dc780d5
BLAKE2b-256 checksum
How to use checksums
6014bb86283a00c91af11ee3ab5523f4d8f09c5dff7a21cd067ef74ab79e61b7
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL svy_sae-0.6.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 1.4 MB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
8321bc0d0e8aa51a5714581ec6057295eb01ef2545a07d30260bed99d93fab22
BLAKE2b-256 checksum
How to use checksums
f0f87ea11bea2328df50d4e899e4ab1706eda496c2dea4c56109873df7b9bd59
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 Nov 2, 2026.

Transparency log

Release files / svy_sae-0.6.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL svy_sae-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
711f98e73e7ce3b67b05565218be39d5d6808255607384108e8f986f4c664be4
BLAKE2b-256 checksum
How to use checksums
72c4e9adc006c83c14c451bd8bdc0b958c62b4d9311a4d88c894562b0efa5657
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 Nov 2, 2026.

Transparency log

Security for svy-sae 0.6.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 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for svy_sae-0.6.0-cp314-cp314-win_amd64.whl

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 Nov 2, 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