Skip to main content

Install & Set Up

Install the Python SDK from your supplied wheel bundle before connecting to AIP.

Download the SDK wheel bundle (a zip file) from the download page, or use the copy shared in your onboarding email.

After unzipping, the wheels are available in the aip-sdk/ directory. To upgrade, delete this directory and re-extract the new zip.

You need uv — install it with curl -LsSf https://astral.sh/uv/install.sh | sh.

To install:

uv init --bare --python 3.12
uv python pin 3.12
rm -rf aip-sdk && unzip "$(ls -t aip-sdk-*.zip | head -1)" -d aip-sdk
uv add ./aip-sdk/*.whl

To upgrade when a new zip arrives, re-run the last two commands against it:

rm -rf aip-sdk && unzip "$(ls -t aip-sdk-*.zip | head -1)" -d aip-sdk
uv add ./aip-sdk/*.whl

If the new bundle drops a package, uv add fails on the missing wheel — uv remove <package> first, then re-run. Keep aip-sdk/ in place; uv add and uv sync read the wheels from there on every run.

Run anything in the project with uv run python your_script.py, or activate the environment with . .venv/bin/activate and call python directly.