Install the Xpdeep Package#
Xpdeep package is stored in our own repository.
To access the repository, you need to request credentials from your administrator, or from our support team via the email support@xpdeep.com.
Then, add the adequate configuration depending on which python installer you use, please refer to some examples below.
Installation#
Currently, python 3.12 or above is supported. We provide installation guidelines for two package managers : poetry (recommended) and pip We also install the optional dependencies under "tutorials", which include everything you need to run the example scripts out of the box.
Example
- Save your credentials
First, save your credentials in a poetry.toml file located in your project root folder, or use an env variable.
In a poetry.toml file, in your root directory:
- Set up a poetry environment
If you already have a poetry environment setup, make sure that your python version does not allow versions >=3.13 and skip this step.
To setup a new poetry environment, execute the following commands with your desired project name,
- Update poetry sources
Because the Xpdeep package repository is private, you need to add it to the available poetry repositories.
If you used a custom source name for the repository, do not forget to update the credentials in your poetry.toml file accordingly.
- Install the package
Get an API Key#
To use the API you must use an API key. If you use our solution on premise, contact your administrator.
On the cloud: please visit the XpViz website.
Navigate to:
Use the API Key#
Use your api_key and api_url in: