Install
The SDK package name is surfra. It needs Python 3.11 or newer.
-
Install the package from a checkout of the SDK until it is published on PyPI.
Terminal window pip install -e ./surfra-python-sdk -
Create an API key in the dashboard under Credentials. The secret is shown when you click View.
-
Point the client at your control plane.
Terminal window export SURFRA_API_KEY=sfk_...export SURFRA_MASTER=https://api.surfra.io
SURFRA_API_KEY is the key the client sends. SURFRA_MASTER is the control plane URL. Both are read by surfra.SurfraClient and by surfra.App.
