{"id":13856999,"url":"https://github.com/uber/h3-py","last_synced_at":"2026-01-29T21:06:50.677Z","repository":{"id":37514878,"uuid":"137135152","full_name":"uber/h3-py","owner":"uber","description":"Python bindings for H3, a hierarchical hexagonal geospatial indexing system","archived":false,"fork":false,"pushed_at":"2024-10-06T16:41:09.000Z","size":38517,"stargazers_count":815,"open_issues_count":83,"forks_count":131,"subscribers_count":32,"default_branch":"master","last_synced_at":"2024-10-07T02:16:41.193Z","etag":null,"topics":["geocoding","geospatial","gis","h3","hexagonal-architecture","python","uber"],"latest_commit_sha":null,"homepage":"https://uber.github.io/h3-py","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uber.png","metadata":{"files":{"readme":"readme.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-12T22:39:59.000Z","updated_at":"2024-10-06T05:07:41.000Z","dependencies_parsed_at":"2022-08-08T20:30:50.899Z","dependency_job_id":"df492b87-173e-4b08-baf3-8e7b1f61f3f4","html_url":"https://github.com/uber/h3-py","commit_stats":{"total_commits":155,"total_committers":18,"mean_commits":8.61111111111111,"dds":0.6193548387096774,"last_synced_commit":"ae9865c1522e0b62dc668d6b2beb49cd1b4ec63f"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fh3-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fh3-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fh3-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Fh3-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber","download_url":"https://codeload.github.com/uber/h3-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225912461,"owners_count":17544180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geocoding","geospatial","gis","h3","hexagonal-architecture","python","uber"],"created_at":"2024-08-05T03:01:22.055Z","updated_at":"2026-01-29T21:06:50.661Z","avatar_url":"https://github.com/uber.png","language":"Python","readme":"\u003cimg align=\"right\" src=\"https://uber.github.io/img/h3Logo-color.svg\" alt=\"H3 Logo\" width=\"130\"\u003e\n\n# **h3-py**: Uber's H3 Hexagonal Hierarchical Geospatial Indexing System in Python\n\n[![PyPI version](https://badge.fury.io/py/h3.svg)](https://badge.fury.io/py/h3)\n[![PyPI downloads](https://img.shields.io/pypi/dm/h3.svg)](https://pypistats.org/packages/h3)\n[![conda](https://img.shields.io/conda/vn/conda-forge/h3-py.svg)](https://anaconda.org/conda-forge/h3-py)\n[![version](https://img.shields.io/badge/h3-v4.4.1-blue.svg)](https://github.com/uber/h3/releases/tag/v4.4.1)\n[![version](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/uber/h3-py/blob/master/LICENSE)\n\n[![Tests](https://github.com/uber/h3-py/workflows/tests/badge.svg)](https://github.com/uber/h3-py/actions)\n[![Coverage 100%](https://img.shields.io/badge/coverage-100%25-green.svg)](https://github.com/uber/h3-py/blob/master/.github/workflows/lint_and_coverage.yml#L31) \u003c!-- 100% coverage is enforced in CI --\u003e\n\n\nPython bindings for the [H3 core library](https://h3geo.org/).\n\n- Documentation: [uber.github.io/h3-py](https://uber.github.io/h3-py)\n- GitHub repo: [github.com/uber/h3-py](https://github.com/uber/h3-py)\n\n## Installation\n\nFrom [PyPI](https://pypi.org/project/h3/):\n\n```console\npip install h3\n```\n\nFrom [conda](https://github.com/conda-forge/h3-py-feedstock):\n\n```console\nconda config --add channels conda-forge\nconda install h3-py\n```\n\n\n## Usage\n\n```python\n\u003e\u003e\u003e import h3\n\u003e\u003e\u003e lat, lng = 37.769377, -122.388903\n\u003e\u003e\u003e resolution = 9\n\u003e\u003e\u003e h3.latlng_to_cell(lat, lng, resolution)\n'89283082e73ffff'\n```\n\n\n## APIs\n\n[api_comparison]: https://uber.github.io/h3-py/api_comparison\n[api_quick]: https://uber.github.io/h3-py/api_quick\n\nWe provide [multiple APIs][api_comparison] in `h3-py`.\n\n- All APIs have the same set of functions;\n  see the [API reference][api_quick].\n- The APIs differ only in their input/output formats;\n  see the [API comparison page][api_comparison].\n\n\n## Example gallery\n\nBrowse [a collection of example notebooks](https://github.com/uber/h3-py-notebooks),\nand if you have examples or visualizations of your own, please feel free\nto contribute!\n\n[walkthrough]: https://nbviewer.jupyter.org/github/uber/h3-py-notebooks/blob/master/notebooks/usage.ipynb\n\nWe also have an introductory [walkthrough of the API][walkthrough].\n\n\n## Versioning\n\n\u003c!-- todo: this should just be the h3.versions() docstring, yeah? --\u003e\n\n`h3-py` wraps the [H3 core library](https://github.com/uber/h3),\nwhich is written in C.\nThe C and Python projects each employ\n[semantic versioning](https://semver.org/),\nwhere versions take the form `X.Y.Z`.\n\nThe `h3-py` version string is guaranteed to match the C library string\nin both *major* and *minor* numbers (`X.Y`), but may differ on the\n*patch* (`Z`) number.\nThis convention provides users with information on breaking changes and\nfeature additions, while providing downstream bindings (like this one!)\nwith the versioning freedom to fix bugs.\n\nUse `h3.versions()` to see the version numbers for both\n`h3-py` and the C library. For example,\n\n```python\n\u003e\u003e\u003e import h3\n\u003e\u003e\u003e h3.versions()\n{'c': '4.1.0', 'python': '4.1.1'}\n```\n","funding_links":[],"categories":["Python","Geospatial"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Fh3-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber%2Fh3-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Fh3-py/lists"}