fastquadtree 1.0.1__cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl → 1.0.2__cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fastquadtree/_item.py CHANGED
@@ -23,17 +23,22 @@ class Item:
23
23
  __slots__ = ("geom", "id_", "obj")
24
24
 
25
25
  def __init__(self, id_: int, geom: Point | Bounds, obj: Any | None = None):
26
- self.id_ = id_
27
- self.geom = geom
28
- self.obj = obj
26
+ self.id_: int = id_
27
+ self.geom: Point | Bounds = geom
28
+ self.obj: Any | None = obj
29
29
 
30
30
 
31
31
  class PointItem(Item):
32
32
  """
33
33
  Lightweight point item wrapper for tracking and as_items results.
34
+
35
+ Attributes:
36
+ id_: Integer identifier.
37
+ geom: The point geometry as (x, y).
38
+ obj: The attached Python object if available, else None.
34
39
  """
35
40
 
36
- __slots__ = ("geom", "id_", "obj", "x", "y")
41
+ __slots__ = ("x", "y")
37
42
 
38
43
  def __init__(self, id_: int, geom: Point, obj: Any | None = None):
39
44
  super().__init__(id_, geom, obj)
@@ -43,9 +48,14 @@ class PointItem(Item):
43
48
  class RectItem(Item):
44
49
  """
45
50
  Lightweight rectangle item wrapper for tracking and as_items results.
51
+
52
+ Attributes:
53
+ id_: Integer identifier.
54
+ geom: The rectangle geometry as (min_x, min_y, max_x, max_y
55
+ obj: The attached Python object if available, else None.
46
56
  """
47
57
 
48
- __slots__ = ("geom", "id_", "max_x", "max_y", "min_x", "min_y", "obj")
58
+ __slots__ = ("max_x", "max_y", "min_x", "min_y")
49
59
 
50
60
  def __init__(self, id_: int, geom: Bounds, obj: Any | None = None):
51
61
  super().__init__(id_, geom, obj)
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fastquadtree
3
- Version: 1.0.1
3
+ Version: 1.0.2
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3 :: Only
6
6
  Classifier: Programming Language :: Rust
@@ -1,13 +1,13 @@
1
- fastquadtree-1.0.1.dist-info/METADATA,sha256=L9xfkCTXamefk_ZfyX8caAg6_Su65hYzQlElY8gV-ws,9367
2
- fastquadtree-1.0.1.dist-info/WHEEL,sha256=xBqaWU3Z-cfW-EFy0ENuEqxgXZXkIHUBkA1cT6FlqGM,127
3
- fastquadtree-1.0.1.dist-info/licenses/LICENSE,sha256=pRuvcuqIMtEUBMgvP1Bc4fOHydzeuA61c6DQoQ1pb1w,1071
1
+ fastquadtree-1.0.2.dist-info/METADATA,sha256=9WAl3PbvlWJYBoqyjKexb0M6QPu68n4eR34LCPIgOok,9367
2
+ fastquadtree-1.0.2.dist-info/WHEEL,sha256=xBqaWU3Z-cfW-EFy0ENuEqxgXZXkIHUBkA1cT6FlqGM,127
3
+ fastquadtree-1.0.2.dist-info/licenses/LICENSE,sha256=pRuvcuqIMtEUBMgvP1Bc4fOHydzeuA61c6DQoQ1pb1w,1071
4
4
  fastquadtree/__init__.py,sha256=rtkveNz7rScRasTRGu1yEqzeoJfLfreJNxg21orPL-U,195
5
5
  fastquadtree/_base_quadtree.py,sha256=tP6pymgV6s29C_1TjCZ6u0XKb6NFq3tQ7tk6REKS020,8576
6
- fastquadtree/_item.py,sha256=0dxvqAMa94Zg-ZjYVMeZJt-irpafalrXph_Qeqp40AU,1348
7
- fastquadtree/_native.abi3.so,sha256=M62NxHShvDaMHVyXSc7zaE-UoFfAyS_biELFMHZYeJI,463388
6
+ fastquadtree/_item.py,sha256=LoTDr7zlsZyUrrKK6Ketzl5fxTcFF8YbcxEXbQ65st4,1679
7
+ fastquadtree/_native.abi3.so,sha256=JdgtsiwQhc-rvOjpX_XFfrlg43yxesSWfiFONTj4UM0,463372
8
8
  fastquadtree/_obj_store.py,sha256=vmhZGdzEoTQHvRbFjTne_0X2Z1l48SXyB6I9SAjjbiM,5267
9
9
  fastquadtree/point_quadtree.py,sha256=Pz8ZS7N3kYSYJJYGa3ghKzy7d3JCA1dbi9nfEwwpF_k,5178
10
10
  fastquadtree/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  fastquadtree/pyqtree.py,sha256=W5akt9gua7mr51eI-I1hqbZJMRdcNKWzpeaZhlOvhb0,5781
12
12
  fastquadtree/rect_quadtree.py,sha256=7F-JceCHn5RLhztxSYCIJEZ_e2TV-NeobobbrdauJQA,3024
13
- fastquadtree-1.0.1.dist-info/RECORD,,
13
+ fastquadtree-1.0.2.dist-info/RECORD,,