This project is a starting point for working with the openEO platform. It includes a basic Python script and a Jupyter notebook to get you started.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to have Python 3.12 or higher and uv installed on your system. You can install uv by following the official instructions: https://github.com/astral-sh/uv
-
Create a virtual environment:
uv venv
-
Activate the virtual environment:
source .venv/bin/activateFor Windows, use:
.venv\Scripts\activate
-
Install the dependencies:
uv pip install -e .[dev]
This will install all the necessary packages for the project from
pyproject.toml, including the development dependencies.
To run the main script, execute the following command:
python main.pyThis project is set up to work with Jupyter notebooks inside VS Code.
- Open the project in VS Code.
- Install the recommended extensions. VS Code will likely prompt you to install the Python and Jupyter extensions if you don't have them already.
- Select the Python interpreter. Open the command palette (
Ctrl+Shift+PorCmd+Shift+P) and type "Python: Select Interpreter". Choose the interpreter from your.venvdirectory. - Open the
prube.ipynbfile. You can now run the cells in the notebook and interact with the openEO platform.