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.

Files for django-geohash-cluster, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_geohash_cluster-0.1.0-py2.py3-none-any.whl (6.1 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size django-geohash-cluster-0.1.0.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page