Datapane provides an API which can be accessed using the Python library or CLI. This API allows you to deploy datasets and assets from your existing environment, and build boards programmatically.
Installing the Datapane package will install both the CLI and client library.
$ pip3 install datapane
Login to your datapane account. To login, you first need an API token. Once you have created an account on Datapane, you can find your token in your Settings Page.
$ datapane loginEnter API Token: [Enter your API Token here]
Check you are connected to a Datapane server.
$ datapane ping
Full documentation is available in the Readme of the Python package repository.