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
- Host: GitHub
- URL: https://github.com/excites/geokey-cartodb
- Owner: ExCiteS
- License: mit
- Created: 2015-03-09T18:31:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-11-03T10:11:20.000Z (over 6 years ago)
- Last Synced: 2025-03-04T19:42:12.311Z (2 months ago)
- Topics: cartodb, django, geokey, geokey-extension
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 16
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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-cartodbgeokey-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 greaterInstall 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/*