Skip to content

Delta utils

Requirements

  • Python 3.12
  • Databricks Runtime Version 17.3 and above

Installation

Look for the latest version in the Github Tags section of this repo.

pip install https://github.com/husqvarnagroup/delta_utils/archive/refs/tags/v0.7.0.zip

Installation on a cluster in Databricks

  • Go to your cluster in Databricks
  • Go to Libraries
  • Click Install new
  • Select PyPI
  • As the package, enter https://github.com/husqvarnagroup/delta_utils/archive/refs/tags/v0.7.0.zip
  • Press Install

Development

For package management we use poetry. Go to root of project then enter

# Install all packages
uv sync

Mkdocs

To start the documentation server locally enter

mkdocs serve

Run tests

Set TZ=UTC

uv run pytest