Skip to main content
To get started with the ABV Python SDK you need to install the SDK and initialize the client.

Installation

To install the SDK, run:

Initialize Client

Begin by initializing the ABV client. You must provide your ABV api key. These can be passed as constructor arguments or set as environment variables (recommended).If you are using a data region other than the US default (e.g., EU: https://eu.app.abv.dev), ensure you configure the host argument or the ABV_HOST environment variable (recommended).via Environment Variables (recommended)
.env
via Constructor Arguments
If you are reinstantiating the ABV client with different constructor arguments in the same process, the new configuration will be used for all subsequent calls.
Key configuration options:

Accessing the Client Globally

The ABV client is a singleton. It can be accessed anywhere in your application using the get_client function. Optionally, you can initialize the client via ABV() to pass in configuration options (see above). Otherwise, it is created automatically when you call get_client() based on environment variables.