quickpaver 0.6.0__tar.gz → 0.7.0__tar.gz

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.
Files changed (243) hide show
  1. quickpaver-0.7.0/.codacy.yml +20 -0
  2. quickpaver-0.7.0/.codespellrc +4 -0
  3. quickpaver-0.7.0/.coveragerc +23 -0
  4. quickpaver-0.7.0/.gitignore +144 -0
  5. quickpaver-0.7.0/.readthedocs.yml +21 -0
  6. {quickpaver-0.6.0 → quickpaver-0.7.0}/CHANGELOG.rst +56 -1
  7. {quickpaver-0.6.0 → quickpaver-0.7.0}/CONTRIBUTING.rst +17 -10
  8. quickpaver-0.7.0/Cargo.lock +281 -0
  9. quickpaver-0.7.0/Cargo.toml +28 -0
  10. quickpaver-0.7.0/Makefile +87 -0
  11. {quickpaver-0.6.0 → quickpaver-0.7.0}/PKG-INFO +50 -86
  12. {quickpaver-0.6.0 → quickpaver-0.7.0}/README.rst +14 -4
  13. quickpaver-0.7.0/benchmarks/cold.py +19 -0
  14. quickpaver-0.7.0/benchmarks/run_bench.py +66 -0
  15. quickpaver-0.7.0/benchmarks/scenarios.py +55 -0
  16. quickpaver-0.7.0/benchmarks/tilebench.py +29 -0
  17. quickpaver-0.7.0/bibliography.bib +0 -0
  18. quickpaver-0.7.0/docs/sources/_static/.gitkeep +0 -0
  19. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/conf.py +68 -16
  20. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/installation.rst +12 -2
  21. quickpaver-0.7.0/docs/sources/notebooks/regular_paving_examples.rst +18 -0
  22. quickpaver-0.7.0/docs/sources/notebooks/transfer_matrix_examples.rst +18 -0
  23. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/usage.rst +2 -1
  24. quickpaver-0.7.0/notebooks/regular_paving_examples.py +569 -0
  25. quickpaver-0.7.0/notebooks/transfer_matrix_examples.py +28 -0
  26. quickpaver-0.7.0/pyproject.toml +178 -0
  27. quickpaver-0.7.0/python/quickpaver/__about__.py +14 -0
  28. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/__init__.py +9 -0
  29. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/_grid.py +38 -23
  30. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/_plot.py +16 -4
  31. quickpaver-0.7.0/python/quickpaver/_quickpaver.pyi +111 -0
  32. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/_tiling.py +342 -84
  33. quickpaver-0.7.0/python/quickpaver/_transfer_matrix.py +1239 -0
  34. quickpaver-0.7.0/python/quickpaver/py.typed +0 -0
  35. quickpaver-0.7.0/src/clip.rs +370 -0
  36. quickpaver-0.7.0/src/geom.rs +373 -0
  37. quickpaver-0.7.0/src/lib.rs +416 -0
  38. quickpaver-0.7.0/src/surface.rs +266 -0
  39. quickpaver-0.7.0/src/transfer.rs +932 -0
  40. quickpaver-0.7.0/tests/conftest.py +10 -0
  41. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_grid.py +3 -2
  42. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_plot.py +8 -4
  43. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_tiling.py +1 -0
  44. quickpaver-0.7.0/tests/test_tiling_fast_paths.py +103 -0
  45. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_transfer_matrix.py +2 -1
  46. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_internals.py +3 -104
  47. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_mixed_polygon.py +16 -29
  48. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_rectilinear.py +1 -0
  49. quickpaver-0.7.0/tests/test_transfer_matrix_rust.py +261 -0
  50. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_trimesh.py +2 -1
  51. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_trimesh_flat.py +1 -0
  52. quickpaver-0.7.0/tox.ini +49 -0
  53. quickpaver-0.7.0/uv.lock +7417 -0
  54. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Disk.as_array.rst +0 -12
  55. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Disk.bounds.rst +0 -12
  56. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Disk.center.rst +0 -12
  57. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Disk.centroid.rst +0 -12
  58. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Disk.radius.rst +0 -12
  59. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Disk.to_polygon.rst +0 -12
  60. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Grid.make_spatial_gradient_matrices.rst +0 -12
  61. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Grid.make_spatial_permutation_matrices.rst +0 -12
  62. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.Grid.n_grid_cells.rst +0 -12
  63. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.HEXAGON.rst +0 -12
  64. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.RECTANGLE.rst +0 -12
  65. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.TRIANGLE.rst +0 -12
  66. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.capitalize.rst +0 -12
  67. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.casefold.rst +0 -12
  68. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.center.rst +0 -12
  69. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.count.rst +0 -12
  70. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.encode.rst +0 -12
  71. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.endswith.rst +0 -12
  72. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.expandtabs.rst +0 -12
  73. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.find.rst +0 -12
  74. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.format.rst +0 -12
  75. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.format_map.rst +0 -12
  76. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.index.rst +0 -12
  77. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isalnum.rst +0 -12
  78. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isalpha.rst +0 -12
  79. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isascii.rst +0 -12
  80. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isdecimal.rst +0 -12
  81. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isdigit.rst +0 -12
  82. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isidentifier.rst +0 -12
  83. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.islower.rst +0 -12
  84. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isnumeric.rst +0 -12
  85. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isprintable.rst +0 -12
  86. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isspace.rst +0 -12
  87. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.istitle.rst +0 -12
  88. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isupper.rst +0 -12
  89. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.join.rst +0 -12
  90. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.ljust.rst +0 -12
  91. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.lower.rst +0 -12
  92. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.lstrip.rst +0 -12
  93. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.maketrans.rst +0 -12
  94. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.partition.rst +0 -12
  95. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.removeprefix.rst +0 -12
  96. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.removesuffix.rst +0 -12
  97. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.replace.rst +0 -12
  98. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rfind.rst +0 -12
  99. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rindex.rst +0 -12
  100. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rjust.rst +0 -12
  101. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rpartition.rst +0 -12
  102. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rsplit.rst +0 -12
  103. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rstrip.rst +0 -12
  104. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.split.rst +0 -12
  105. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.splitlines.rst +0 -12
  106. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.startswith.rst +0 -12
  107. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.strip.rst +0 -12
  108. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.swapcase.rst +0 -12
  109. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.title.rst +0 -12
  110. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.to_list.rst +0 -12
  111. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.translate.rst +0 -12
  112. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.upper.rst +0 -12
  113. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.zfill.rst +0 -12
  114. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.bounding_box_vertices_coordinates.rst +0 -12
  115. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.bounds.rst +0 -12
  116. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.center_coords.rst +0 -12
  117. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.center_coords_2d.rst +0 -12
  118. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.contour.rst +0 -12
  119. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.copy.rst +0 -12
  120. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.cx.rst +0 -12
  121. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.cy.rst +0 -12
  122. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.cz.rst +0 -12
  123. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dims.rst +0 -12
  124. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dx.rst +0 -12
  125. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dy.rst +0 -12
  126. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dz.rst +0 -12
  127. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.gamma_ij_x_m2.rst +0 -12
  128. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.gamma_ij_y_m2.rst +0 -12
  129. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.gamma_ij_z_m2.rst +0 -12
  130. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.grid_cell_volume_m3.rst +0 -12
  131. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.indices.rst +0 -12
  132. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.make_spatial_gradient_matrices.rst +0 -12
  133. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.make_spatial_permutation_matrices.rst +0 -12
  134. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.n_grid_cells.rst +0 -12
  135. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.non_rot_center_coords.rst +0 -12
  136. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.non_rot_center_coords_2d.rst +0 -12
  137. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.nx.rst +0 -12
  138. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.ny.rst +0 -12
  139. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.nz.rst +0 -12
  140. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.origin.rst +0 -12
  141. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.origin_coords.rst +0 -12
  142. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.phi.rst +0 -12
  143. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.psi.rst +0 -12
  144. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.rot_center.rst +0 -12
  145. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.shape.rst +0 -12
  146. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.theta.rst +0 -12
  147. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.to_pyvista.rst +0 -12
  148. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.to_shapely.rst +0 -12
  149. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.total_volume_m3.rst +0 -12
  150. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.x0.rst +0 -12
  151. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.x_extent.rst +0 -12
  152. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.x_indices.rst +0 -12
  153. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.xmax.rst +0 -12
  154. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.xmin.rst +0 -12
  155. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.y0.rst +0 -12
  156. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.y_extent.rst +0 -12
  157. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.y_indices.rst +0 -12
  158. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.ymax.rst +0 -12
  159. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.ymin.rst +0 -12
  160. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.z0.rst +0 -12
  161. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.z_extent.rst +0 -12
  162. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.z_indices.rst +0 -12
  163. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.zmax.rst +0 -12
  164. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.zmin.rst +0 -12
  165. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.area_m2.rst +0 -12
  166. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.edge_lengths_m.rst +0 -12
  167. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.n_tri.rst +0 -12
  168. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.n_verts.rst +0 -12
  169. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.to_shapely.rst +0 -12
  170. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.transform.rst +0 -12
  171. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.tri_area_m2.rst +0 -12
  172. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.tri_verts.rst +0 -12
  173. quickpaver-0.6.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.verts_xy.rst +0 -12
  174. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.Disk.rst +0 -50
  175. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.Grid.rst +0 -44
  176. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.PolygonType.rst +0 -140
  177. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.RectilinearGrid.rst +0 -140
  178. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.TriMesh.rst +0 -56
  179. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.adjacency_by_shared_vertices.rst +0 -12
  180. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.adjacency_to_edges.rst +0 -12
  181. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.binary_dilation.rst +0 -12
  182. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.compute_transfer_matrix.rst +0 -12
  183. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.compute_transfer_matrix_with_intersections.rst +0 -12
  184. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.conservative_upsample.rst +0 -12
  185. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.create_selections_array_2d.rst +0 -12
  186. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.draw_adjacency.rst +0 -12
  187. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.duplicative_upsample.rst +0 -12
  188. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.extract_tiling_centers.rst +0 -12
  189. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.extract_tiling_vertices.rst +0 -12
  190. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.gen_hexagonal_tiling.rst +0 -12
  191. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.gen_polygon.rst +0 -12
  192. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.gen_polygonal_tiling.rst +0 -12
  193. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.gen_rectangular_tiling.rst +0 -12
  194. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.gen_triangular_tiling.rst +0 -12
  195. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.get_array_borders_selection.rst +0 -12
  196. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.get_owner_neigh_indices.rst +0 -12
  197. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.get_polygon_selection_with_dilation_2d.rst +0 -12
  198. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.get_polygon_selection_with_dilation_3d.rst +0 -12
  199. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.get_rlg_perm_mat.rst +0 -12
  200. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.get_rlg_spatial_grad_mat.rst +0 -12
  201. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.intersects_mask.rst +0 -12
  202. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.load_corsica_contour.rst +0 -12
  203. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.load_france_and_corsica_contour.rst +0 -12
  204. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.load_france_contour.rst +0 -12
  205. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.make_rlg_spatial_gradient_matrices.rst +0 -12
  206. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.make_rlg_spatial_permutation_matrices.rst +0 -12
  207. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.resample_grid.rst +0 -12
  208. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.rlg_idx_to_nn.rst +0 -12
  209. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.rlg_nn_to_idx.rst +0 -12
  210. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.span_to_node_numbers_2d.rst +0 -12
  211. quickpaver-0.6.0/docs/sources/_autosummary/quickpaver.span_to_node_numbers_3d.rst +0 -12
  212. quickpaver-0.6.0/pyproject.toml +0 -147
  213. quickpaver-0.6.0/quickpaver/__about__.py +0 -8
  214. quickpaver-0.6.0/quickpaver/_transfer_matrix.py +0 -3942
  215. quickpaver-0.6.0/quickpaver.egg-info/PKG-INFO +0 -571
  216. quickpaver-0.6.0/quickpaver.egg-info/SOURCES.txt +0 -208
  217. quickpaver-0.6.0/quickpaver.egg-info/dependency_links.txt +0 -1
  218. quickpaver-0.6.0/quickpaver.egg-info/requires.txt +0 -50
  219. quickpaver-0.6.0/quickpaver.egg-info/top_level.txt +0 -1
  220. quickpaver-0.6.0/setup.cfg +0 -4
  221. {quickpaver-0.6.0 → quickpaver-0.7.0}/AUTHORS.rst +0 -0
  222. {quickpaver-0.6.0 → quickpaver-0.7.0}/LICENSE +0 -0
  223. {quickpaver-0.6.0 → quickpaver-0.7.0}/MANIFEST.in +0 -0
  224. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/Makefile +0 -0
  225. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/make.bat +0 -0
  226. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/_templates/autosummary/base.rst +0 -0
  227. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/_templates/autosummary/class.rst +0 -0
  228. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/_templates/autosummary/module.rst +0 -0
  229. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/api_reference.rst +0 -0
  230. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/authors.rst +0 -0
  231. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/bibliography.rst +0 -0
  232. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/changelog.rst +0 -0
  233. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/contributing.rst +0 -0
  234. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/index.rst +0 -0
  235. {quickpaver-0.6.0 → quickpaver-0.7.0}/docs/sources/readme.rst +0 -0
  236. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/_tm_test_utils.py +0 -0
  237. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/_types.py +0 -0
  238. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/data/__init__.py +0 -0
  239. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/data/corsica.geojson +0 -0
  240. {quickpaver-0.6.0 → quickpaver-0.7.0/python}/quickpaver/data/france.geojson +0 -0
  241. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/__init__.py +0 -0
  242. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_data.py +0 -0
  243. {quickpaver-0.6.0 → quickpaver-0.7.0}/tests/test_types.py +0 -0
