databricks-app-python

Build Python Databricks apps with authentication, resource integration, and deployment patterns.

1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/leary-poken/ai-dev-kit --skill databricks-app-python-leary-poken
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-app-python
Source: https://github.com/leary-poken/ai-dev-kit/tree/main/databricks-skills/databricks-app-python
Command: npx skills add https://github.com/leary-poken/ai-dev-kit --skill databricks-app-python-leary-poken

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds robust Python-based Databricks applications by providing a structured guide to framework selection, authentication patterns, resource integration, and deployment strategies that streamline development and operation in Databricks environments.

Core Features & Use Cases

  • Framework-aware patterns for Dash, Streamlit, Gradio, Flask, FastAPI, and Reflex, including app.yaml conventions and deployment considerations.
  • Secure authorization guidance (app-level service principal and user-token-based access) and per-framework examples to protect data and resources.
  • Resource integration patterns using valueFrom to connect to SQL warehouses, Lakebase PostgreSQL, model serving endpoints, secrets, and Unity Catalog.
  • End-to-end deployment guidance across CLI, Asset Bundles, and MCP tools to enable reproducible, portable apps.

Quick Start

Launch a sample Python Databricks app using the recommended framework and deployment pattern.

Frequently Asked Questions about databricks-app-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Python Databricks app using Streamlit or Dash?

To deploy a Python Databricks app, use framework-specific deployment commands alongside CLI, Asset Bundles, or MCP tools. This ensures reproducible and portable deployments for frameworks like Streamlit, Dash, Gradio, Flask, FastAPI, and Reflex.

What is the best way to authenticate Python apps on Databricks?

The best way to authenticate Python apps on Databricks is using the Config() method. This enforces secure, app-level service principal or user-token-based access to protect data and resources across multiple environments.

How do I connect a Databricks app to SQL warehouses and Lakebase PostgreSQL?

You connect a Databricks app to SQL warehouses and Lakebase PostgreSQL using valueFrom resource integration patterns. This securely links your app to SQL warehouses, Lakebase PostgreSQL, model serving endpoints, and Unity Catalog.

Can I use FastAPI and Flask to build production-ready apps in Databricks?

Yes, you can use FastAPI and Flask to build production-ready apps in Databricks. The skill provides framework-aware patterns including app.yaml conventions and deployment strategies to ensure secure, portable applications.

Why does my Databricks app deployment fail across different environments?

Databricks app deployments often fail across environments due to missing multi-environment deployment workflows or incorrect app.yaml conventions. Applying Config() for authentication and valueFrom for resources ensures portable configurations.

Do I need Asset Bundles for reproducible Databricks app deployments?

Yes, Asset Bundles are recommended for reproducible Databricks app deployments. They provide end-to-end deployment guidance alongside CLI and MCP tools, enabling portable and reproducible app configurations across environments.