Skip to main content

Pluggable postcode lookup endpoint

Project description

Pluggable postcode lookup endpoint.

Currently supports the following services:
  • ApiWise

  • Webservices.nl

Status

https://travis-ci.org/labd/django-postcode-lookup.svg?branch=master http://codecov.io/github/labd/django-postcode-lookup/coverage.svg?branch=master https://img.shields.io/pypi/v/django-postcode-lookup.svg

Installation

pip install django_postcode_lookup

Usage

Add the following to your urls.py:

url(r'^postcode-lookup/', include('django_postcode_lookup.urls')),

Add a setting with the required backend

POSTCODE_LOOKUP = {
    'default': {
        'backend': 'django_postcode_lookup.backends.Webservices',
        'OPTIONS': {
            'username': 'someuser',
            'password': 'somepassword',
        }
    }
}

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-postcode-lookup-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

django_postcode_lookup-0.1.0-py2.py3-none-any.whl (8.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-postcode-lookup-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-postcode-lookup-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ee882ad592402cac477fa0cecba994c0d8f358cbe73af1ec9b12fc97ce8403f
MD5 9721bad04b0bffbad5ade2ba93aaac6c
BLAKE2b-256 cb11db71599711d7b558bc0d46459c9f2c045b879dd84bbbc35c348e1349cdfa

See more details on using hashes here.

File details

Details for the file django_postcode_lookup-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_postcode_lookup-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 de2cd00378f1106a7b1a5d35ca0d95fdd929df1019096ef2137b3c37c9d8490a
MD5 f7df94cc753dd7208bd814d0017d6d7a
BLAKE2b-256 15c0c5277e816a8b106479716c1095871bff401e64a819bffc8cebe9b4622cf3

See more details on using hashes here.

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