Pluggable postcode lookup endpoint
Project description
Pluggable postcode lookup endpoint.
- Currently supports the following services:
ApiWise
Webservices.nl
Status
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
Built Distribution
File details
Details for the file django-postcode-lookup-0.1.0.tar.gz
.
File metadata
- Download URL: django-postcode-lookup-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ee882ad592402cac477fa0cecba994c0d8f358cbe73af1ec9b12fc97ce8403f |
|
MD5 | 9721bad04b0bffbad5ade2ba93aaac6c |
|
BLAKE2b-256 | cb11db71599711d7b558bc0d46459c9f2c045b879dd84bbbc35c348e1349cdfa |
File details
Details for the file django_postcode_lookup-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: django_postcode_lookup-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de2cd00378f1106a7b1a5d35ca0d95fdd929df1019096ef2137b3c37c9d8490a |
|
MD5 | f7df94cc753dd7208bd814d0017d6d7a |
|
BLAKE2b-256 | 15c0c5277e816a8b106479716c1095871bff401e64a819bffc8cebe9b4622cf3 |