UID2 SDK for Python
Project description
UID2 SDK for Python
The UID 2 Project is subject to Tech Lab IPR’s Policy and is managed by the IAB Tech Lab Addressability Working Group and Privacy & Rearc Commit Group. Please review the governance rules.
This document includes:
Requirements
This SDK supports Python 3.6 and above.
Install
The SDK can be installed using pip.
pip install uid2-client
Usage
For documentation on usage, see the UID2 SDK for Python Reference Guide.
Example Usage
You can run specific examples:
python examples/sample_bidstream_client.py BASE_URL=https://operator-integ.uidapi.com AUTH_KEY=my-auth-key SECRET_KEY=my-secret-key
DOMAIN_NAME=domain-name AD_TOKEN=ad-token
Development
First, build the Docker image with Python 3.6 and all dev dependencies. This is required for all subsequent commands. Run the following:
make docker
Build a bdist wheel:
make wheel
Get access to an interactive shell within the Python 3.6 Docker image:
make shell
Run unit tests: Use PyCharm to run the test cases
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for uid2_client-2.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f623af74e0d0c365d5d4f0dbc2b5176ed1c6c51727e5dec7312f42f0612b57 |
|
MD5 | 42e1f922778f0a4e8385b032d2cc2552 |
|
BLAKE2b-256 | 6699ac2756e93a6956886e00af53cb2be045cae986db92c732bb4f59148c5cf1 |