dbx is a Python CLI extension for Databricks that simplifies project development, deployment, and management workflows, especially for MLOps. It provides tools for structuring Databricks projects, building artifacts, and deploying them to various Databricks environments. The current version is 0.8.19, and it maintains an active release cadence with frequent updates.
pip install dbxVerified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic access to `dbx` for retrieving project configuration and listing profiles. This requires an existing `dbx` project setup with `dbx.json` and `deployment.yml` files, and configured Databricks credentials (e.g., via `dbx configure` or environment variables).
Migrate your project configuration from `dbx_project.py` to the new `dbx.json` format. Refer to the official dbx migration guide for detailed steps.
Ensure you have run `dbx configure` to set up a profile, or explicitly set `DBX_HOST` and `DBX_TOKEN` environment variables for your session. Use `dbx configure --profile <profile_name>` to manage multiple profiles.
Always double-check your `deployment.yml` to ensure the `workspace_path` and `target` definitions (e.g., `dev`, `staging`, `prod`) correctly point to your desired Databricks workspace locations and clusters.