Python package for mineral prospectivity mapping
Installation · Usage · Roadmap · Contributing · License
EIS Toolkit is a comprehensive Python package for mineral prospectivity mapping and analysis. EIS Toolkit is developed as part of [EIS Horizon EU project](https://eis-he.eu/), which aims to aid EU's efforts in the green transition by securing critical raw materials. EIS Toolkit serves both as a standalone library that brings together and implements relevant tools for mineral prospectivity mapping and as a computational backend for [EIS QGIS Plugin](https://github.com/GispoCoding/eis_qgis_plugin). > [!NOTE] > This repository is still in development. Check the [wiki page of EIS Toolkit](https://github.com/GispoCoding/eis_toolkit/wiki) for list of tools and [roadmap](#roadmap) for more details about the project. ## Installation We recommend installing EIS Toolkit in an empty virtual environment to ensure compatibility between package versions. EIS Toolkit is available in conda-forge and PyPI and can be installed with one of the following commands. ```console pip install eis_toolkit ``` ```console conda install -c conda-forge eis_toolkit # On Windows, tensorflow must be installed from the anaconda channel # Consequently, channel priority must be flexible, which can be explicitly # done using --no-channel-priority conda install -c conda-forge eis_toolkit --no-channel-priority ``` A Python wheel can be downloaded also from the [releases page](https://github.com/GispoCoding/eis_toolkit/releases) of this GitHub repository. > [!TIP] > GDAL needs to be installed separately on Windows when using pip / PyPI. If you have trouble installing EIS Toolkit due to GDAL, you can download a compatible GDAL wheel (for example from [this repository](https://github.com/cgohlke/geospatial-wheels/releases)), install it first, and then attempt to install EIS Toolkit again. ## Usage EIS Toolkit can be used in Python scripts, Jupyter notebooks or via the CLI. At the moment, most tools have their own module and are imported like this: ```python # In general from eis_toolkit.category.module import module_function # Some examples from eis_toolkit.raster_processing.reprojecting import reproject_raster from eis_toolkit.exploratory_analyses.pca import compute_pca ``` The documentation of EIS Toolkit can be read [here](https://gispocoding.github.io/eis_toolkit/). You can find several Jupyter notebooks in this repostiory that demonstrate how tools of EIS Toolkit can be used. ### EIS QGIS Plugin For those that prefer using tools of EIS Toolkit via a graphical user interface, check [EIS QGIS Plugin](https://github.com/GispoCoding/eis_qgis_plugin). The plugin includes the main GUI application called EIS Wizard and all individual EIS Toolkit tools as QGIS processing algorithms. The plugin is developed by the same core team that develops EIS Toolkit. ### CLI EIS Toolkit includes a [Typer](https://typer.tiangolo.com/) command-line interface that serves as a common interface for integrating the toolkit with external applications, such as QGIS. The CLI can be used directly too, for example ```console eis resample-raster-cli --input-raster path/to/raster.tif --output-raster path/to/output.tif --resolution 50 --resampling-method bilinear ``` For general help, use ```console eis --help ``` or help for a tool ```console eis