An open API service indexing awesome lists of open source software.

https://github.com/excites/geokey-cartodb

API endpoints for CartoDB
https://github.com/excites/geokey-cartodb

cartodb django geokey geokey-extension

Last synced: 2 months ago
JSON representation

API endpoints for CartoDB

Awesome Lists containing this project

README

        

.. image:: https://img.shields.io/pypi/v/geokey-cartodb.svg
:alt: PyPI Package
:target: https://pypi.python.org/pypi/geokey-cartodb

.. image:: https://img.shields.io/travis/ExCiteS/geokey-cartodb/master.svg
:alt: Travis CI Build Status
:target: https://travis-ci.org/ExCiteS/geokey-cartodb

.. image:: https://img.shields.io/coveralls/ExCiteS/geokey-cartodb/master.svg
:alt: Coveralls Test Coverage
:target: https://coveralls.io/r/ExCiteS/geokey-cartodb

geokey-cartodb
==============

Provide API endpoints that can be used to import GeoKey data into CartoDB.

Install
-------

geokey-cartodb requires:

- Python version 2.7
- GeoKey version 1.6 or greater

Install the extension from PyPI:

.. code-block:: console

pip install geokey-cartodb

Or from cloned repository:

.. code-block:: console

cd geokey-cartodb
pip install -e .

Add the package to installed apps:

.. code-block:: console

INSTALLED_APPS += (
...
'geokey_cartodb',
)

Migrate the models into the database:

.. code-block:: console

python manage.py migrate geokey_cartodb

You're now ready to go!

Test
----

Run tests:

.. code-block:: console

python manage.py test geokey_cartodb

Check code coverage:

.. code-block:: console

coverage run --source=geokey_cartodb manage.py test geokey_cartodb
coverage report -m --omit=*/tests/*,*/migrations/*