hopsworks-go is the SDK for interacting with a Hopsworks cluster.
WARNING: Package is still under development. Do not use in production.
Instantiate a connection and get the project object
client := hopsworks.NewClient(os.Getenv("HOPSWORKS_API_KEY"))
project, _ := client.Login(ctx)
Get a model registry and model metadata
mr, _ := project.GetModelRegistry(ctx)
model, _ := mr.GetModel(ctx, "my-model", 1)
Download the model for further use
model.Download(ctx)
We don't have any guidelines yet. But contributors are welcome!