A python client for connecting to all the services provided by https://dandelion.eu
Switch branches/tags
Clone or download
vad DandelionException must not inherit Exception
It makes no sense to inherit BaseException, that's not captured in standard try/except
Latest commit bd622ae Aug 2, 2018

README.rst

https://travis-ci.org/SpazioDati/python-dandelion-eu.png?branch=master https://coveralls.io/repos/SpazioDati/python-dandelion-eu/badge.png?branch=master Latest PyPI version Number of PyPI downloads

python-dandelion-eu

Bring the power of the dandelion.eu semantic and datagem API to your python applications and scripts! Semantic in python couldn't be easier.

>>> from dandelion import DataTXT
>>> datatxt = DataTXT(app_id='YOUR_APP_ID', app_key='YOUR_APP_KEY')
>>> response = datatxt.nex('The doctor says an apple is better than an orange')
>>> for annotation in response.annotations:
      print annotation
...

Register on dandelion to obtain your authentication keys and enrich your application with our semantic intelligence.

Installation

dandelion-eu is available on PyPI install it simply with:

pip install dandelion-eu

Documentation

Documentation is available on ReadTheDocs.