Skip to content

0.4.0

Choose a tag to compare

@robbibt robbibt released this 16 Jul 04:46
· 54 commits to develop since this release
99c41f3

What's Changed

This PR makes major changes to DEA Tools Python packaging, aimed at making the package easier to install by making difficult dependencies like datacube optional extras. All Python code has been formatted for consistency using ruff, and Python packaging and publication has been updated to a more modern approach using pyproject.toml and uv.

You can now install DEA Tools more easily into any environment from PyPI. By only minimal dependencies will be installed:

pip install dea-tools

To install with optional dependencies:

# Install with datacube dependencies
pip install dea-tools[datacube]

# Install with dependencies required to launch Jupyter Notebooks
pip install dea-tools[jupyter] 

 # Install with optional dependencies required for DEA Notebooks code examples
pip install dea-tools[jupyter,dask_gateway,hdstats,notebooks]

# Install with all optional dependencies (including difficult to install packages)
pip install dea-tools[all]   

Other new features include:

Breaking changes:

  • Tide modelling functionality in dea_tools.coastal is now deprecated and roomed in favour of eo-tides
  • dea_tools.spatial.interpolate_2d and contours_to_arrays functions now deprecated and removed

Pull requests

Full Changelog: 0.3.6...0.4.0