{ "info": { "author": "Will McGinnis", "author_email": "will@pedalwrencher.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Programming Language :: Python :: 3" ], "description": "=========\npygeohash\n=========\n\n[![Coverage Status](https://coveralls.io/repos/wdm0006/pygeohash/badge.svg?branch=master&service=github)](https://coveralls.io/github/wdm0006/pygeohash?branch=master) ![travis status](https://travis-ci.org/wdm0006/pygeohash.svg?branch=master) \n\nPygeohash is a Python module that provides functions for decoding and encoding geohashes to and from latitude and \nlongitude coordinates, and doing basic calculations and approximations with them.\n\nIt is based off of Leonard Norrg\u00e5rd's [geohash](https://github.com/vinsci/geohash) module, but aims to add more \nfunctionality while supporting python 3 as well.\n\n\nUsage\n=====\n\nTo use pygeohash:\n\n import pygeohash as pgh\n \n pgh.encode(42.6, -5.6)\n # >>> 'ezs42e44yx96'\n \n pgh.encode(42.6, -5.6, precision=5)\n # >>> 'ezs42'\n \n pgh.decode('ezs42')\n # >>> ('42.6', '-5.6')\n \n pgh.geohash_approximate_distance('bcd3u', 'bc83n')\n # >>> 625441\n\nInstallation\n============\n\nPygeohash has no requirements outside of the python stdlib, and aims to keep it that way if at all possible. To install:\n\n pip install pygeohash\n \nLiscense\n========\n\nA portion of this codebase (geohash.py), is from Leonard Norrgard's module, which carries the following license:\n\nCopyright (C) 2015 [Leonard Norrgard](leonard.norrgard@gmail.com)\n\nGeohash is free software: you can redistribute it and/or modify it\nunder the terms of the GNU Affero General Public License as published\nby the Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nGeohash is distributed in the hope that it will be useful, but WITHOUT\nANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\nFITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public\nLicense for more details.\n\nYou should have received a copy of the GNU Affero General Public\nLicense along with Geohash. If not, see\n[gnu.org](http://www.gnu.org/licenses/).\n\nThis derivative work likewise carries the same license:\n\nCopyright (C) 2015 [Will McGinnis](will@pedalwrencher.com)", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/wdm0006/pygeohash/tarball/1.2.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wdm0006/pygeohash", "keywords": "geohash gis", "license": "GPL3", "maintainer": null, "maintainer_email": null, "name": "pygeohash", "package_url": "https://pypi.org/project/pygeohash/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pygeohash/", "project_urls": { "Download": "https://github.com/wdm0006/pygeohash/tarball/1.2.0", "Homepage": "https://github.com/wdm0006/pygeohash" }, "release_url": "https://pypi.org/project/pygeohash/1.2.0/", "requires_dist": null, "requires_python": null, "summary": "Python module for interacting with geohashes", "version": "1.2.0" }, "last_serial": 2047505, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "da88c38aba4a7b67c0068b8f3b96f51c", "sha256": "3d544f88922ef1e03d70ecc83a0cc6065c1ed92ecfbd5048a811f4586417eaf5" }, "downloads": -1, "filename": "pygeohash-1.0.0.tar.gz", "has_sig": false, "md5_digest": "da88c38aba4a7b67c0068b8f3b96f51c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4140, "upload_time": "2016-01-07T18:14:02", "url": "https://files.pythonhosted.org/packages/77/d5/ff82a400d194a5c2d90f956d7cfd957b5703b15122e911db26e289f2ab41/pygeohash-1.0.0.tar.gz" } ], "1.0.1": [], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e9df6bd2a0f06dc2963d5d93d7c8b3b8", "sha256": "0d01a8d280794b9d643264c03132bc759dd931c91ec49ce1d3c0c564c1f5925e" }, "downloads": -1, "filename": "pygeohash-1.1.0.tar.gz", "has_sig": false, "md5_digest": "e9df6bd2a0f06dc2963d5d93d7c8b3b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4686, "upload_time": "2016-01-23T20:47:00", "url": "https://files.pythonhosted.org/packages/56/cf/2ce40b6674b26032092b3d38a20e391c239fb5aac201443dfc891547abdf/pygeohash-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "f7da068e612ecdfad4eb78fed3cc1999", "sha256": "750e51643e743eabd065a84fc8c1912c5843b648143137919e4a9776366d921e" }, "downloads": -1, "filename": "pygeohash-1.2.0.tar.gz", "has_sig": false, "md5_digest": "f7da068e612ecdfad4eb78fed3cc1999", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4978, "upload_time": "2016-04-05T15:59:51", "url": "https://files.pythonhosted.org/packages/2c/33/c912fa4476cedcd3ed9cd25c44c163583b92d319860438e6b632f7f42d0c/pygeohash-1.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f7da068e612ecdfad4eb78fed3cc1999", "sha256": "750e51643e743eabd065a84fc8c1912c5843b648143137919e4a9776366d921e" }, "downloads": -1, "filename": "pygeohash-1.2.0.tar.gz", "has_sig": false, "md5_digest": "f7da068e612ecdfad4eb78fed3cc1999", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4978, "upload_time": "2016-04-05T15:59:51", "url": "https://files.pythonhosted.org/packages/2c/33/c912fa4476cedcd3ed9cd25c44c163583b92d319860438e6b632f7f42d0c/pygeohash-1.2.0.tar.gz" } ] }