SDKsPython
Installation
Install easy-sdk (pip) and verify your setup.
Prerequisites
- Python
>= 3.10(CPython tested on 3.10 / 3.11 / 3.12 / 3.13). - An Easy Labs API key (
sk_test_...for sandbox,sk_live_...for production). You can grab one from the Easy Labs dashboard.
The SDK has two runtime dependencies — both pinned to current major releases — so installs are quick and conflict-free in most environments:
Install the package
# pip
pip install easylabs
# uv
uv add easylabs
# poetry
poetry add easylabs
# pipenv
pipenv install easylabsThe wheel is published from
itseasyco/easy-sdk-python
on every release. There are no native dependencies — installs work on
Linux, macOS, and Windows without a build toolchain.
Verify the install
import os
from easylabs import Client, __version__
print(f"easylabs version: {__version__}")
client = Client(api_key=os.environ["EASY_API_KEY"])
print(f"Routed to: {client.api_url}")Client(...) calls GET /validate-key on construction. If the key is
invalid you'll see an easylabs.AuthenticationError here rather than on
your first real request.
Next steps
- Quickstart — render your first payment.
- Authentication — keys, environments, and the
internal_api_urlescape hatch.