Installation Guide

Default Setup

To use svy, you first need to install it. You can install svy using pip:

pip install svy

If you want to add additional packages to improve the presentation and reporting of the results, you can add the report option as follows

pip install "svy[report]"

We recommend using a virtual environment to install svy. You can create one with:

python -m venv venv

You can replace venv with any name you prefer, e.g. .venv or svy_env. Activate the virtual environment with:

source venv/bin/activate

Next Steps

Next, take a quick tour of Sample—the main abstraction for working with a survey sample: Quick Tour.