@@ -0,0 +1,20 @@
1
+ ---
2
+ exclude_paths:
3
+ - '.github/**'
4
+ - 'docs/conf.py'
5
+
6
+ engines:
7
+ bandit:
8
+ enabled: true
9
+ config:
10
+ skips:
11
+ - B101 # ignore "assert used" warning
12
+
13
+ pylint:
14
+ enabled: true
15
+ config:
16
+ disable:
17
+ - assert-used
18
+
19
+ assert_used:
20
+ skips: ['*_test.py', '*test_*.py']
@@ -0,0 +1,4 @@
1
+ [codespell]
2
+ skip = *.pyc,*.gif,*.png,*.jpg,*.ply, ./bibliography.bib,*.ipynb,*.html,*/__marimo__/*,./docs/sources/_static/marimo
3
+ quiet-level = 3
4
+ ignore-words-list = lod,byteorder,flem,parm,doubleclick,revered,inout,fro,nd,sies,COLLET,collet,Collet,COO
@@ -0,0 +1,23 @@
1
+ [run]
2
+ branch = True
3
+ source = quickpaver
4
+ relative_files = True
5
+
6
+ [report]
7
+ exclude_lines =
8
+ pragma: no cover
9
+ def __repr__
10
+ raise AssertionError
11
+ raise NotImplementedError
12
+ if __name__ == .__main__.:
13
+ if TYPE_CHECKING:
14
+
15
+ [paths]
16
+ # Map the files measured on each runner (editable install -> repository checkout,
17
+ # regular install -> site-packages, any OS) onto the sources of the merge job.
18
+ source =
19
+ python/quickpaver
20
+ */python/quickpaver
21
+ *\python\quickpaver
22
+ */site-packages/quickpaver
23
+ *\site-packages\quickpaver
@@ -0,0 +1,144 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Some specific folders
10
+ **/exported_figures*
11
+ **/HM_RESULTS/
12
+ old_examples/
13
+
14
+ # Distribution / packaging
15
+ .Python
16
+ env/
17
+ build/
18
+ develop-eggs/
19
+ dist/
20
+ downloads/
21
+ eggs/
22
+ .eggs/
23
+ lib/
24
+ lib64/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ wheels/
29
+ *.egg-info/
30
+ .installed.cfg
31
+ *.egg
32
+
33
+ # PyInstaller
34
+ # Usually these files are written by a python script from a template
35
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
36
+ *.manifest
37
+ *.spec
38
+
39
+ # Installer logs
40
+ pip-log.txt
41
+ pip-delete-this-directory.txt
42
+
43
+ # Unit test / coverage reports
44
+ htmlcov/
45
+ .tox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ .hypothesis/
53
+ .pytest_cache/
54
+ test-output.xml
55
+
56
+ # Translations
57
+ *.mo
58
+ *.pot
59
+
60
+ # Django stuff:
61
+ *.log
62
+ local_settings.py
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # Temp dev
75
+ dev/
76
+
77
+ # PyBuilder
78
+ target/
79
+
80
+ # Jupyter Notebook
81
+ .ipynb_checkpoints
82
+
83
+ # pyenv
84
+ .python-version
85
+
86
+ # celery beat schedule file
87
+ celerybeat-schedule
88
+
89
+ # SageMath parsed files
90
+ *.sage.py
91
+
92
+ # dotenv
93
+ .env
94
+
95
+ # virtualenv
96
+ .venv
97
+ venv/
98
+ ENV/
99
+
100
+ # Spyder project settings
101
+ .spyderproject
102
+ .spyproject
103
+
104
+ # Rope project settings
105
+ .ropeproject
106
+
107
+ # mkdocs documentation
108
+ /site
109
+
110
+ # mypy
111
+ .mypy_cache/
112
+
113
+ # IDE settings
114
+ .vscode/
115
+
116
+ # mac index files
117
+ *.DS_store
118
+
119
+ # Examples
120
+ */exported_figures
121
+ test-output.xml
122
+
123
+ # for the documentation
124
+ _autosummary/
125
+
126
+ # Some specific folders
127
+ **/exported_figures/
128
+ **/HM_RESULTS/
129
+ examples/articles/gd_gan/wgan_both_2202_b.pt
130
+ examples/articles/gd_gan/iswgan_conditioner_b.pt
131
+
132
+ # Rust
133
+ target/
134
+ # compiled extension of the dev install
135
+ python/quickpaver/_quickpaver*.so
136
+ python/quickpaver/_quickpaver*.pyd
137
+ .venv*/
138
+
139
+ devs/*
140
+
141
+ # marimo notebooks exported while building the docs
142
+ docs/sources/_static/marimo/
143
+ # marimo session caches
144
+ __marimo__/
@@ -0,0 +1,21 @@
1
+ # .readthedocs.yml
2
+ # Read the Docs configuration file
3
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4
+
5
+ version: 2
6
+
7
+ sphinx:
8
+ configuration: docs/sources/conf.py
9
+
10
+ build:
11
+ os: ubuntu-24.04
12
+ tools:
13
+ python: "3.13"
14
+ # The example notebooks are executed while building the documentation,
15
+ # so the Rust extension is compiled (maturin) and installed first.
16
+ rust: "latest"
17
+ jobs:
18
+ install:
19
+ - pip install --upgrade pip
20
+ - pip install --group docs
21
+ - pip install .
@@ -2,6 +2,61 @@
2
2
  Changelog
3
3
  ==============
4
4
 
5
+ 0.7.0 (2026-11-26)
6
+ ------------------
7
+
8
+ Performance (no API change; results are bit-identical to 0.6.0 except where noted):
9
+
10
+ * ENH: the geometry kernels are now written in Rust (PyO3 + rayon, GIL released) and
11
+ replace the numba kernels and the numpy fallbacks, which are removed. numba is no longer
12
+ used: no JIT compilation at first call (5.5 s before, 20 ms now) and no ``numba`` extra.
13
+ * ENH: every transfer path runs its candidate search, masks, pre-filter, clip, area filter
14
+ and weights in a single parallel Rust pass. ``compute_transfer_matrix`` is 2x to 36x
15
+ faster depending on the grids, and the intersection geometry 2x to 9x faster with
16
+ ~40% less memory.
17
+ * ENH: cells lying strictly inside a convex polygon (or rotated cell) get their area
18
+ analytically, without clipping (large gains when the resolutions differ a lot).
19
+ * ENH: concave and holed polygons are clipped in Rust against convex windows (grid cells,
20
+ triangles): GEOS is used only for their intersection geometry, and for pairs of two
21
+ non-convex polygons. Polygon / polygon weights may differ from 0.6.0 by ~1e-13
22
+ (Sutherland-Hodgman instead of GEOS).
23
+ * ENH: grid-hash bounding-box join instead of STRtree; ``TriMesh.to_shapely`` vectorized;
24
+ sparse matrices built directly in CSC form.
25
+ * ENH: tiling: tiles clearly inside / outside the surface are classified in Rust, so the
26
+ GEOS ``intersects`` predicate (and the polygon construction) only runs near the
27
+ boundary; rotated tilings are rotated once, before building any geometry
28
+ (``gen_polygonal_tiling`` 2x to 3x faster, ``intersects_mask`` faster too).
29
+
30
+ New (additive) API:
31
+
32
+ * ENH: ``compute_transfer_matrix_with_intersection_vertices`` and ``IntersectionVertices``:
33
+ the intersection geometry as ragged NumPy arrays, without creating Shapely objects
34
+ (``IntersectionVertices.to_shapely()`` converts them).
35
+ * ENH: ``gen_polygonal_tiling_arrays``: tile vertices and CSR adjacency as NumPy arrays.
36
+ * ENH: polygon grids may also be given as a sequence / array of ``shapely.Polygon``.
37
+
38
+ Fixes:
39
+
40
+ * FIX: the rectilinear / polygon transfer raised ``ValueError`` for convex polygons with
41
+ more than 28 vertices (e.g. disk-clipped tiles); any polygon size is now supported.
42
+ * FIX: ``import quickpaver`` failed when matplotlib was not installed although it was not
43
+ a declared dependency. matplotlib is now optional (``pip install quickpaver[plot]``) and
44
+ only needed by the drawing helpers: the polygon selection functions of ``_grid`` use a
45
+ Rust port of matplotlib's point-in-polygon test (identical results, boundary points
46
+ included), so the package also installs where matplotlib has no wheel (e.g. musllinux).
47
+
48
+ Packaging:
49
+
50
+ * DOCS: the example notebooks are marimo notebooks only (the Jupyter copy is removed).
51
+ They are executed and exported to HTML with ``marimo export html`` while building the
52
+ documentation, which no longer needs nbsphinx, Jupyter or pandoc. Fixed the notebooks
53
+ (``mo`` was used but never imported).
54
+ * STYLE: upgrade to ``ruff==0.17.6`` and ``ty==0.0.111``.
55
+ * BUILD: maturin mixed Rust / Python project (``python/`` + ``src/``); the version lives in
56
+ ``Cargo.toml``. Wheels for CPython 3.10 to 3.15, including the free-threaded 3.14t and
57
+ 3.15t builds (the extension does not need the GIL), on Linux (glibc, musl), macOS and
58
+ Windows; release workflow with wheel tests on every interpreter; ``uv`` based dev setup.
59
+
5
60
  0.6.0 (2026-10-06)
6
61
  ------------------
7
62
 
@@ -65,7 +120,7 @@ Changelog
65
120
  ------------------
66
121
 
67
122
  * DOCS: improved ``gen_polygon`` docstring.
68
- * FIX: when no ``alignment_point``is provided, the grid positioning is consistent with
123
+ * FIX: when no ``alignment_point`` is provided, the grid positioning is consistent with
69
124
  v0.2.x for retro-compatibility.
70
125
  * TEST: updated github actions in CI.
71
126
 
@@ -101,11 +101,15 @@ Ready to contribute? Here’s how to set up `quickpaver` for local development.
101
101
  $ git clone git@github.com:your_username/quickpaver.git
102
102
  $ cd quickpaver
103
103
 
104
- 3. Create and activate a virtual environment, then install dependencies::
104
+ 3. Install a `Rust toolchain <https://rustup.rs>`_ and `uv <https://docs.astral.sh/uv/>`_,
105
+ then create the development environment (this compiles the Rust extension in
106
+ release mode, installs it in editable mode and installs the dev tools)::
105
107
 
106
- $ python -m venv venv
107
- $ source venv/bin/activate # On Windows: venv\Scripts\activate
108
- $ pip install -e .[all]
108
+ $ uv sync
109
+ $ uv run pre-commit install
110
+
111
+ ``uv sync`` / ``uv run`` rebuild the extension whenever the Rust code changes. The
112
+ version lives in ``Cargo.toml`` only (it is read by maturin).
109
113
 
110
114
  4. Create a new branch for your work::
111
115
 
@@ -113,18 +117,21 @@ Ready to contribute? Here’s how to set up `quickpaver` for local development.
113
117
 
114
118
  5. Make your changes locally.
115
119
 
116
- 6. Run linting, tests, and coverage checks against all supported python versions::
120
+ 6. Run linting (ruff, ty, codespell, rustfmt, clippy) and the Python and Rust tests::
121
+
122
+ $ make lint
123
+ $ make test
124
+ $ make test-cov
117
125
 
118
- $ pre-commit run --all-files
119
- $ make coverage
120
- $ tox
126
+ ``make build`` builds a release wheel for the current platform; the wheels of every
127
+ platform and Python version (3.10 to 3.15, free-threaded included) are built and
128
+ tested by the release workflow when a ``vX.Y.Z`` tag is pushed.
121
129
 
122
130
  If you worked on documentation, you can build it locally:
123
131
 
124
132
  .. code-block:: shell
125
133
 
126
- $ cd docs
127
- $ make html
134
+ $ make docs
128
135
 
129
136
  The built documentation will be located in ``docs/build/html``.
130
137
 
@@ -0,0 +1,281 @@
1
+ # This file is automatically @generated by Cargo.
2
+ # It is not intended for manual editing.
3
+ version = 4
4
+
5
+ [[package]]
6
+ name = "autocfg"
7
+ version = "1.5.1"
8
+ source = "registry+https://github.com/rust-lang/crates.io-index"
9
+ checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
10
+
11
+ [[package]]
12
+ name = "crossbeam-deque"
13
+ version = "0.8.8"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a"
16
+ dependencies = [
17
+ "crossbeam-epoch",
18
+ "crossbeam-utils",
19
+ ]
20
+
21
+ [[package]]
22
+ name = "crossbeam-epoch"
23
+ version = "0.9.21"
24
+ source = "registry+https://github.com/rust-lang/crates.io-index"
25
+ checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
26
+ dependencies = [
27
+ "crossbeam-utils",
28
+ ]
29
+
30
+ [[package]]
31
+ name = "crossbeam-utils"
32
+ version = "0.8.23"
33
+ source = "registry+https://github.com/rust-lang/crates.io-index"
34
+ checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6"
35
+
36
+ [[package]]
37
+ name = "either"
38
+ version = "1.19.0"
39
+ source = "registry+https://github.com/rust-lang/crates.io-index"
40
+ checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
41
+
42
+ [[package]]
43
+ name = "heck"
44
+ version = "0.5.0"
45
+ source = "registry+https://github.com/rust-lang/crates.io-index"
46
+ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
47
+
48
+ [[package]]
49
+ name = "libc"
50
+ version = "0.2.191"
51
+ source = "registry+https://github.com/rust-lang/crates.io-index"
52
+ checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a"
53
+
54
+ [[package]]
55
+ name = "matrixmultiply"
56
+ version = "0.3.11"
57
+ source = "registry+https://github.com/rust-lang/crates.io-index"
58
+ checksum = "3f607c237553f086e7043417a51df26b2eb899d3caff94e6a67592ff992fedc7"
59
+ dependencies = [
60
+ "autocfg",
61
+ "rawpointer",
62
+ ]
63
+
64
+ [[package]]
65
+ name = "ndarray"
66
+ version = "0.17.2"
67
+ source = "registry+https://github.com/rust-lang/crates.io-index"
68
+ checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
69
+ dependencies = [
70
+ "matrixmultiply",
71
+ "num-complex",
72
+ "num-integer",
73
+ "num-traits",
74
+ "portable-atomic",
75
+ "portable-atomic-util",
76
+ "rawpointer",
77
+ ]
78
+
79
+ [[package]]
80
+ name = "num-complex"
81
+ version = "0.4.6"
82
+ source = "registry+https://github.com/rust-lang/crates.io-index"
83
+ checksum = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495"
84
+ dependencies = [
85
+ "num-traits",
86
+ ]
87
+
88
+ [[package]]
89
+ name = "num-integer"
90
+ version = "0.1.47"
91
+ source = "registry+https://github.com/rust-lang/crates.io-index"
92
+ checksum = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b"
93
+ dependencies = [
94
+ "num-traits",
95
+ ]
96
+
97
+ [[package]]
98
+ name = "num-traits"
99
+ version = "0.2.19"
100
+ source = "registry+https://github.com/rust-lang/crates.io-index"
101
+ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841"
102
+ dependencies = [
103
+ "autocfg",
104
+ ]
105
+
106
+ [[package]]
107
+ name = "numpy"
108
+ version = "0.29.0"
109
+ source = "registry+https://github.com/rust-lang/crates.io-index"
110
+ checksum = "6a5b15d63a5ff39e378daed0e1340d3a5964703ea9712eb09a0dc66fade996f4"
111
+ dependencies = [
112
+ "libc",
113
+ "ndarray",
114
+ "num-complex",
115
+ "num-integer",
116
+ "num-traits",
117
+ "pyo3",
118
+ "pyo3-build-config",
119
+ "rustc-hash",
120
+ ]
121
+
122
+ [[package]]
123
+ name = "once_cell"
124
+ version = "1.21.4"
125
+ source = "registry+https://github.com/rust-lang/crates.io-index"
126
+ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
127
+
128
+ [[package]]
129
+ name = "portable-atomic"
130
+ version = "1.15.0"
131
+ source = "registry+https://github.com/rust-lang/crates.io-index"
132
+ checksum = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85"
133
+
134
+ [[package]]
135
+ name = "portable-atomic-util"
136
+ version = "0.2.8"
137
+ source = "registry+https://github.com/rust-lang/crates.io-index"
138
+ checksum = "10ab3eb7f3becc3a1cbc4f2c6f20267996cfc1a6467a873763411b136a122715"
139
+ dependencies = [
140
+ "portable-atomic",
141
+ ]
142
+
143
+ [[package]]
144
+ name = "proc-macro2"
145
+ version = "1.0.107"
146
+ source = "registry+https://github.com/rust-lang/crates.io-index"
147
+ checksum = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9"
148
+ dependencies = [
149
+ "unicode-ident",
150
+ ]
151
+
152
+ [[package]]
153
+ name = "pyo3"
154
+ version = "0.29.3"
155
+ source = "registry+https://github.com/rust-lang/crates.io-index"
156
+ checksum = "700d18fa267b73b9b521fd7e13580e2f446916f176cacee1ab63fcc8191f1655"
157
+ dependencies = [
158
+ "libc",
159
+ "once_cell",
160
+ "portable-atomic",
161
+ "pyo3-build-config",
162
+ "pyo3-ffi",
163
+ "pyo3-macros",
164
+ ]
165
+
166
+ [[package]]
167
+ name = "pyo3-build-config"
168
+ version = "0.29.3"
169
+ source = "registry+https://github.com/rust-lang/crates.io-index"
170
+ checksum = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb"
171
+ dependencies = [
172
+ "target-lexicon",
173
+ ]
174
+
175
+ [[package]]
176
+ name = "pyo3-ffi"
177
+ version = "0.29.3"
178
+ source = "registry+https://github.com/rust-lang/crates.io-index"
179
+ checksum = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330"
180
+ dependencies = [
181
+ "libc",
182
+ "pyo3-build-config",
183
+ ]
184
+
185
+ [[package]]
186
+ name = "pyo3-macros"
187
+ version = "0.29.3"
188
+ source = "registry+https://github.com/rust-lang/crates.io-index"
189
+ checksum = "6100e8a4b5eba53afaa5ed078364851a0b2499c553a44c31026b929049b49dc6"
190
+ dependencies = [
191
+ "proc-macro2",
192
+ "pyo3-macros-backend",
193
+ "quote",
194
+ "syn",
195
+ ]
196
+
197
+ [[package]]
198
+ name = "pyo3-macros-backend"
199
+ version = "0.29.3"
200
+ source = "registry+https://github.com/rust-lang/crates.io-index"
201
+ checksum = "6143877a16e82b5a727b7127ff4cd86858a24a28d745d72f43e6f227c7b1bdb3"
202
+ dependencies = [
203
+ "heck",
204
+ "proc-macro2",
205
+ "quote",
206
+ "syn",
207
+ ]
208
+
209
+ [[package]]
210
+ name = "quickpaver"
211
+ version = "0.7.0"
212
+ dependencies = [
213
+ "ndarray",
214
+ "numpy",
215
+ "pyo3",
216
+ "rayon",
217
+ ]
218
+
219
+ [[package]]
220
+ name = "quote"
221
+ version = "1.0.47"
222
+ source = "registry+https://github.com/rust-lang/crates.io-index"
223
+ checksum = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001"
224
+ dependencies = [
225
+ "proc-macro2",
226
+ ]
227
+
228
+ [[package]]
229
+ name = "rawpointer"
230
+ version = "0.2.1"
231
+ source = "registry+https://github.com/rust-lang/crates.io-index"
232
+ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
233
+
234
+ [[package]]
235
+ name = "rayon"
236
+ version = "1.12.0"
237
+ source = "registry+https://github.com/rust-lang/crates.io-index"
238
+ checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d"
239
+ dependencies = [
240
+ "either",
241
+ "rayon-core",
242
+ ]
243
+
244
+ [[package]]
245
+ name = "rayon-core"
246
+ version = "1.13.0"
247
+ source = "registry+https://github.com/rust-lang/crates.io-index"
248
+ checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91"
249
+ dependencies = [
250
+ "crossbeam-deque",
251
+ "crossbeam-utils",
252
+ ]
253
+
254
+ [[package]]
255
+ name = "rustc-hash"
256
+ version = "2.1.3"
257
+ source = "registry+https://github.com/rust-lang/crates.io-index"
258
+ checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
259
+
260
+ [[package]]
261
+ name = "syn"
262
+ version = "2.0.119"
263
+ source = "registry+https://github.com/rust-lang/crates.io-index"
264
+ checksum = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297"
265
+ dependencies = [
266
+ "proc-macro2",
267
+ "quote",
268
+ "unicode-ident",
269
+ ]
270
+
271
+ [[package]]
272
+ name = "target-lexicon"
273
+ version = "0.13.6"
274
+ source = "registry+https://github.com/rust-lang/crates.io-index"
275
+ checksum = "8c447be3a2abfa84b2d91680c56600bd6b2873866de27b36ec911be705e291da"
276
+
277
+ [[package]]
278
+ name = "unicode-ident"
279
+ version = "1.0.27"
280
+ source = "registry+https://github.com/rust-lang/crates.io-index"
281
+ checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
@@ -0,0 +1,28 @@
1
+ [package]
2
+ name = "quickpaver"
3
+ version = "0.7.0"
4
+ edition = "2021"
5
+ rust-version = "1.88"
6
+ description = "Rust kernels of quickpaver: conservative transfer matrices between polygonal grids."
7
+ license = "BSD-3-Clause"
8
+ repository = "https://github.com/antoinecollet5/quickpaver"
9
+ readme = "README.rst"
10
+ publish = false
11
+
12
+ [lib]
13
+ name = "_quickpaver"
14
+ crate-type = ["cdylib", "rlib"]
15
+
16
+ [dependencies]
17
+ # `extension-module` is enabled by maturin (see pyproject.toml), not here, so that
18
+ # `cargo test` can link against libpython.
19
+ pyo3 = "0.29"
20
+ numpy = "0.29"
21
+ ndarray = "0.17"
22
+ rayon = "1.10"
23
+
24
+ [profile.release]
25
+ opt-level = 3
26
+ lto = "fat"
27
+ codegen-units = 1
28
+ strip = true