Skip to main content

High efficient clustering algorithm based on geohash of points

Project description

https://badge.fury.io/py/django-geohash-cluster.svg https://travis-ci.org/EvgeneOskin/django-geohash-cluster.svg?branch=master https://codecov.io/gh/EvgeneOskin/django-geohash-cluster/branch/master/graph/badge.svg

High efficient clustering algorithm based on geohash of points

Documentation

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

Quickstart

Install django geohash cluster:

pip install django-geohash-cluster

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'geohash_cluster',
    ...
)

To use with :Django Rest Framework:http://www.django-rest-framework.org/

$ pip install geohash_cluster[rest]
INSTALLED_APPS = (
    ...
    'rest_framework',
    'rest_framework_gis',
    ...
    'geohash_cluster',
    ...
)

Features

  • A Pointed model with PointField.

Running Tests

Install dependencies:

$ pipenv install --dev
$ pip install .[rest]

Does the code actually work?

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

Credits

Tools used in rendering this package:

History

0.1.0 (2017-07-25)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-geohash-cluster-0.1.0.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

django_geohash_cluster-0.1.0-py2.py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page