{ "info": { "author": "James Ho", "author_email": "jho@neverlimited.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "==================================\nPostcodes.io Python Client - alpha\n==================================\n\n\n.. image:: https://img.shields.io/pypi/v/postcodes_io.svg\n :target: https://pypi.python.org/pypi/postcodes_io\n\n.. image:: https://img.shields.io/travis/jimmyho/postcodes_io.svg\n :target: https://travis-ci.org/jimmyho/postcodes_io\n\n.. image:: https://readthedocs.org/projects/postcodes-io/badge/?version=latest\n :target: https://postcodes-io.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/jimmyho/postcodes_io/shield.svg\n :target: https://pyup.io/repos/github/jimmyho/postcodes_io/\n :alt: Updates\n\n\nPython client to connect to Postcodes.io API\n\n\n* Free software: MIT license\n* Documentation: https://postcodes-io.readthedocs.io.\n\n\nFeatures\n--------\n* Supports python 3.x (not yet python 2.x, sorry!)\n* Response in Python native list and dict types\n* Supports free http://postcodes.io/postcodes REST service and self-hosted service (See documentation for installation details)\n\nQuick Start\n-----------\nInstall python package:\n\n.. code-block:: console\n\n $ pip install postcodes_io\n $ python\n\n\n.. code-block:: python\n\n from postcodes_io import Postcodes\n pio = Postcodes()\n postcode = pio.get('SW1A 1AA')\n\nSelf-hosted Service using Docker\n--------------------------------\n1. Pull docker image::\n\n docker pull randomvariable/docker-postcodes.io\n\n2. Run docker container as a daemon::\n\n docker run -p 8000:8000 -d randomvariable/docker-postcodes.io\n\n3. Execute API using hosts\n\n.. code-block:: python\n\n from postcodes_io import Postcodes\n postcode = Postcodes('http://localhost:8000').get('SW1A 1AA')\n\nTODOs\n--------\n\n* Add more endpoints\n* Documentation\n* Proper isolated unit tests\n\n\n=======\nHistory\n=======\n\n0.1.0 (2016-07-08)\n------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jimmyho/postcodes_io", "keywords": "postcodes_io", "license": "MIT license", "maintainer": null, "maintainer_email": null, "name": "postcodes_io", "package_url": "https://pypi.org/project/postcodes_io/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/postcodes_io/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jimmyho/postcodes_io" }, "release_url": "https://pypi.org/project/postcodes_io/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Python client to connect to Postcodes.io API", "version": "0.1.0" }, "last_serial": 2222016, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "065233f30fd701d0b4db88910eff02c9", "sha256": "6f0679330a54021633aa351570598383a837da1a29fc28d36402b4192fca33ad" }, "downloads": -1, "filename": "postcodes_io-0.1.0.tar.gz", "has_sig": false, "md5_digest": "065233f30fd701d0b4db88910eff02c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12877, "upload_time": "2016-07-14T22:26:46", "url": "https://files.pythonhosted.org/packages/96/ae/a6cda0f387322c1d076b2757e3c11c2091cdba7b2a4287ed1b37c898c91b/postcodes_io-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "065233f30fd701d0b4db88910eff02c9", "sha256": "6f0679330a54021633aa351570598383a837da1a29fc28d36402b4192fca33ad" }, "downloads": -1, "filename": "postcodes_io-0.1.0.tar.gz", "has_sig": false, "md5_digest": "065233f30fd701d0b4db88910eff02c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12877, "upload_time": "2016-07-14T22:26:46", "url": "https://files.pythonhosted.org/packages/96/ae/a6cda0f387322c1d076b2757e3c11c2091cdba7b2a4287ed1b37c898c91b/postcodes_io-0.1.0.tar.gz" } ] }