{ "info": { "author": "Johan Meiring", "author_email": "johanmeiring@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3" ], "description": "===========\npython-poco\n===========\n\npython-poco provides classes that can be used to integrate your software with\nthe South African postal code lookup service at http://poco.co.za. Basic usage\nis crazy simple::\n\n #!/usr/bin/env python\n\n from poco.poco import PocoSearcher\n\n results = PocoSearcher.results_as_dicts('Wingate Park')\n objects = PocoSearcher.results_as_objects('Wingate Park')\n\nIn the above example, 'results' is a list which contains dictionaries with the\nfollowing keys: ``id``, ``suburb``, ``area``, ``postal``, ``street``.\nSimilarly, 'objecst' is a list which contains objects of the ``PocoLocation``\nclass. The ``PocoLocation`` class has the same keys mentioned above as class\nattributes. So basically, use ``results_as_dicts`` or ``results_as_objects``,\ndepending on what your application needs.\n\n**One important caveat:** The following rules apply:\n\n* The search term cannot be empty.\n\n* The search term must contain at least 3 characters.\n\nAn exception of type ``requests.exceptions.HTTPError`` will be raised if the above\nrequirements are not met.\n\nFor reference, the Poco API documentation is available at\nhttp://poco.co.za/api/.", "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/johanmeiring/python-poco", "keywords": null, "license": "LICENSE", "maintainer": null, "maintainer_email": null, "name": "python-poco", "package_url": "https://pypi.org/project/python-poco/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-poco/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/johanmeiring/python-poco" }, "release_url": "https://pypi.org/project/python-poco/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Tool to integrate your Python app with Poco.", "version": "0.1.0" }, "last_serial": 992120, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "91f0347f3bf4b62f00f8e6ac3287ab39", "sha256": "d4ff8cfb05a30e962e5a70f504540a6f82ac4655978f621771de36d49930e1fb" }, "downloads": -1, "filename": "python-poco-0.1.0.tar.gz", "has_sig": false, "md5_digest": "91f0347f3bf4b62f00f8e6ac3287ab39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3212, "upload_time": "2014-02-06T08:46:19", "url": "https://files.pythonhosted.org/packages/78/2a/62e7f6b50dfdda24c25718aa6b38d7747671f36f5f5035151e407c29d18b/python-poco-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "91f0347f3bf4b62f00f8e6ac3287ab39", "sha256": "d4ff8cfb05a30e962e5a70f504540a6f82ac4655978f621771de36d49930e1fb" }, "downloads": -1, "filename": "python-poco-0.1.0.tar.gz", "has_sig": false, "md5_digest": "91f0347f3bf4b62f00f8e6ac3287ab39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3212, "upload_time": "2014-02-06T08:46:19", "url": "https://files.pythonhosted.org/packages/78/2a/62e7f6b50dfdda24c25718aa6b38d7747671f36f5f5035151e407c29d18b/python-poco-0.1.0.tar.gz" } ] }