NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1325 most downloaded on PyPI
R-Tree spatial index for Python GIS
Last release 1 years ago
13 Aug 2025
Release timing varies
gaps range from 2 weeks to 2.9 years
Most releases are documented
notes for 21 of 29 stable releases
Nothing withdrawn
no release was ever pulled
19 years old
31 releases · first in 2007
Rename main branch references by @mwtoews in #356
Full Changelog: 1.4.0...1.4.1
One column per quarter.
Rename main branch references by mwtoews in :PR:`356`
Fixing an incorrect reassignment in nearest_v and intersection_v by Atilleusz in :PR:`358`
Add spatialindex version to tests, add common pytest configuration by mwtoews in :PR:`360`
Refactor array-loading methods, add tests by mwtoews in :PR:`361`
Minor refactor of code blocks in docs by mwtoews in :PR:`362`
Resolve some issues in the batch API by FreddieWitherden in :PR:`367`
fix #369 (load libspatialindex without changing cwd) by remicres in :PR:`370`
arm64 wheels on windows by @w8sl in :PR:`378` and :PR:`371`
Rename main branch references by @mwtoews in #356
Fixing an incorrect reassignment in nearest_v and intersection_v by @Atilleusz in #358
Add spatialindex version to tests, add common pytest configuration by @mwtoews in #360
Refactor array-loading methods, add tests by @mwtoews in #361
Minor refactor of code blocks in docs by @mwtoews in #362
Resolve some issues in the batch API by @FreddieWitherden in #367
fix #369 (load libspatialindex without changing cwd) by @remicres in #370
arm64 wheels on windows by @w8sl in #378 and #371
Full Changelog
fire CI when a pre-release is published by @hobu in #381
Full Changelog: 1.4.1b1...1.4.1b3
fire CI when a pre-release is published
fire CI when a pre-release is published
bump to 1.4.1b2
Add support for array-based bulk insert with NumPy ( #340 by @FreddieWitherden )
Upgrade binary wheels with libspatialindex-2.0.0
Fix test failure with built library ( #291 by @sebastic )
Fix test failure with built library (:PR:`291` by sebastic)
Include spatialindex headers and add ~rtree.finder.get_include (:PR:`292` by JDBetteridge)
Fix up type hints #243 (thanks @oderby )
Fix up type hints :PR:`243` (thanks oderby)
Python 3.11 wheels :PR:`250` (thanks ewouth)
Python 3.7+ is now required ( #212 ) (thanks @adamjstewart !)
__len__ method for index #194Python 3.7+ is now required (:PR:`212`) (thanks adamjstewart!)
Type hints (:PR:`215` and others) (thanks adamjstewart!)
Python 3.10 wheels, including osx-arm64 :PR:`224`
Clean up libspatialindex C API mismatches :PR:`222` (thanks musicinmybrain!)
Many doc updates, fixes, and type hints (thanks adamjstewart!) :PR:`212` :PR:`221` :PR:`217` :PR:`215`
__len__ method for index :PR:`194`
Prevent get_coordinate_pointers from mutating inputs #205 (thanks sjones94549!)
linux-aarch64 wheels :PR:`183` (thanks odidev!)
black (:PR:`218`) and flake8 (:PR:`145`) linting
Fix debug wheels on windows #175
Nothing published for this version
RTree wheel building infrastructure #163. Thanks to Michael Dawson-Haggerty @mikedh for a 134 commit marathon to construct automated wheel building of
Add index size and custom __repr__ methods for index classes #139 (thanks @sr-murthy )
__repr__ methods for index classes #139 (thanks @sr-murthy )find_library and libspatialindex library loading https://github.com/Toblerity/rtree/pull/131
find_library and libspatialindex library loading :PR:`131`
Refactored tests to be based on unittest https://github.com/Toblerity/rtree/pull/129
Refactored tests to be based on unittest :PR:`129`
Update libspatialindex library loading code to adapt previous behavior :PR:`128`
Empty data streams throw exceptions and do not partially construct indexes :PR:`127`
0.9.1 is a patch release to fix library finding of libspatialindex.
0.9.1 is a patch release to fix library finding of libspatialindex.
Add Index.contains() method for object and id (requires libspatialindex 1.9.3+) #116
Add Index.GetResultSetOffset()
Add Index.contains() method for object and id (requires libspatialindex 1.9.3+) :PR:`116`
Add Index.Flush() :PR:`107`
Add TPRTree index support (thanks sdhiscocks :PR:`117`)
Return container sizes without returning objects :PR:`90`
Add set_result_limit and set_result_offset for Index paging 44ad21aecd3f7b49314b9be12f3334d8bae7e827
Bug fixes:
Better exceptions in cases where stream functions throw :PR:`80`
Migrated CI platform to Azure Pipelines https://dev.azure.com/hobuinc/rtree/_build?definitionId=5
Minor test enhancements and fixups. Both libspatialindex 1.8.5 and libspatialindex 1.9.3 are tested with CI
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
0.7.0 relies on libspatialindex 1.7.1+.
0.7.0 relies on libspatialindex 1.7.1+.
int64_t's should be used for IDs instead of uint64_t (requires libspatialindex 1.7.1 C API changes)
Fix __version__
More documentation at http://toblerity.github.com/rtree/
Class documentation at http://toblerity.github.com/rtree/class.html
Tweaks for PyPy compatibility. Still not compatible yet, however.
Custom storage support by Mattias (requires libspatialindex 1.7.1)
0.6.0 relies on libspatialindex 1.5.0+.
0.6.0 relies on libspatialindex 1.5.0+.
~rtree.index.Index.intersection and ~rtree.index.Index.nearest methods return iterators over results instead of lists.
Number of results for ~rtree.index.Index.nearest defaults to 1.
libsidx C library of 0.5.0 removed and included in libspatialindex
objects="raw" in ~rtree.index.Index.intersection to return the object sent in (for speed).
~rtree.index.Index.count method to return the intersection count without the overhead of returning a list (thanks Leonard Norrgård).
Improved bulk loading performance
Supposedly no memory leaks :)
Many other performance tweaks (see docs).
Bulk loader supports interleaved coordinates
Leaf queries. You can return the box and ids of the leaf nodes of the index. Useful for visualization, etc.
Many more docstrings, sphinx docs, etc
0.5.0 was a complete refactoring to use libsidx - a C API for libspatialindex. The code is now ctypes over libsidx, and a number of new features are n
0.5.0 was a complete refactoring to use libsidx - a C API for libspatialindex. The code is now ctypes over libsidx, and a number of new features are now available as a result of this refactoring.
ability to store pickles within the index (clustered index)
ability to use custom extension names for disk-based indexes
ability to modify many index parameters at instantiation time
storage of point data reduced by a factor of 4
bulk loading of indexes at instantiation time
ability to quickly return the bounds of the entire index
ability to return the bounds of index entries
much better windows support
libspatialindex 1.4.0 required.
Fix reference counting leak #181
Fix reference counting leak #181
- Windows support
Windows support
Eliminate uncounted references in add, delete, nearestNeighbor (#157).
Eliminate uncounted references in add, delete, nearestNeighbor (#157).
Switch dependency to the single consolidated spatialindex library (1.3).
Testing improvements.
Switch dependency to the single consolidated spatialindex library (1.3).
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →