The Map SDK can be used in Databricks notebooks.


Databricks allows installing packages in a "global" way, so that the package is accessible to all users in a cluster, or a "local" way, so that the package is accessible only by a single notebook, without interfering with the general environment. In most cases, the local installation is preferred.


For versions 7.2 and above, Databricks recommends using %pip instead of dbutils.library.installPyPI

%pip install

To install the package globally on a cluster, you can use the system pip:

%sh pip install


The Databricks notebook API is locked down and does not support full two way communication.

This means that while it is possible to create an map in a Databricks notebook, it is not possible to further interact with it. For this reason, we provide HTML rendering for those working in a Databricks environment. SDK function calls after a map is rendered will not update the map automatically, and the map must be re-rendered to update.

Get started by creating a map:

from unfolded.map_sdk import create_map
unfolded_map = create_map()

Learn about other functions in our API overview.

Sign In