Skip to content

Open-EO/openeo-python-driver

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

openEO Python Driver

Status

Python version: 3.8 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 local dummy service

For development, you can run a dummy service using Flask:

export FLASK_APP=openeo_driver.dummy.local_app
export FLASK_DEBUG=1 
flask run

Now, visit http://127.0.0.1:5000/openeo/1.1.0/

About

Common parts of a Python driver implementation for OpenEO

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages