Skip to content

Commit 5bd4397

Browse files
authored
get ready for 1.0.0 (#240)
1 parent 5e6a2e6 commit 5bd4397

File tree

4 files changed

+43
-6
lines changed

4 files changed

+43
-6
lines changed

CREDITS.txt

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Howard Butler <[email protected]>
1313
* .count() and .intersection() methods
1414
* Windows support
1515
* Node fetching
16-
* Index property access
16+
* Index property access
1717

1818
Brent Pedersen <[email protected]>
1919

@@ -26,3 +26,8 @@ Matthias <[email protected]>
2626

2727
* Custom storage API (both Rtree and libspatialindex)
2828

29+
30+
Adam Stewart
31+
32+
* intersection/union support
33+
* __len__ method

README.md

+34-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,42 @@
1-
Rtree
2-
=====
1+
# Rtree: Spatial indexing for Python
32

43
![Build](https://github.com/Toblerity/rtree/workflows/Build/badge.svg)
54
[![PyPI version](https://badge.fury.io/py/Rtree.svg)](https://badge.fury.io/py/Rtree)
65

7-
RTree is a Python package with bindings for [libspatialindex](https://github.com/libspatialindex/libspatialindex). Wheels are available for most major platforms, and `rtree` with bundled `libspatialindex` can be installed via pip:
6+
7+
Rtree`_ is a [ctypes](http://docs.python.org/library/ctypes.html) Python wrapper of [libspatialindex](https://libspatialindex.org/) that provides a
8+
number of advanced spatial indexing features for the spatially curious Python
9+
user. These features include:
10+
11+
* Nearest neighbor search
12+
* Intersection search
13+
* Multi-dimensional indexes
14+
* Clustered indexes (store Python pickles directly with index entries)
15+
* Bulk loading
16+
* Deletion
17+
* Disk serialization
18+
* Custom storage implementation (to implement spatial indexing in ZODB, for example)
19+
20+
21+
Wheels are available for most major platforms, and `rtree` with bundled `libspatialindex` can be installed via pip:
22+
823
```
924
pip install rtree
1025
```
1126

27+
# Changes
28+
29+
## 1.0.0
30+
31+
32+
* Python 3.7+ is now required (#212) (thanks @adamjstewart!)
33+
* Type hints (#215 and others) (thanks @adamjstewart!)
34+
* Python 3.10 wheels, including osx-arm64 #224
35+
* Clean up libspatialindex C API mismatches #222 (thanks @musicinmybrain!)
36+
* Many doc updates, fixes, and type hints (thanks @adamjstewart!) #212 #221 #217 #215
37+
* __len__ method for index #194
38+
* Prevent get_coordinate_pointers from mutating inputs #205 (thanks @sjones94549!)
39+
* linux-aarch64 wheels #183 (thanks @odidev!)
40+
* black (#218) and flake8 (#145) linting
41+
42+
https://github.com/Toblerity/rtree/releases/1.0.0

rtree/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
Rtree provides Python bindings to libspatialindex for quick
55
hyperrectangular intersection queries.
66
"""
7-
__version__ = "0.9.7"
7+
__version__ = "1.0.0"
88

99
from .index import Index, Rtree # noqa

setup.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ classifiers =
2323
Topic :: Database
2424
license = MIT
2525
description = R-Tree spatial index for Python GIS
26-
long_description = file: docs/source/README.txt
26+
long_description = file: README.md
27+
long_description_content_type = text/markdown
2728
keywords = gis, spatial, index, r-tree
2829

2930
[options]

0 commit comments

Comments
 (0)