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
Hashes for h3-3.6.1a5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5eae21a4730aac552106e8a6a93814438081945cf377522f4faf75a6179b93f |
|
MD5 | 31c619fcd46ced16d6dd326777496b5e |
|
BLAKE2b-256 | 12ff441620207c036ed3f4ccd9fef019dbd2e3faf4262dd934e8d5af0dc750de |
Hashes for h3-3.6.1a5-cp38-cp38-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3899b790adb1cb8b7cb3a9e6dbf793a82d283dda94f04092630af5c0d6b01b91 |
|
MD5 | b5f5fea04c5f80494dab514a9730b2aa |
|
BLAKE2b-256 | 06efcf338f9d8ea547042cf09041edb31b4e558652a53dc1f72520f701013e65 |
Hashes for h3-3.6.1a5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 317ca44fc7f50e0996e543097275e91cef516fc28057e698c8d6d05a42ffd522 |
|
MD5 | 93b4a8789439319c662660f2eb4afb6e |
|
BLAKE2b-256 | ff59689dce513eee9c9a7c9b297e57296f4d505a8edde5eeb7e6e34c722340c9 |
Hashes for h3-3.6.1a5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04a836896114984caf8e45ca4813a8f26ad4b6805fad233c2abc6d15aeb32cd2 |
|
MD5 | 7d183093e3ab7dba67f5b2194448b5a6 |
|
BLAKE2b-256 | 511bcc33597e951d4f0ccfcc8f14f3983fb61805028a399c84cc31215718cac1 |
Hashes for h3-3.6.1a5-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21b66ff896ac242e16ac7de7fd8f17af025634449b5784cc949457761fae15ec |
|
MD5 | 500d686232d8bbffa61ca59e70c98584 |
|
BLAKE2b-256 | a4a5c8c2172049ff9b5d3af7fa291958436ab01053012ade355c12321a58fbb6 |
Hashes for h3-3.6.1a5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6e5de672b15ac30aef05c9f7fd85044c5bb2be11278509c12a5c08bce385bee |
|
MD5 | 4aacf5dabbd92f8b5d04b32054d96ebc |
|
BLAKE2b-256 | e1a9fee596643cc800d8320429fb50c9b58c6cd59f3cf52f3aa75385ab922a3d |
Hashes for h3-3.6.1a5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b976034a335a3705c988e18d23bb3d1aa25664fe04e4b5d5e4eb839fcfe69e4a |
|
MD5 | c75da46b05ff6b20ffa73c5b1d7d0363 |
|
BLAKE2b-256 | d3f49fb3e84c4994c65b143ac6f11121fa9907f26b63a4135e2addce2c833bcb |
Hashes for h3-3.6.1a5-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0dacb0e9e951e00aac120f6547c7720c3165ecb61785b7905c7a62309174c73 |
|
MD5 | 55cfbeca821f1b9b9e9fbea411affa18 |
|
BLAKE2b-256 | fba942fc8b2de5ac402f13c9a7d591e83f40f56dab2075b3be3f6658a152cbe0 |
Hashes for h3-3.6.1a5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 837167ea1b9b7f5b886faa43f29b203fa3de767f8301810b54ee07a855225359 |
|
MD5 | e7b74e4ea4e9f202c49f41307a93e28f |
|
BLAKE2b-256 | 02b79eebab1ceb81c804b13fc1a76692374bca9c9e5c4f022daafec5b77b6ff8 |
Hashes for h3-3.6.1a5-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ee3e0ac866c75b4c0332c6d4125ea748a880d3d4b15d453ebe403082485687 |
|
MD5 | 6087a83f03519682e1a18b86f96cd67e |
|
BLAKE2b-256 | 978ef007435d8492d7211d5e188112f5dcad51a14f64c47f752f17960bcd327f |
Hashes for h3-3.6.1a5-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d0fc5280ac85317155936055ec667cbcae1066545ecfe15a5c985c7287007d1 |
|
MD5 | e3d2531f7cc50cd3c3739fe17b499314 |
|
BLAKE2b-256 | 2243d318c4faa9d1537824d84ff1a27e8631ed89c478a257a91cbfcf1f7e0285 |
Hashes for h3-3.6.1a5-cp35-cp35m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bafc5a99605b72919f8aa8e6b7c337940e86de004697a44855e53a9b88a1f022 |
|
MD5 | 294f239d564eb11b72eebb04970d91ac |
|
BLAKE2b-256 | e737a90e50a7f2166e87dc4197f9d1eefe5674c47cf3cecb6485229827cb0d81 |
Hashes for h3-3.6.1a5-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6471a151768411f43ca8ce055d4f44522733725d65c9baf881bf8c6d556fc83 |
|
MD5 | b354fcccd0c90859d570718ba463b619 |
|
BLAKE2b-256 | ad1719e8746f667615a4b2161b2303dd22452ad91f557a001f06340734ab29bb |