R-Tree spatial index for Python GIS
Project Links
Meta
Author: Sean Gillies
Maintainer: Howard Butler, Mike Taves
Requires Python: >=3.9
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
- Science/Research
Operating System
- OS Independent
Programming Language
- Python :: 3
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
Topic
- Scientific/Engineering :: GIS
- Database
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
See changes for all versions.
Aug 13, 2025
1.4.1
Aug 11, 2025
1.4.1b3
Aug 11, 2025
1.4.1b2
Mar 05, 2025
1.4.0
Jul 10, 2024
1.3.0
Jan 19, 2024
1.2.0
Oct 16, 2023
1.1.0
Oct 11, 2022
1.0.1
Apr 04, 2022
1.0.0
Dec 24, 2020
0.9.7
Dec 22, 2020
0.9.6
Dec 18, 2020
0.9.5
Feb 11, 2020
0.9.4
Dec 10, 2019
0.9.3
Dec 09, 2019
0.9.2
Nov 25, 2019
0.9.1
Nov 25, 2019
0.9.0
Dec 14, 2016
0.8.3
Nov 18, 2014
0.8.2
Nov 03, 2014
0.8.1
Jul 17, 2014
0.8.0
Jan 05, 2012
0.7.0
Apr 13, 2010
0.6.0
Aug 06, 2009
0.5.0
Jun 05, 2009
0.4.3
May 28, 2009
0.4.2
Mar 24, 2008
0.4.1
Jan 24, 2008
0.4
Nov 26, 2007
0.3.0
May 18, 2007
0.2.0
Apr 13, 2007
0.1.0
Dec 29, 2011
0.7.0.win32
Nov 05, 2012
0.7.0.win
Apr 13, 2010
0.6.0.win32
Aug 06, 2009
0.5.0.win32
Jun 05, 2009
0.4.3.win32
May 28, 2009
0.4.2.win32
May 28, 2009
0.4.1.win32
Wheel compatibility matrix
Files in release
No dependencies