geohash2
(Geohash fixed for python3) Module to decode/encode Geohashes to/from latitude and longitude. See http://en.wikipedia.org/wiki/Geohash
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release July 2017, no maintenance since), has high install friction (source-only distribution), and Python version support is unspecified. AGPL licensing adds legal complexity for commercial or networked deployments. For new projects, prefer an actively maintained geohash library or implement geohashing directly using a well-supported dependency.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Package requires compilation or has no pre-built wheels; Python version support is unspecified and may be limited to older versions.
- High install friction due to source-only distribution (tar.gz).
- Package is abandoned—last release July 2017, no commits since, though the repository remains publicly available.
License · maintenance · safety
(agpl) — Licensed under GNU Affero General Public License v3 or later. AGPL requires that any modifications or derivative works be released under the same license, and networked use may trigger copyleft obligations depending on deployment context.
last release 2017-07-06 (3326 days) · last repo commit 2017-07-06 · 36 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 990,172 downloads/mo, #4,564 on PyPI
Alternatives
Verify before relying
pip install geohash2
import geohash2
geohash = geohash2.encode(42.6, -5.6, precision=5)
print(geohash) # ezs42
lat, lon = geohash2.decode('ezs42')
print(lat, lon)- Whether the package actually builds and runs on modern Python versions (3.10+) given the 2017 last release date.
- Whether high install friction is due to missing wheels or actual build dependencies.
- Current maintenance status and whether the repository accepts pull requests or has an active maintainer.
What it is and what it does
geohash2 is a Python module for converting between geographic coordinates (latitude/longitude) and geohash strings. Geohashes are compact alphanumeric representations of locations that encode spatial proximity—nearby coordinates produce similar hashes. The module provides two main functions: encode() converts coordinates to a geohash string with configurable precision (number of characters), and decode() reverses the process. It also offers decode_exactly() which returns the decoded coordinates along with error margins, quantifying the precision loss inherent in the geohash encoding.
The package has no runtime dependencies and is straightforward to use for location-based applications that need compact coordinate representations. However, it has been abandoned since July 2017 with no updates, and the build is source-only (high install friction), making it risky for new projects unless you can verify it works on your target Python version.
Use it for
- Store geographic locations compactly in databases or caches using geohash strings instead of separate lat/lon columns.
- Perform spatial proximity queries by comparing geohash prefixes to find nearby locations without distance calculations.
- Implement geotagging systems where coordinates are encoded into short, human-readable location identifiers.
- Build location-based caching or indexing where geohash precision controls the granularity of spatial buckets.
- Validate coordinate precision and understand error margins when converting between exact coordinates and geohash representations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release July 2017, no maintenance since), has high install friction (source-only distribution), and Python version support is unspecified. AGPL licensing adds legal complexity for commercial or networked deployments. For new projects, prefer an actively maintained geohash library or implement geohashing directly using a well-supported dependency.
Install
geohash2 on PyPI
Before you install
High install friction due to source-only distribution (tar.gz). Package is abandoned—last release July 2017, no commits since, though the repository remains publicly available.
Package requires compilation or has no pre-built wheels; Python version support is unspecified and may be limited to older versions.
License in practice
Licensed under GNU Affero General Public License v3 or later. AGPL requires that any modifications or derivative works be released under the same license, and networked use may trigger copyleft obligations depending on deployment context.
Quickstart
pip install geohash2
import geohash2
geohash = geohash2.encode(42.6, -5.6, precision=5)
print(geohash) # ezs42
lat, lon = geohash2.decode('ezs42')
print(lat, lon)
Verify before relying
- Whether the package actually builds and runs on modern Python versions (3.10+) given the 2017 last release date.
- Whether high install friction is due to missing wheels or actual build dependencies.
- Current maintenance status and whether the repository accepts pull requests or has an active maintainer.
Package facts
| License | Not declared agpl |
| Python support | Not specified |
| Install friction | High. Source build required |
| Runtime dependencies | None |
| Maintenance | Abandoned 3,326 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 990,172 / month, #4,564 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: geohash2-1.1.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “geohash encode decode”
- geohash2Encodes latitude/longitude coordinates to geohashes and decodes…
- pygeohashEncodes latitude/longitude coordinates to geohash strings and decodes…
- ebcdicRegisters additional EBCDIC character encoding codecs for Python,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also geolib · pygeohash · py-geohex3 · global-land-mask · python-geohash · pypolyline · convertbng · utm · mgrs · reverse-geocode