Installation
The Digitalhub SDK is distributed as a Python package and is hosted on PyPI so you can install them with pip
.
Installing Digitalhub SDK
The most basic command to install the digitalhub
package in your Python environment is:
This command will install the SDK with all the dependencies.
There are more options available:
# Install SDK plus pandas for dataitems handling
python -m pip install digitalhub[pandas]
# Install SDK plus mlflow for mlflow model handling
python -m pip install digitalhub[mlflow]
Installing Digitalhub Runtimes
The Digitalhub runtimes are installed in the same way as the SDK. We have distributed the following runtimes at the moment:
- digitalhub-runtime-python
- digitalhub-runtime-container
- digitalhub-runtime-dbt
- digitalhub-runtime-kfp
- digitalhub-runtime-modelserve
You can install the runtime directly with pip. It will come with all the required SDK dependencies:
# Install python runtime
python -m pip install digitalhub-runtime-python
# Install container runtime
python -m pip install digitalhub-runtime-container
# Install dbt runtime
python -m pip install digitalhub-runtime-dbt
python -m pip install digitalhub-runtime-dbt[local]
# Install kfp runtime
python -m pip install digitalhub-runtime-kfp
# Install modelserve runtime
python -m pip install digitalhub-runtime-modelserve