Unofficial Databricks REPL API.
Example of authenticating in Databricks Community Edition or Databricks Platform with user-based authentication. Does not use Databricks Token API, so it can be used in CE as well.
db = DatabricksApi("https://community.cloud.databricks.com")
session = db.login("user", "password")
# by default, user has only one workspace
workspaces = session.list_workspaces()
workspace = workspaces[0]
clusters = workspace.list_clusters()