makinacorpus/python-terralego

Name: python-terralego

Owner: Makina Corpus

Description: Python bindings for Terralego services.

Created: 2017-03-02 09:34:46.0

Updated: 2017-04-03 01:52:24.0

Pushed: 2017-07-03 09:17:27.0

Homepage: null

Size: 18

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Terralego

Build Status Documentation Status

Getting started

Install the terralego python binding:

p install terralego

You need to set the configuration before using the different methods:

 terralego.conf import settings

ings.USER = 'my_user'
ings.PASSWORD = 'my_password'

Alternatively, you can set the TERRALEGO_USER and TERRALEGO_PASSWORD environment variables.

You can now use the terralego services, for example:

 terralego.geodirectory import create_entry

y_id = create_entry('POINT(47.2556155 -1.5364181)', ["city", "nantes"])
Exceptions

In case of errors, the exceptions raised are the one from requests.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.