spyrrow 0.1.0__cp312-cp312-musllinux_1_2_armv7l.whl → 0.2.0__cp312-cp312-musllinux_1_2_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.

Potentially problematic release.


This version of spyrrow might be problematic. Click here for more details.

spyrrow/__init__.pyi CHANGED
@@ -1,21 +1,26 @@
1
1
  from typing import TypeAlias
2
2
 
3
- Point: TypeAlias = tuple[float,float]
4
-
5
- ItemId: TypeAlias = int
3
+ Point: TypeAlias = tuple[float, float]
6
4
 
7
5
  class Item:
8
- demand:int
9
- shape:list[Point]
10
- allowed_orientations: list[float] |None
11
-
12
- def __init__(self, shape:list[Point], demand:int,allowed_orientations: list[float] |None): ...
6
+ id: int
7
+ demand: int
8
+ shape: list[Point]
9
+ allowed_orientations: list[float]
10
+
11
+ def __init__(
12
+ self,
13
+ id: int,
14
+ shape: list[Point],
15
+ demand: int,
16
+ allowed_orientations: list[float],
17
+ ): ...
13
18
 
14
19
  class PlacedItem:
15
- id:int
16
- shape:list[Point]
20
+ id: int
21
+ shape: list[Point]
17
22
  translation: Point
18
- rotation:float
23
+ rotation: float
19
24
 
20
25
  class StripPackingSolution:
21
26
  width: float
@@ -23,10 +28,9 @@ class StripPackingSolution:
23
28
  placed_items: list[PlacedItem]
24
29
 
25
30
  class StripPackingInstance:
26
- name:str
27
- height:float
31
+ name: str
32
+ height: float
28
33
  items: list[Item]
29
34
 
30
- def __init__(self, name:str, height:float, items:list[Item]): ...
31
-
32
- def solve(self, computation_time:int|None)-> StripPackingSolution: ...
35
+ def __init__(self, name: str, height: float, items: list[Item]): ...
36
+ def solve(self, computation_time: int = 600) -> StripPackingSolution: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: spyrrow
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -0,0 +1,9 @@
1
+ spyrrow-0.2.0.dist-info/METADATA,sha256=p9D_QSmvABrTUdR-gSzH7Jy4Q3KDGeclq7SlgSNpnZo,1467
2
+ spyrrow-0.2.0.dist-info/WHEEL,sha256=b9e5ZKPEClYzsMmcYLB7KoblyEf14C7A9arNZ3XmRRw,107
3
+ spyrrow-0.2.0.dist-info/licenses/LICENSE.txt,sha256=JOcOnGFqH2ZNyuMV3DBGh5kNL_3IqaS5832hwXhZ-Js,1076
4
+ spyrrow.libs/libgcc_s-5b5488a6.so.1,sha256=HGKUsVmTeNAxEdSy7Ua5Vh_I9FN3RCbPWzvZ7H_TrwE,2749061
5
+ spyrrow/__init__.py,sha256=MajlSBAliv8o8SqAqLgJARyi3egmvNIaXKTDXxvIAFY,111
6
+ spyrrow/__init__.pyi,sha256=9cCpUUc08P05BLw-ZZan96eJM9WaOdRDld42lWLHOTE,756
7
+ spyrrow/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
+ spyrrow/spyrrow.cpython-312-arm-linux-musleabihf.so,sha256=Z8OpDoxCYkln1_Uyyrz2W_soWM2T9InSsGdQpMlH3Wc,1448729
9
+ spyrrow-0.2.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.3)
2
+ Generator: maturin (1.8.4)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp312-cp312-musllinux_1_2_armv7l
@@ -1,10 +0,0 @@
1
- spyrrow-0.1.0.dist-info/METADATA,sha256=zXQWcI093rO_fAjlEZqWEwhD3BbZpbF0qI9IsZXY7d4,1467
2
- spyrrow-0.1.0.dist-info/WHEEL,sha256=mkwZPCBlEmAJdKgpMfMBf8oh8FwQc7X5Gx3nK9uSONY,107
3
- spyrrow-0.1.0.dist-info/licenses/LICENSE.txt,sha256=JOcOnGFqH2ZNyuMV3DBGh5kNL_3IqaS5832hwXhZ-Js,1076
4
- spyrrow.libs/libgcc_s-5b5488a6.so.1,sha256=HGKUsVmTeNAxEdSy7Ua5Vh_I9FN3RCbPWzvZ7H_TrwE,2749061
5
- spyrrow.libs/libstdc++-59b7fbaf.so.6,sha256=9Gum4fDEEfdT3VSZlwyKeaDD5McS9t5awHAAnvKXlcI,16387357
6
- spyrrow/__init__.py,sha256=MajlSBAliv8o8SqAqLgJARyi3egmvNIaXKTDXxvIAFY,111
7
- spyrrow/__init__.pyi,sha256=0veGm83fVV-4JIMjTfALhlUurkT1ysU_CFEc4qP0Yc4,709
8
- spyrrow/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- spyrrow/spyrrow.cpython-312-arm-linux-musleabihf.so,sha256=GufkaNFVivpI3C6G1tp4q4MI3beUKt7LDv-EGDLrLOE,1756885
10
- spyrrow-0.1.0.dist-info/RECORD,,
Binary file