Metadata-Version: 2.0
Name: django-geocoding
Version: 0.1.1
Summary: Abstract base models and mixins to store address and GPS coordinates info
Home-page: https://github.com/wooyek/django-geocoding
Author: Janusz Skonieczny
Author-email: js+pypi@bravelabs.pl
License: MIT license
Description-Content-Type: UNKNOWN
Keywords: django-geocoding
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django :: 1.10
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Requires-Python: >=2.7
Requires-Dist: click
Requires-Dist: django-environ
Requires-Dist: django-formtools
Requires-Dist: django-import-export
Requires-Dist: django-localflavor
Requires-Dist: django-pascal-templates
Requires-Dist: django-powerbank
Requires-Dist: opencage
Requires-Dist: psycopg2
Requires-Dist: pycountry
Requires-Dist: pytz
Requires-Dist: requests
Requires-Dist: django (>=1.8)
Requires-Dist: pathlib; python_version < "3.3"
Requires-Dist: enum34; python_version < "3.4"
Requires-Dist: django (<2.0); python_version < "3.5"
Requires-Dist: django (>=2.0); python_version >= "3.5"
Provides-Extra: factories
Requires-Dist: factory-boy; extra == 'factories'

===========================
Django geocoding for models
===========================


.. image:: https://img.shields.io/pypi/v/django-geocoding.svg
        :target: https://pypi.python.org/pypi/django-geocoding

.. image:: https://img.shields.io/travis/wooyek/django-geocoding.svg
        :target: https://travis-ci.org/wooyek/django-geocoding

.. image:: https://readthedocs.org/projects/django-geocoding/badge/?version=latest
        :target: https://django-geocoding.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status
.. image:: https://coveralls.io/repos/github/wooyek/django-geocoding/badge.svg?branch=develop
        :target: https://coveralls.io/github/wooyek/django-geocoding?branch=develop
        :alt: Coveralls.io coverage

.. image:: https://codecov.io/gh/wooyek/django-geocoding/branch/develop/graph/badge.svg
        :target: https://codecov.io/gh/wooyek/django-geocoding
        :alt: CodeCov coverage

.. image:: https://api.codeclimate.com/v1/badges/0e7992f6259bc7fd1a1a/maintainability
        :target: https://codeclimate.com/github/wooyek/django-geocoding/maintainability
        :alt: Maintainability

.. image:: https://img.shields.io/github/license/wooyek/django-geocoding.svg
        :target: https://github.com/wooyek/django-geocoding/blob/develop/LICENSE
        :alt: License

.. image:: https://img.shields.io/twitter/url/https/github.com/wooyek/django-geocoding.svg?style=social
        :target: https://twitter.com/intent/tweet?text=Wow:&url=https://github.com/wooyek/django-geocoding
        :alt: Tweet about this project

.. image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
        :target: https://saythanks.io/to/wooyek

Abstract base models and mixins to store address and GPS coordinates info

* Free software: MIT license
* Documentation: https://django-geocoding.readthedocs.io.

Features
--------

* AbstractLocation base model with opencage geocoding support

Demo
----

To run an example project for this django reusable app, click the button below and start a demo serwer on Heroku

.. image:: https://www.herokucdn.com/deploy/button.png
    :target: https://heroku.com/deploy
    :alt: Deploy Django Opt-out example project to Heroku


Quickstart
----------

Install Django geocoding for models::

    pip install django-geocoding

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'django_geocoding.apps.DjangoGeocodingConfig',
        ...
    )

Add Django geocoding for models's URL patterns:

.. code-block:: python

    from django_geocoding import urls as django_geocoding_urls


    urlpatterns = [
        ...
        url(r'^', include(django_geocoding_urls)),
        ...
    ]


Running Tests
-------------

Does the code actually work?

::
    $ pipenv install --dev
    $ pipenv shell
    $ tox


We recommend using pipenv_ but a legacy approach to creating virtualenv and installing requirements should also work.
Please install `requirements/development.txt` to setup virtual env for testing and development.


Credits
-------

This package was created with Cookiecutter_ and the `wooyek/cookiecutter-django-app`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`wooyek/cookiecutter-django-app`: https://github.com/wooyek/cookiecutter-django-app
.. _`pipenv`: https://docs.pipenv.org/install#fancy-installation-of-pipenv




History
-------

0.1.0 (2017-12-27)
++++++++++++++++++

* First release on PyPI.


