Skip to main content

Django geocoding for models

https://img.shields.io/pypi/v/django-geocoding.svg https://img.shields.io/travis/wooyek/django-geocoding.svg Documentation Status Coveralls.io coverage CodeCov coverage Maintainability License Tweet about this project https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg

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

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

Deploy Django Opt-out example project to Heroku

Quickstart

Install Django geocoding for models:

pip install django-geocoding

Add it to your INSTALLED_APPS:

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

Add Django geocoding for models’s URL patterns:

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.

History

0.1.0 (2017-12-27)

  • First release on PyPI.

Metadata

Release files for django-geocoding 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-geocoding 0.1.1
File Size Uploaded Provenance Actions
django-geocoding-0.1.1.tar.gz 47.9 kB Without provenance Details for django-geocoding-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-geocoding 0.1.1
File Interpreter ABI Platform Actions
django_geocoding-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_geocoding-0.1.1-py2.py3-none-any.whl

Total release size: 61.7 kB

Release files / django-geocoding-0.1.1.tar.gz

Download URL django-geocoding-0.1.1.tar.gz
Size 47.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c2d41de657a76baccae4000fdb709f57cb8dcfae6746833dc053930abedd80df
BLAKE2b-256 checksum
How to use checksums
29013297e20d7380455c53140ffe86f97bcc51c195f60597cc65a9dcf0ffdb1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_geocoding-0.1.1-py2.py3-none-any.whl

Download URL django_geocoding-0.1.1-py2.py3-none-any.whl
Size 13.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3e2aadbb1a20e392b956c0f5d4e07556d0af3a02f637a8eaaff0407f045e1e4c
BLAKE2b-256 checksum
How to use checksums
d400fd97f568543cf1ca9977b2fb4248247e661b968c9f96afb977755b12ae24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-geocoding 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page