Run Commands

Language Clients

Learn about our available language clients.

April 4, 2024

pachctl is the command-line tool you use to interact with a HPE ML Data Management cluster in your terminal. However, external applications might need to interact with HPE ML Data Management directly through our APIs.

In this case, HPE ML Data Management offers language specific SDKs in Go and Python.

Go Client #

The HPE ML Data Management team officially supports the Go client. It implements most of the functionalities provided with the pachctl CLI tool.

Generate And Serve The godocs Locally #

Golang’s package (godoc), installed by default by the Go installer, can generate the Go client’s documentation from the go code.

To generate the docs:

  • Set your GOPATH:

    export PATH=$(go env GOPATH)/bin:$PATH
  • In HPE ML Data Management’s root directory, start the godocs server:

    go run -http=:6060 -goroot="<your go root directory - for example: /Users/yourusername/pachyderm>"

    See for the complete list of flags available.

  • In your favorite browser, run localhost:6060/pkg/


A compatible version of gRPC is needed when using the Go client. You can identify the compatible version by searching for the version number next to replace => in then:

go get
cd $GOPATH/src/
git checkout v1.29.1

Running Go Examples #

The HPE ML Data Management godocs reference (see generation instructions above) provides examples of how you can use the Go client API. You need to have a running HPE ML Data Management cluster to run these examples.

Make sure that you use your pachd_address in client.NewFromAddress("<your-pachd-address>:30650"). For example, if you are testing on minikube, run minikube ip to get this information.

See the OpenCV Example in Go for more information.

Python Clients #

Pachyderm-SDK (New) #

The Python client pachyderm-sdk is the new Python client for HPE ML Data Management and is officially supported by the HPE ML Data Management team.

Python-Pachyderm (Old) #


The Python client python-pachyderm will be deprecated in 9 months as of 08/10/2023.


Use python-pachyderm v7.3 with HPE ML Data Management 2.7.x.

You will find all you need to get you started or dive into the details of the available modules and functions in the API documentation, namely:

Node Client #

Our Javascript client node-pachyderm has been deprecated.

Other languages #

HPE ML Data Management uses a simple protocol buffer API. Protobufs support other languages, any of which can be used to programmatically use HPE ML Data Management. We have not built clients for them yet. It is an easy way to contribute to HPE ML Data Management if you are looking to get involved.