databricks-python-imports
OfficialShare Python code across Databricks notebooks.
Authordatabricks-solutions
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of reusing Python code across multiple Databricks notebooks, especially in environments managed by Databricks Asset Bundles, by providing clear patterns for importable modules.
Core Features & Use Cases
- Pure Python Modules: Enables the creation of importable Python files from Databricks notebooks.
- Asset Bundle Compatibility: Provides the necessary
sys.pathsetup for imports when using Databricks Asset Bundles. - Use Case: When developing a complex data pipeline with multiple notebooks, you can create shared utility functions or configuration modules in pure Python files and import them into any notebook, ensuring consistency and reducing code duplication.
Quick Start
Ensure your shared code is a pure Python file and use standard Python import statements after any dbutils.library.restartPython() calls.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: databricks-python-imports Download link: https://github.com/databricks-solutions/vibe-coding-workshop-template/archive/main.zip#databricks-python-imports Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.