How to install the SDK¶
From PyPI¶
With uv:
From source (development)¶
Verify the installation¶
from owi.metadatabase.geometry.io import GeometryAPI
from owi.metadatabase.locations.io import LocationsAPI
print("Installation successful")
Optional extras¶
Soil extension¶
Results extension¶
SHM extension¶
Multiple extensions together¶
Verify an extension install¶
from owi.metadatabase.results import ResultsAPI
from owi.metadatabase.shm import ShmAPI
from owi.metadatabase.soil import SoilAPI
print(SoilAPI)
print(ResultsAPI)
print(ShmAPI)
Documentation tooling¶
Full development environment¶
Troubleshooting¶
Import errors after upgrade¶
Make sure the old package is fully removed before installing the new one:
Namespace package conflicts¶
If imports fail with ModuleNotFoundError, remove stale installations:
Note
If you use zsh, wrap extras in quotes because [ and ] are glob
characters: pip install "owi-metadatabase[soil,results,shm]".