Skip to content
master
Go to file
Code

README.md

openEO Python Driver

Status Build Status

Python version: 3.6 or higher

This Python package provides a Flask based REST frontend for openEO backend drivers. It implements the general REST request handling of the openEO API and dispatches the real work to a pluggable openEO backend driver (such as the openEO GeoPySpark driver).

Installation

  • Clone this repo

  • Check out the git submodules

      git submodule update --init
    
  • Set up a virtual environment and install openeo_driver and it's dependencies.

    • basic install:

        pip install . --extra-index-url https://artifactory.vgt.vito.be/api/pypi/python-openeo/simple
      
    • If you plan to do development/testing, install it in editable mode and include additional dependencies:

        pip install -e .[dev] --extra-index-url https://artifactory.vgt.vito.be/api/pypi/python-openeo/simple
      

Running locally

For development, you can run the service using Flask:

export FLASK_APP=openeo_driver.views
export FLASK_DEBUG=1 
flask run

For production, a gunicorn server script is available:

python openeo_driver/server.py

About

Common parts of a Python driver implementation for OpenEO

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.