Installation
Prerequisites
- Java
- Python
- Java ≥ 11 (latest LTS version recommended)
- Maven command-line tool
- Python ≥ 3.10
Install the SDK
- Java
- Python
Step 1: Install to local Maven repository
cd idmp-java-sdk
mvn install -DskipTests
Step 2: Add dependency to your pom.xml
<dependency>
<groupId>com.taosdata</groupId>
<artifactId>idmp-sdk</artifactId>
<version>{SDK_VERSION}</version>
</dependency>
Replace {SDK_VERSION} with the actual version number, e.g. 1.0.13.0.
Navigate to the idmp-python-sdk directory and install with pip:
cd idmp-python-sdk
pip install .
tip
Install inside a virtual environment to avoid dependency conflicts:
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install .
Verify Installation
- Java
- Python
If the following import compiles without error, the SDK is installed correctly:
import org.openapitools.client.ApiClient;
python -c "import idmp_sdk; print('SDK installed successfully')"
Private / Offline Environments
- Java
- Python
Upload the JAR to your private Maven repository (Nexus, Artifactory, etc.) and configure the repository in pom.xml:
<repositories>
<repository>
<id>private-repo</id>
<url>https://your-maven-repo/repository/maven-releases/</url>
</repository>
</repositories>
Upload the SDK to a private PyPI server, then install with:
pip install idmp-sdk --index-url https://your-pypi-server/simple/
