<commit_before>Django-Spillway
===============

.. image:: https://travis-ci.org/bkg/django-spillway.svg?branch=master
    :target: https://travis-ci.org/bkg/django-spillway
.. image:: https://coveralls.io/repos/bkg/django-spillway.png?branch=master
    :target: https://coveralls.io/r/bkg/django-spillway?branch=master

`Django <http://www.djangoproject.com/>`_ and `Django REST Framework <http://www.django-rest-framework.org/>`_ integration of raster and feature based geodata.

Spillway builds on the immensely marvelous Django REST Framework by providing
facilities for the handling of geospatial formats such as GeoTIFF, GeoJSON, and
KML/KMZ.

Specific attention has been paid to speedy serialization of geometries from
spatial backends which avoids the cost of unneccessary re-serialization in
Python.

Basic Usage
-----------

Add vector response formats such as GeoJSON, KML/KMZ, and SVG to your API.

.. code-block:: python

    from spillway import generics
    from myapp.models import County

    urlpatterns = patterns('',
        url(r'^counties/$',<commit_msg>Use coveralls svg link<commit_after>Django-Spillway
===============

.. image:: https://travis-ci.org/bkg/django-spillway.svg?branch=master
    :target: https://travis-ci.org/bkg/django-spillway
.. image:: https://img.shields.io/coveralls/bkg/django-spillway.svg
    :target: https://coveralls.io/r/bkg/django-spillway?branch=master

`Django <http://www.djangoproject.com/>`_ and `Django REST Framework <http://www.django-rest-framework.org/>`_ integration of raster and feature based geodata.

Spillway builds on the immensely marvelous Django REST Framework by providing
facilities for the handling of geospatial formats such as GeoTIFF, GeoJSON, and
KML/KMZ.

Specific attention has been paid to speedy serialization of geometries from
spatial backends which avoids the cost of unneccessary re-serialization in
Python.

Basic Usage
-----------

Add vector response formats such as GeoJSON, KML/KMZ, and SVG to your API.

.. code-block:: python

    from spillway import generics
    from myapp.models import County

    urlpatterns = patterns('',
        url(r'^counties/$',
{'fraction_non_alphanumeric': 0.12308406874129123, 'fraction_numerical': 0.0, 'mean_word_length': 4.092198581560283, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1108266', 'n_tokens_mistral': 711, 'n_tokens_neox': 654, 'n_words': 196}