$npx skillfedfor your agent

py-geohex3

geohex v3.2 python implementation

With conditionsPyPI GISReleased Apr 2017133.9K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_geohex3-1.0.0-py3-none-any.whl
v1.0.0 · released 2017-04-17

Yes, if you specifically need Geohex v3.2 encoding/decoding and are comfortable with an unmaintained package. The library is simple, dependency-free, and has no known vulnerabilities. Test compatibility with your Python version first, as classifiers only list through Python 3.6. If you need active maintenance or support for newer Python versions, consider whether an alternative spatial indexing library might be a better fit.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Package classifiers indicate support only through Python 3.6; compatibility with Python 3.7+ is unverified.
  • Installation is frictionless with no runtime dependencies.
  • However, the package is abandoned—last release was 2017-04-17, with no commits since 2021-04-29.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you may use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.

last release 2017-04-17 (3406 days) · last repo commit 2021-04-29 · 16 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 133,901 downloads/mo, #11,493 on PyPI

Verify before relying

pip install py-geohex3

# Encode: latitude, longitude, precision → zone code
zone = get_zone_by_location(35.65858, 139.745433, 11)
print(zone.code)  # 'XM48854457273'

# Decode: zone code → latitude, longitude
zone = get_zone_by_code('XM48854457273')
print(zone.lat, zone.lon)  # (35.658618718910624, 139.74540917994662)
  • Whether the package works reliably on Python 3.7+ despite classifiers listing only through 3.6
  • Whether Geohex v3.2 is the current standard or if a newer version exists that this package does not implement
  • Real-world compatibility reports from users running this on modern Python versions
Same gist for agents: .md · .json

What it is and what it does

py-geohex3 is a Python implementation of the Geohex v3.2 spatial indexing system, which encodes geographic locations into compact alphanumeric codes and decodes those codes back to coordinates. It provides two main functions: converting a latitude/longitude pair and precision level into a zone code, and converting a zone code back into its approximate center coordinates. The package has no external dependencies and installs as a pure Python wheel.

Geohex is used in GIS applications where you need to index, query, or group locations by geographic proximity. The zone code acts as a hierarchical spatial hash—different precision levels produce codes of different granularity, allowing you to cluster nearby points or perform efficient spatial lookups. The package is marked stable but is no longer maintained, and its Python version support is dated.

Use it for

  • Index geographic locations in a database by zone code for efficient spatial range queries
  • Group nearby GPS coordinates into the same hex zone for clustering or aggregation tasks
  • Convert lat/lon pairs to compact, shareable location identifiers for mapping applications
  • Implement spatial partitioning for load-balancing or data distribution across geographic regions

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you specifically need Geohex v3.2 encoding/decoding and are comfortable with an unmaintained package.

The library is simple, dependency-free, and has no known vulnerabilities. Test compatibility with your Python version first, as classifiers only list through Python 3.6. If you need active maintenance or support for newer Python versions, consider whether an alternative spatial indexing library might be a better fit.

Install

py-geohex3 on PyPI

Before you install

Installation is frictionless with no runtime dependencies. However, the package is abandoned—last release was 2017-04-17, with no commits since 2021-04-29. It targets Python 2.7 and early Python 3 versions, which may cause compatibility issues with modern Python environments.

Package classifiers indicate support only through Python 3.6; compatibility with Python 3.7+ is unverified.

License in practice

Licensed under MIT (permissive), so you may use, modify, and distribute the package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install py-geohex3

# Encode: latitude, longitude, precision → zone code
zone = get_zone_by_location(35.65858, 139.745433, 11)
print(zone.code)  # 'XM48854457273'

# Decode: zone code → latitude, longitude
zone = get_zone_by_code('XM48854457273')
print(zone.lat, zone.lon)  # (35.658618718910624, 139.74540917994662)

Verify before relying

  • Whether the package works reliably on Python 3.7+ despite classifiers listing only through 3.6
  • Whether Geohex v3.2 is the current standard or if a newer version exists that this package does not implement
  • Real-world compatibility reports from users running this on modern Python versions

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 3,406 days since the last release
Last repo commit
First released
Downloads133,901 / month, #11,493 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Scientific/Engineering :: GIS

Evidence: py_geohex3-1.0.0-py3-none-any.whl

Tags

Capabilities
geohex encoding decodinglatitude longitude to geohexspatial indexing geographicgeohex zone codelocation to hex gridgeohex python implementationgeographic coordinate hashing
Topics
gisspatial-indexinggeohashing
PyPI keywords
gisgeohex

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 › “geohex encoding decoding”

  • py-geohex3Converts between geographic coordinates (latitude/longitude) and…
  • basesProvides customizable Base-N encoding and decoding for common styles…
  • base2048Encodes and decodes binary data using Base2048, a character encoding…

Give your agent the search over MCP, or paste the wish link into any chat.

More GIS packages

shapely Worth it
PyPI · GIS · released Sep 2025

Shapely provides Python tools for creating, manipulating, and analyzing 2D geometric objects (points, lines, polygons) using the GEOS library, with both scalar and vectorized NumPy-based operations.

BSD-3-Clausecompiled wheel · 3.10+
85.8Mdownloads / mo
pyproj Unrated
PyPI · Scientific/Engineering · released Aug 2025

pyproj provides a Python interface to PROJ, enabling cartographic projections and coordinate system transformations for geospatial applications.

MITcompiled wheel · 3.11+
28.0Mdownloads / mo
geopandas Worth it
PyPI · GIS · released Jun 2026

GeoPandas extends pandas DataFrames to handle geographic data, combining pandas operations with shapely geometry and spatial analysis capabilities that would otherwise require a spatial database.

Install it if you work with geographic data in Python and want to avoid setting up a spatial database or learning a separate GIS tool.

BSD-3-Clausepure Python · 3.10+
24.8Mdownloads / mo
geopy Worth it
PyPI · Python Modules · released Jul 2026

geopy is a Python client for geocoding and distance calculation that converts addresses to coordinates and vice versa using multiple web-based geocoding services, and computes geodesic and great-circle distances between geographic points.

Install it if you need geocoding or distance calculations in your application.

MITpure Python · 3.8+
19.0Mdownloads / mo
pyogrio Worth it
PyPI · GIS · released Jun 2026

Pyogrio provides fast, bulk-oriented read and write access to vector spatial data formats (Shapefile, GeoPackage, GeoJSON, etc.) via GDAL/OGR bindings, typically for use with GeoPandas GeoDataFrames.

MITcompiled wheel · 3.10+
17.2Mdownloads / mo
h3 Worth it
PyPI · GIS · released May 2026

h3 provides Python bindings to Uber's H3 geospatial indexing library, converting geographic coordinates into hierarchical hexagonal grid cells and performing spatial operations on them.

Apache-2.0compiled wheel · 3.10+
12.1Mdownloads / mo

See also pygeohash · walkscore-api · geolib · geohash2 · placekey · utm · s2sphere · rtree · python-geohash