Databricks SDK Patterns
Implements production-ready Python SDK patterns for Databricks to ensure type-safe, efficient, and resilient integrations.
This skill equips Claude with idiomatic patterns for the Databricks Python SDK, enabling the creation of robust data engineering workflows and infrastructure automation. It provides standardized implementations for singleton client management with profile support, comprehensive error handling for transient and permanent failures, and automated resource lifecycle management using context managers. By leveraging type-safe dataclasses instead of raw dictionaries, it helps developers build more maintainable and error-resistant ETL pipelines and workspace management tools within the Databricks ecosystem.
Características Principales
01Singleton WorkspaceClient initialization with profile-based caching
02Context managers for ephemeral cluster lifecycle management
03Type-safe job construction using native SDK dataclasses
04Paginated collection helpers with integrated progress logging
059 GitHub stars
06Structured error handling for transient and permanent API failures
Casos de Uso
01Building resilient ETL pipelines with automated cluster management and error recovery
02Refactoring legacy Databricks scripts into production-grade Python SDK code
03Automating multi-workspace inventory and resource health checks