Installation
============
Required dependencies
---------------------
- `Xarray `__
.. _optional_dependencies:
Optional dependencies
---------------------
recursive-diff supports Xarray objects backed by `Dask `__, as well
as Dask delayed objects. It is recommended to use Dask to compare files with
:func:`~recursive_diff.recursive_open` or the :doc:`cli`.
Dependencies needed to open files:
- **MessagePack:** `msgpack `__
- **YAML:** `PyYAML `__
- **netCDF v3:** `netCDF4 `__
or `scipy `__
- **netCDF v4:** `netCDF4 `__
or `h5netcdf `__
- **Zarr v2/v3:** `Zarr `__
Installing with conda
---------------------
.. code-block:: bash
conda install -c conda-forge recursive_diff
Installing with pip
-------------------
For a minimal installation:
.. code-block:: bash
pip install recursive-diff
You may also install all optional dependencies to enable
support for all file formats and Dask:
.. code-block:: bash
pip install recursive-diff[all]
.. _mindeps_policy:
Minimum dependency versions
---------------------------
This project adopts a rolling policy based on `SPEC 0
`_ regarding the minimum
supported version of its dependencies.
You can see the actual minimum tested versions in `pyproject.toml
`_.