databricks-python-imports

Installation
SKILL.md

Databricks Python Imports and Code Sharing

Core Principle: Pure Python Files for Importable Code

Key Rule: To share code between Databricks notebooks using standard Python imports, the shared code must be a pure Python file (.py), not a Databricks notebook.

Reference: Share code between Databricks notebooks

⚠️ CRITICAL: Asset Bundle Path Setup

When deploying notebooks via Databricks Asset Bundles, you MUST add a sys.path setup block to enable imports from other folders. Without this, you'll get ModuleNotFoundError: No module named 'src'.

Required Path Setup Pattern

Add this block immediately after # Databricks notebook source:

Installs
1
GitHub Stars
2
First Seen
Mar 8, 2026
databricks-python-imports — databricks-solutions/vibe-coding-workshop-template