Skip to content

The Python Engine for Smarter Surveys.

svy is the open-source toolkit for modern survey research. Handle complex designs, weighting, and analysis with a clean, Pythonic API.

Read Docs
analysis.py
import svy

# 1. Read the data
df = svy.read_parquet("data.parquet")

# 2. Define the sample
dsg = svy.Design(stratum="region", wgt="final_wt")
sample = svy.Sample(data=df, design=dsg)

# 3. Analyze
avg_income = sample.estimation.mean(y="income")

print(avg_income)

End-to-End Workflow

🧪

Trusted Methods

🤖

AI-Powered

🔓

Open Source

Subscribe to the svy newsletter

New releases, tutorials, and svyLab updates — a few emails a year.

No spam. New releases, tutorials, and svyLab updates — a few emails a year.
Have a specific project? Book a consultation →