Hierarchical hexagonal geospatial indexing system
Project description
h3-py
Python bindings for the H3 Core Library.
For API reference, please see the H3 Documentation.
NOTE: This version (v.3.6.1) corresponds to the new Cython bindings, which will replace the old bindings (v3.4.3). This version is not yet published to PyPI.
Install from PyPI
TODO: instructions for installing from pre-built wheels
Install from GitHub
You need to have cc
, make
, cmake
, and git
in your $PATH
when installing this package.
Then run:
pip install git+https://github.com/uber/h3-py.git
Try the library with:
>>> import h3
>>> h3.geo_to_h3(0, 0, 0)
'8075fffffffffff'
NumPy support
h3
has no runtime dependencies on other libraries, so a standard
pip install
will install no additional libraries.
The optional h3.api.numpy_int
API requires numpy
.
To have numpy
installed (if it isn't already) along
with h3
, run:
pip install git+https://github.com/uber/h3-py.git[numpy]
or
pip install git+https://github.com/uber/h3-py.git[all]
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 a simple walkthrough of the API. For more information, please see the H3 Documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file h3-3.6.1a1.tar.gz
.
File metadata
- Download URL: h3-3.6.1a1.tar.gz
- Upload date:
- Size: 17.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 586b8949f65e072c366317ed5f27a1c064339e102a431223b55ef5a198f5c628 |
|
MD5 | 61216c86cb35d8db541768021aa8fa24 |
|
BLAKE2b-256 | e73f9a72d8e2df3cd86267e68beab562f9af51e57b56634735b53f15b7593722 |
Provenance
File details
Details for the file h3-3.6.1a1-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 473.8 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfeaa8dce4c291f4d16f4d2684a7f66cbbae4afba170943efbc6c40fb21c8395 |
|
MD5 | d6c86d87cb97aea7762544558a909058 |
|
BLAKE2b-256 | bfc61921215cdfc357a9fc09620f5e81186c8c9a60530ada9afe1a082bbf68c6 |
Provenance
File details
Details for the file h3-3.6.1a1-cp38-cp38-manylinux2010_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 660.2 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2300d38852fe878817d61d1ac74154c25ddb267349e7d472f715d1ddb6bce90c |
|
MD5 | 253c5e9460a4576c4ff93794baa4444d |
|
BLAKE2b-256 | 969551920765df783129f5a85019acbe173b78099ccb9dd6f249b429e4887fc5 |
Provenance
File details
Details for the file h3-3.6.1a1-cp38-cp38-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 562.8 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5ce5de2ec0bc832cebd60ac88c6f3def872afcd89626d372270ba6709a00c03 |
|
MD5 | 37916b790ebe14bc5f6eda398b39a9ad |
|
BLAKE2b-256 | 73868edae504a074b6ec80478d741a958789619e6ea9b520060baf885a859111 |
Provenance
File details
Details for the file h3-3.6.1a1-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 468.1 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7873aa1ace702043c4c063f56887402e2e27e6a61f8b6922d815c7d96de9650 |
|
MD5 | 11fd3eef3686d2e51700b9df873d448d |
|
BLAKE2b-256 | 2193063dc7681f5709c4cf2abd982a53db7ec8acfe42923a2e689701fea21078 |
Provenance
File details
Details for the file h3-3.6.1a1-cp37-cp37m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 651.2 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9bba989a66a0d0a70f9771e1fe40d816ffdb166e3f2792c3d534fb84630bc06 |
|
MD5 | 38eb6c849673932864718205802c6411 |
|
BLAKE2b-256 | 0d015c7ac7e552ec7e47cd47818ecc3eab9b4053a2c6242c41011eee870a69da |
Provenance
File details
Details for the file h3-3.6.1a1-cp37-cp37m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 565.4 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa5cc91f451da907e33bd341ed8d77aa2811c5abfdcffe44e87fd02545975ba0 |
|
MD5 | f41184de00779c4b17981dfe94a7d16f |
|
BLAKE2b-256 | 8288f5caad05caf04a8c8a9f59053ba059174063654993816386b46660eab26a |
Provenance
File details
Details for the file h3-3.6.1a1-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 468.1 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dee06488da0bd1b9ceb5255049bcb997b4aeab13214faa3e8227018ab51e32e |
|
MD5 | b64cd3dce4339f213b7b826ae677e388 |
|
BLAKE2b-256 | c6c6fd06cbe78e794eb6cf29e7e58026d248844fd5ddb20ed6957a2f13bcea01 |
Provenance
File details
Details for the file h3-3.6.1a1-cp36-cp36m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 651.8 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f572048b1693383ad0482ea679f2858f77eeaecf9b38b989ffd84f19ad01e1d4 |
|
MD5 | 3faa261ea3f0481b23651093ed8f052a |
|
BLAKE2b-256 | a191298e71d409af1b08725d9f3e53e36997d803eeade54d6b9b8210df6e5e27 |
Provenance
File details
Details for the file h3-3.6.1a1-cp36-cp36m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 565.2 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9de03039b8d74ebcfa5b3888f0676edec0772d2f31de59e5b332f448fafad83c |
|
MD5 | b04bb8490ee52ab578eea5b6d47a79bd |
|
BLAKE2b-256 | bfa40b39bb2e4e23ece1bae4f50719de8f8628117d6f6d477fc98e77bbc31363 |
Provenance
File details
Details for the file h3-3.6.1a1-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 464.7 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ab74b5a44a9e0850cd4194913e057da51edbc89d898ca030089361716645283 |
|
MD5 | 2f6230b65e07aadaa3b0c182b147087f |
|
BLAKE2b-256 | 8ebf7b1771e6f927eb596ef6f7b46c5d6df3585f20156cbd288acea36e2f9d00 |
Provenance
File details
Details for the file h3-3.6.1a1-cp35-cp35m-manylinux2010_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp35-cp35m-manylinux2010_x86_64.whl
- Upload date:
- Size: 648.4 kB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 831c23083e7e1c0f839de8affcfcb30e5865ba6b93eeb3d2e0029e1cd210c2e5 |
|
MD5 | b6ed667d672a8b0e627a8d5368422e7d |
|
BLAKE2b-256 | 085df85c0eec2e4a16e6ba875fa8c641a59a41f4e7e26a4adaba10a9d6838bba |
Provenance
File details
Details for the file h3-3.6.1a1-cp35-cp35m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp35-cp35m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 559.1 kB
- Tags: CPython 3.5m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7d12110ef61876f466c5d3deb909786dfe8e37cbe59e225d35760071fef836e |
|
MD5 | 35166860922ab276425a6b70e6468005 |
|
BLAKE2b-256 | d258dc529b675e1afb77bf6d8395c614f419e8229827218bc2d765da666d2480 |
Provenance
File details
Details for the file h3-3.6.1a1-cp27-cp27m-macosx_10_9_x86_64.whl
.
File metadata
- Download URL: h3-3.6.1a1-cp27-cp27m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 576.0 kB
- Tags: CPython 2.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1453453c582c6950f1bfe756b977414eb6db212f4d6208da97e535497ed54788 |
|
MD5 | d62ed1d62f48bab24f6cdba91ad165a1 |
|
BLAKE2b-256 | 507a8f087c6109d4b8f26fb0aee2c56d31b985c17ed19db07b232f143c953165 |