sadikovi / databricks-repl

Unofficial Databricks REPL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

databricks-repl

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.

Usage

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()

About

Unofficial Databricks REPL

License:MIT License


Languages

Language:Python 100.0%