Metadata-Version: 2.0
Name: django-dandelion
Version: 0.1.2
Summary: Use the Dandelion API with Django
Home-page: https://github.com/AlessioBazzanella/django-dandelion
Author: Alessio Bazzanella
Author-email: alessio.bazzanella@me.com
License: MIT
Keywords: django-dandelion
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Requires-Dist: Django (>=1.8)
Requires-Dist: requests (>=2.13.0)
Requires-Dist: six (>=1.10.0)

.. _Dandelion: https://dandelion.eu

Django Dandelion
=============================

.. image:: https://badge.fury.io/py/django-dandelion.svg
    :target: https://badge.fury.io/py/django-dandelion

.. image:: https://travis-ci.org/AlessioBazzanella/django-dandelion.svg?branch=master
    :target: https://travis-ci.org/AlessioBazzanella/django-dandelion

.. image:: https://codecov.io/gh/AlessioBazzanella/django-dandelion/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/AlessioBazzanella/django-dandelion

Use the Dandelion_ API with Django

Documentation
-------------

The full documentation is at https://django-dandelion.readthedocs.io.

Quickstart
----------

Install Django Dandelion:

.. code-block:: bash

    $ pip install django-dandelion

Add ``django-dandelion`` to your ``INSTALLED_APPS``

.. code-block:: python

    INSTALLED_APPS = [
        # ...
        'django-dandelion',
    ]

Add the entry DANDELION_TOKEN. The recommended method is to setup your production keys using environment
variables. This helps to keep them more secure. Your test keys can be displayed in your code directly.

The following entry look for your DANDELION_TOKEN in your environment and, if it can’t find them,uses your test keys
values instead:

.. code-block:: python

    DANDELION_TOKEN = os.environ.get("DANDELION_TOKEN", "<your dandelion token>")

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

You can also change the url of the host and decide whether to use the cache:

.. code-block:: python

    DANDELION_HOST = 'api.dandelion.eu'  # Default 'api.dandelion.eu'
    DANDELION_USE_CACHE = True  # Default True

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox




.. _KeepAChangelog: http://keepachangelog.com/
.. _SemanticVersioning: http://semver.org/

Change Log
----------

All notable changes to this project will be documented in this file.

The format is based on KeepAChangelog_ and this project adheres to SemanticVersioning_.


[0.1.2] - 2017-03-10
++++++++++++++++++++

Added
~~~~~
* User-defined spots (EntityExtraction.UserDefinedSpots())


[0.1.1] - 2017-03-10
++++++++++++++++++++

Fixed
~~~~~
* PyPI version release


[0.1.0] - 2017-03-10
++++++++++++++++++++

* First release on PyPI.


