R-Tree spatial index for Python GIS
Project description
Rtree: Spatial indexing for Python
Rtree is a ctypes Python wrapper of libspatialindex that provides a number of advanced spatial indexing features for the spatially curious Python user. These features include:
- Nearest neighbor search
- Intersection search
- Multi-dimensional indexes
- Clustered indexes (store Python pickles directly with index entries)
- Bulk loading
- Deletion
- Disk serialization
- Custom storage implementation (to implement spatial indexing in ZODB, for example)
Wheels are available for most major platforms, and rtree
with bundled libspatialindex
can be installed via pip:
pip install rtree
Changes
1.1.0
- Python 3.8+ is now required (#273)
- Move project metadata to pyproject.toml (#269)
- Refactor built wheels for PyPI (#276)
- Fix memory leak when breaking mid-way in
_get_objects
and_get_ids
(#266) (thanks @akariv!)
1.0.1
- Fix up type hints #243 (thanks @oderby)
- Python 3.11 wheels #250 (thanks @ewouth)
1.0.0
- Python 3.7+ is now required (#212) (thanks @adamjstewart!)
- Type hints (#215 and others) (thanks @adamjstewart!)
- Python 3.10 wheels, including osx-arm64 #224
- Clean up libspatialindex C API mismatches #222 (thanks @musicinmybrain!)
- Many doc updates, fixes, and type hints (thanks @adamjstewart!) #212 #221 #217 #215
- len method for index #194
- Prevent get_coordinate_pointers from mutating inputs #205 (thanks @sjones94549!)
- linux-aarch64 wheels #183 (thanks @odidev!)
- black (#218) and flake8 (#145) linting
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
Rtree-1.1.0.tar.gz
(49.2 kB
view hashes)
Built Distributions
Rtree-1.1.0-py3-none-win_amd64.whl
(435.7 kB
view hashes)
Close
Hashes for Rtree-1.1.0-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d346ab57eabee139890a51bf7e02c17c5bcbff68db84e1571ed5247fe108b8e7 |
|
MD5 | f6315c2591d3769729ed4a6f419f4870 |
|
BLAKE2b-256 | dad72077f7f07011d5ed28957443d0798e0381e9794cc67b93ec580bc1186485 |
Close
Hashes for Rtree-1.1.0-py3-none-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 696a5f3ecf8b622ab5827e107e762ecffa0555944433f2824dd7f46b4afc410b |
|
MD5 | 61a60ecb65bfeec7e2ecebbfab989961 |
|
BLAKE2b-256 | 77412fdce6bd057638f9947f0eaa3971402fe01f2f272951f49cdfb1df017117 |
Close
Hashes for Rtree-1.1.0-py3-none-musllinux_1_1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 818dde0ef54166edfb438a3bbf97bcc2eb0b984ab9ec5e7d20779479e456bfad |
|
MD5 | 1def800ec01631eee9005b92952ca38d |
|
BLAKE2b-256 | 21b2b3d2948c6a81320df9b4eb997ec66382f518b561187bd6e4d4dc8333fc6f |
Close
Hashes for Rtree-1.1.0-py3-none-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22c670ed503de4f42789a7ca1554b219d5820133edaf2a28a051bad2ac90bbca |
|
MD5 | c18068a05d9a56aea724f04e0015a599 |
|
BLAKE2b-256 | b1cc670a9d48b7710117647444680f6897b7e398aabbc41a6b01215baaaa044d |
Close
Hashes for Rtree-1.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96307058e0149b6124b5af1d48a145b3c1e0086db44de50b435f173e934fc510 |
|
MD5 | 64a3aa124f8d8739397b0fd5cbd82de0 |
|
BLAKE2b-256 | f20474f48b042aabdafa122289957240f4c013aec8c9045c3ce2fe3d1fa7a937 |
Close
Hashes for Rtree-1.1.0-py3-none-manylinux2014_i686.manylinux_2_17_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1787187b7d74845484e2da029775928ac6af2d453d401e0082022c6552c49b1 |
|
MD5 | 88f405ac800ab85d4296349a45e61fc2 |
|
BLAKE2b-256 | a3f15716356fb4175df7dac7c8d96444dd28e14813f471a8a6eb09712741b1f1 |
Close
Hashes for Rtree-1.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d3e4b19efa77fc3c09fbbbed48c588bfa056c8b73b5bd084fb0d2d37654775 |
|
MD5 | 0ebddf06468d44b6d67fe424d6112395 |
|
BLAKE2b-256 | de2366c3589a3de737e963859f39a1ce2bc98796b3427c2ebdc614b5c02cfda5 |
Close
Hashes for Rtree-1.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eac35fc095e36f5e5678f7777f296b6a076332c65cfbe00e5cd54b0518f6d71f |
|
MD5 | a6e29b7590b4faab6e9d7c0494db63a3 |
|
BLAKE2b-256 | 1ca6524326a993fad04215299e0023ed9c93b15d5bd62822d887729a90c27d52 |
Close
Hashes for Rtree-1.1.0-py3-none-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5dc612959233cf07f31c8f1a4cf1587eea86dc2fc6d6938f35f28d312bbbbd3e |
|
MD5 | 09449b604930a8d5695131151c68214b |
|
BLAKE2b-256 | 2d346ff42901722a18b81427bc240483276ebda786197125901975f7b9a6c9d2 |