{ "info": { "author": "Michael van Tellingen", "author_email": "michaelvantellingen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "======================\ndjango-postcode-lookup\n======================\n\nThis Django app providers a pluggable postcode django restframework endpoint. It currently only works\nfor postcodes in The Netherlands.\n\nCurrently supports the following services:\n - ApiWise\n - Webservices.nl\n\n\nStatus\n======\n.. image:: https://travis-ci.org/LabD/django-postcode-lookup.svg?branch=master\n :target: https://travis-ci.org/LabD/django-postcode-lookup\n\n.. image:: http://codecov.io/github/LabD/django-postcode-lookup/coverage.svg?branch=master \n :target: http://codecov.io/github/LabD/django-postcode-lookup?branch=master\n\n.. image:: https://img.shields.io/pypi/v/django-postcode-lookup.svg\n :target: https://pypi.python.org/pypi/django-postcode-lookup/\n\nInstallation\n============\n\n.. code-block:: shell\n\n pip install django_postcode_lookup\n\nUsage\n=====\n\nAdd the following to your urls.py:\n\n\n.. code-block:: python\n\n url(r'^postcode-lookup/', include('django_postcode_lookup.urls')),\n\n\nAdd a setting with the required backend\n\n.. code-block:: python\n\n POSTCODE_LOOKUP = {\n 'default': {\n 'backend': 'django_postcode_lookup.backends.Webservices',\n 'OPTIONS': {\n 'username': 'someuser',\n 'password': 'somepassword',\n }\n }\n }\n\n\nTo offer some form of protection to the api endpoint for usage by others a \nvalid csrf token is required.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/labd/django-postcode-lookup", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-postcode-lookup", "package_url": "https://pypi.org/project/django-postcode-lookup/", "platform": "", "project_url": "https://pypi.org/project/django-postcode-lookup/", "project_urls": { "Homepage": "https://github.com/labd/django-postcode-lookup" }, "release_url": "https://pypi.org/project/django-postcode-lookup/0.4.0/", "requires_dist": [ "Django (>=1.8)", "attrs", "djangorestframework (>=3,<4)", "requests (>=2.7)", "six (>=1.1)", "sphinx (>=1.4.0); extra == 'docs'", "flake8 (==3.0.3); extra == 'test'", "flake8-blind-except (==0.1.1); extra == 'test'", "flake8-debugger (==1.4.0); extra == 'test'", "freezegun (==0.3.8); extra == 'test'", "isort (==4.2.5); extra == 'test'", "pretend (==1.0.8); extra == 'test'", "pytest (==3.0.5); extra == 'test'", "pytest-cov (==2.4.0); extra == 'test'", "pytest-django (==3.1.2); extra == 'test'", "requests-mock (==1.1.0); extra == 'test'" ], "requires_python": "", "summary": "Pluggable postcode lookup endpoint", "version": "0.4.0" }, "last_serial": 2663058, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f7df94cc753dd7208bd814d0017d6d7a", "sha256": "de2cd00378f1106a7b1a5d35ca0d95fdd929df1019096ef2137b3c37c9d8490a" }, "downloads": -1, "filename": "django_postcode_lookup-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f7df94cc753dd7208bd814d0017d6d7a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8468, "upload_time": "2016-12-12T13:47:26", "url": "https://files.pythonhosted.org/packages/15/c0/c5277e816a8b106479716c1095871bff401e64a819bffc8cebe9b4622cf3/django_postcode_lookup-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9721bad04b0bffbad5ade2ba93aaac6c", "sha256": "0ee882ad592402cac477fa0cecba994c0d8f358cbe73af1ec9b12fc97ce8403f" }, "downloads": -1, "filename": "django-postcode-lookup-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9721bad04b0bffbad5ade2ba93aaac6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4700, "upload_time": "2016-12-12T13:47:27", "url": "https://files.pythonhosted.org/packages/cb/11/db71599711d7b558bc0d46459c9f2c045b879dd84bbbc35c348e1349cdfa/django-postcode-lookup-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a6e9ed3f1b9804b4800a8f71296dbc88", "sha256": "7afd730a4da5d4100363e6ee15874ebeaac732d59d2b89f559e37426ad315eb3" }, "downloads": -1, "filename": "django_postcode_lookup-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a6e9ed3f1b9804b4800a8f71296dbc88", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9164, "upload_time": "2016-12-14T15:06:29", "url": "https://files.pythonhosted.org/packages/98/51/57f7a8aa7b31b6c87cbb55f192334bd9f20b60a8df7eeac1a1e6428d3b0a/django_postcode_lookup-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1cf9d78004e7d8d14465d4c58831ecf", "sha256": "93795eca2bc08b36f938e727b112ad023a074799d7f39e76b0ce26c02430107a" }, "downloads": -1, "filename": "django-postcode-lookup-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f1cf9d78004e7d8d14465d4c58831ecf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5186, "upload_time": "2016-12-14T15:06:31", "url": "https://files.pythonhosted.org/packages/ae/72/a94bbfdf944752941b7473b821dca24cd73677a74000b2c34a4c3474228b/django-postcode-lookup-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "dae762a602fb5e50f5b366e33e5cacb2", "sha256": "b9376589a1955893acb2e226c5a03c4ece608849f1425c2460dd901d0d285c53" }, "downloads": -1, "filename": "django_postcode_lookup-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dae762a602fb5e50f5b366e33e5cacb2", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9157, "upload_time": "2017-02-22T09:35:11", "url": "https://files.pythonhosted.org/packages/47/fd/c42350c4da05d93e22562295246c9a501d523a3dca4d354f486b5e9d4d51/django_postcode_lookup-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16db0431cdf45ae05bb1a9c8a5487c3a", "sha256": "b2537de8fb9a15dd030671bf656d9fcbb77c1f411b0e81fa26e5d476fabcf132" }, "downloads": -1, "filename": "django-postcode-lookup-0.3.0.tar.gz", "has_sig": false, "md5_digest": "16db0431cdf45ae05bb1a9c8a5487c3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5173, "upload_time": "2017-02-22T09:35:14", "url": "https://files.pythonhosted.org/packages/ac/19/2df4b646940efce7f1f4bc71ea072b0eb79e63f433c57b942f97089b5e97/django-postcode-lookup-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "dc2b2dabec17bd2367a5bf899b075e7e", "sha256": "8ad6cd855811ba53a2c64178b056d12ce5490f03430d7e1721dcf462af95b4f9" }, "downloads": -1, "filename": "django_postcode_lookup-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dc2b2dabec17bd2367a5bf899b075e7e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9236, "upload_time": "2017-02-23T11:31:26", "url": "https://files.pythonhosted.org/packages/60/22/30c3645cba04dd244993ecd0cc1b63558f262764992ef50b2a1904a06ad1/django_postcode_lookup-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22b6530e4f9f8308b66084097350b751", "sha256": "912d95f845e65a09e46d21f5c077f82d4fa570b116790e7fbf5adf337e0503f3" }, "downloads": -1, "filename": "django-postcode-lookup-0.4.0.tar.gz", "has_sig": false, "md5_digest": "22b6530e4f9f8308b66084097350b751", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5235, "upload_time": "2017-02-23T11:31:29", "url": "https://files.pythonhosted.org/packages/c8/79/6cf37601109e73916ce3e973570eba4da8eecf2689f3aee8f54498a8eb1c/django-postcode-lookup-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dc2b2dabec17bd2367a5bf899b075e7e", "sha256": "8ad6cd855811ba53a2c64178b056d12ce5490f03430d7e1721dcf462af95b4f9" }, "downloads": -1, "filename": "django_postcode_lookup-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dc2b2dabec17bd2367a5bf899b075e7e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9236, "upload_time": "2017-02-23T11:31:26", "url": "https://files.pythonhosted.org/packages/60/22/30c3645cba04dd244993ecd0cc1b63558f262764992ef50b2a1904a06ad1/django_postcode_lookup-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "22b6530e4f9f8308b66084097350b751", "sha256": "912d95f845e65a09e46d21f5c077f82d4fa570b116790e7fbf5adf337e0503f3" }, "downloads": -1, "filename": "django-postcode-lookup-0.4.0.tar.gz", "has_sig": false, "md5_digest": "22b6530e4f9f8308b66084097350b751", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5235, "upload_time": "2017-02-23T11:31:29", "url": "https://files.pythonhosted.org/packages/c8/79/6cf37601109e73916ce3e973570eba4da8eecf2689f3aee8f54498a8eb1c/django-postcode-lookup-0.4.0.tar.gz" } ] }