This release is a pre-release and may not be stable for production use.
databricks-mason
Mason is an experimental CLI for Databricks custom agent preview APIs and deployments. It manages memory, sessions, tracing, and deployments from one authenticated command.
The underlying APIs are in preview and may need workspace enablement.
Installation
From PyPI:
pip install databricks-mason
From source:
pip install 'git+https://github.com/databricks/databricks-ai-bridge.git#subdirectory=integrations/mason'
For tracing commands, install Mason with tracing extras:
pip install 'databricks-mason[tracing]'
Authentication
Mason uses Databricks authentication. If you do not already have credentials, authenticate a named profile first. You can then ask Mason to validate and remember that profile:
databricks auth login --profile <profile>
mason login --profile <profile>
mason sessions stores list
mason login does not create credentials; it stores the selected profile in
~/.mason/config.json. mason logout forgets that selection without revoking the
underlying credentials. If Databricks SDK default authentication is already configured,
you can skip mason login. You can also pass --profile/-p for an individual command.
Use --output json for scripting.
Commands
mason [-p <profile>] [-o text|json]
login [--profile P]
logout
memory
stores create | list | get | update | delete
entries create | get | list | search | update | delete
sessions create | list | get | update | delete | fork
stores create | list | get | update | delete
items list | append | pop | clear
tracing
setup --catalog C --schema S [--experiment E]
list | get | instrument
deploy <name> --source PATH [--with-memory-store N]
[--with-session-store N] [--with-traces C.S] [--create-stores]
deployments list | get | logs | start | stop | delete
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file databricks_mason-0.1.0.dev0.tar.gz.
File metadata
- Download URL: databricks_mason-0.1.0.dev0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9d90b8b133c8d13c92d76ac19eb6ea325f9e47add9f5777bc0e8637d8310a12
|
|
| MD5 |
8a47b4f84ee7c5ddcd0293679e435a06
|
|
| BLAKE2b-256 |
fbaf373fdd4f1d36bc08b9d75d585bd33d5f92b8a1dae695ef44bf953126e0aa
|
File details
Details for the file databricks_mason-0.1.0.dev0-py3-none-any.whl.
File metadata
- Download URL: databricks_mason-0.1.0.dev0-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5d6eaf18b4d75e6cb05e551bbfef86bca9859ef97b4dce41d8f052898b0e0ae
|
|
| MD5 |
82519cf26a86ee3cf210990e1189df89
|
|
| BLAKE2b-256 |
26334fb3a6dd998df1b27649439f2c8397341de176264d67a0d1225b3257f715
|