h3 4.4.2


pip install h3

  Latest version

Released: Jan 29, 2026


Meta
Author: Uber Technologies
Maintainer: AJ Friend
Requires Python: >=3.8

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers
  • Science/Research

License
  • OSI Approved :: Apache Software License

Programming Language
  • C
  • Cython
  • Python :: 3.8
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13

Operating System
  • MacOS :: MacOS X
  • POSIX :: Linux
  • Microsoft :: Windows

Topic
  • Scientific/Engineering :: GIS
H3 Logo

h3-py: Uber's H3 Hexagonal Hierarchical Geospatial Indexing System in Python

PyPI version PyPI downloads conda version version

Tests Coverage 100%

Python bindings for the H3 core library.

Installation

From PyPI:

pip install h3

From conda:

conda config --add channels conda-forge
conda install h3-py

Usage

>>> import h3
>>> lat, lng = 37.769377, -122.388903
>>> resolution = 9
>>> h3.latlng_to_cell(lat, lng, resolution)
'89283082e73ffff'

APIs

We provide multiple APIs in h3-py.

Example gallery

Browse a collection of example notebooks, and if you have examples or visualizations of your own, please feel free to contribute!

We also have an introductory walkthrough of the API.

Versioning

h3-py wraps the H3 core library, which is written in C. The C and Python projects each employ semantic versioning, where versions take the form X.Y.Z.

The h3-py version string is guaranteed to match the C library string in both major and minor numbers (X.Y), but may differ on the patch (Z) number. This convention provides users with information on breaking changes and feature additions, while providing downstream bindings (like this one!) with the versioning freedom to fix bugs.

Use h3.versions() to see the version numbers for both h3-py and the C library. For example,

>>> import h3
>>> h3.versions()
{'c': '4.1.0', 'python': '4.1.1'}

Wheel compatibility matrix

Platform CPython 3.8 CPython 3.9 CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14 CPython (additional flags: t) 3.14
macosx_11_0_arm64
manylinux2014_aarch64
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_x86_64
manylinux_2_28_aarch64
manylinux_2_28_x86_64
musllinux_1_2_x86_64
win_amd64
win_arm64

Files in release

h3-4.4.2-cp310-cp310-macosx_11_0_arm64.whl (805.4KiB)
h3-4.4.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (970.6KiB)
h3-4.4.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1008.2KiB)
h3-4.4.2-cp310-cp310-musllinux_1_2_x86_64.whl (1018.8KiB)
h3-4.4.2-cp310-cp310-win_amd64.whl (777.9KiB)
h3-4.4.2-cp311-cp311-macosx_11_0_arm64.whl (803.1KiB)
h3-4.4.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (969.6KiB)
h3-4.4.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1005.5KiB)
h3-4.4.2-cp311-cp311-musllinux_1_2_x86_64.whl (1017.3KiB)
h3-4.4.2-cp311-cp311-win_amd64.whl (777.7KiB)
h3-4.4.2-cp311-cp311-win_arm64.whl (683.3KiB)
h3-4.4.2-cp312-cp312-macosx_11_0_arm64.whl (802.8KiB)
h3-4.4.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (952.0KiB)
h3-4.4.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (995.4KiB)
h3-4.4.2-cp312-cp312-musllinux_1_2_x86_64.whl (1006.5KiB)
h3-4.4.2-cp312-cp312-win_amd64.whl (768.8KiB)
h3-4.4.2-cp312-cp312-win_arm64.whl (687.8KiB)
h3-4.4.2-cp313-cp313-macosx_11_0_arm64.whl (798.4KiB)
h3-4.4.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (948.7KiB)
h3-4.4.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (991.2KiB)
h3-4.4.2-cp313-cp313-musllinux_1_2_x86_64.whl (1002.3KiB)
h3-4.4.2-cp313-cp313-win_amd64.whl (765.9KiB)
h3-4.4.2-cp313-cp313-win_arm64.whl (685.9KiB)
h3-4.4.2-cp314-cp314-macosx_11_0_arm64.whl (802.3KiB)
h3-4.4.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (956.8KiB)
h3-4.4.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (994.2KiB)
h3-4.4.2-cp314-cp314-musllinux_1_2_x86_64.whl (1004.7KiB)
h3-4.4.2-cp314-cp314-win_amd64.whl (783.1KiB)
h3-4.4.2-cp314-cp314-win_arm64.whl (705.8KiB)
h3-4.4.2-cp314-cp314t-macosx_11_0_arm64.whl (842.2KiB)
h3-4.4.2-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (966.5KiB)
h3-4.4.2-cp314-cp314t-win_amd64.whl (877.3KiB)
h3-4.4.2-cp38-cp38-macosx_11_0_arm64.whl (819.4KiB)
h3-4.4.2-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (985.2KiB)
h3-4.4.2-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1020.8KiB)
h3-4.4.2-cp38-cp38-musllinux_1_2_x86_64.whl (1.0MiB)
h3-4.4.2-cp38-cp38-win_amd64.whl (787.0KiB)
h3-4.4.2-cp39-cp39-macosx_11_0_arm64.whl (808.0KiB)
h3-4.4.2-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (973.1KiB)
h3-4.4.2-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (1010.7KiB)
h3-4.4.2-cp39-cp39-musllinux_1_2_x86_64.whl (1021.6KiB)
h3-4.4.2-cp39-cp39-win_amd64.whl (780.4KiB)
h3-4.4.2.tar.gz (167.9KiB)
Extras:
Dependencies: