This package provides a python-installable CLI written in Rust
for interacting with opsml.
poetry add opsml-cli
pip install opsml-cli
To get a list of commands, run opsml-cli help
.
$ opsml-cli list-cards --registry model
# Download model only
$ opsml-cli download-model --name {{model}} --repository {{repository}} --version {{version}} # name repository version
$ opsml-cli download-model --uid {{uid}} # model from uid
# Download onnx version of model
$ opsml-cli download-model --name model --repository {{repository}} --version 1.0.0 --onnx
# Download model and preprocessor (if available)
opsml-cli download-model --name model -- version 1.0.0 --repository {{repository}} --onnx --preprocessor
If you'd like to contribute, be sure to check out our contributing guide!
Thanks goes to these phenomenal projects and people and people for creating a great foundation to build from!