eis_toolkit
eis_toolkit copied to clipboard
Python library for mineral prospectivity mapping
EIS Toolkit
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, 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.
[!NOTE]
This repository is still in development. Check the wiki page of EIS Toolkit for list of tools and roadmap for more details about the project.
Installation
You can find the latest release of EIS Toolkit in the releases page as a Python wheel. To install EIS Toolkit, download the wheel and install with pip
pip install eis_toolkit-0.4.0-py3-none-any.whl
We recommend installing EIS Toolkit in an empty virtual environment to ensure compatibility between package versions.
[!NOTE] EIS Toolkit has not yet been released in PyPi or Conda, but will be at a later stage.
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:
# 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
You can find several Jupyter notebooks in this repostiory that demonstrate how tools of EIS Toolkit can be used. The documentation of EIS Toolkit can be read here.
EIS QGIS Plugin
For those that prefer using tools of EIS Toolkit via a graphical user interface, check 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 command-line interface that serves as a common interface for integrating the toolkit with external applications, such as QGIS. However, it can be used directly too. To use the CLI, simply use the command
eis
or
eis --help
to get started. However, please note that the CLI has been primarily designed to communicate with external programs and may feel clunky in direct use.
Roadmap
- Milestone 1: Beta release 0.1 (November 2023). The toolkit should have the basic funtionalities required for a full MPM workflow. Official testing phase begins. The plugin will be still under active development.
- Milestone 2: Release 1.0 (April 2024). All features should be incorporated at this time and the toolkit useful for actual MPM work. Testing will continue, potential bugs will be fixed and the user experience refined.
Contributing
We welcome contributions to EIS Toolkit in various forms:
- ✨ Developing new tools
- 🐞 Fixing bugs in the code
- 📝 Bug and other reporting
- 💡 Feature suggestions
To contribute with code or documentation, you'll need a local development environment and a copy of the repository. Please refer to the For developers section below for detailed setup instructions. If you're interested in bug reporting or making feature suggestions, you can familiarize yourself with the toolkit and test it as described in the Usage section. When you encounter bugs or have ideas for new features, you can create an issue in this repository.
For developers
All contributing developers need Git and a copy of the repository.
git clone https://github.com/GispoCoding/eis_toolkit.git
After this you have three options for setting up your local development environment.
- Docker - instructions
- Poetry - instructions
- Conda - instructions
For general contributing guidelines, see CONTRIBUTING.
License
Licensed under the EUPL-1.2 or later.