quickpaver 0.5.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.
- quickpaver-0.7.0/.codacy.yml +20 -0
- quickpaver-0.7.0/.codespellrc +4 -0
- quickpaver-0.7.0/.coveragerc +23 -0
- quickpaver-0.7.0/.gitignore +144 -0
- quickpaver-0.7.0/.readthedocs.yml +21 -0
- quickpaver-0.7.0/CHANGELOG.rst +185 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/CONTRIBUTING.rst +17 -10
- quickpaver-0.7.0/Cargo.lock +281 -0
- quickpaver-0.7.0/Cargo.toml +28 -0
- quickpaver-0.7.0/Makefile +87 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/PKG-INFO +50 -86
- {quickpaver-0.5.0 → quickpaver-0.7.0}/README.rst +14 -4
- quickpaver-0.7.0/benchmarks/cold.py +19 -0
- quickpaver-0.7.0/benchmarks/run_bench.py +66 -0
- quickpaver-0.7.0/benchmarks/scenarios.py +55 -0
- quickpaver-0.7.0/benchmarks/tilebench.py +29 -0
- quickpaver-0.7.0/bibliography.bib +0 -0
- quickpaver-0.7.0/docs/sources/_static/.gitkeep +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/conf.py +68 -16
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/installation.rst +12 -2
- quickpaver-0.7.0/docs/sources/notebooks/regular_paving_examples.rst +18 -0
- quickpaver-0.7.0/docs/sources/notebooks/transfer_matrix_examples.rst +18 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/usage.rst +2 -1
- quickpaver-0.7.0/notebooks/regular_paving_examples.py +569 -0
- quickpaver-0.7.0/notebooks/transfer_matrix_examples.py +28 -0
- quickpaver-0.7.0/pyproject.toml +178 -0
- quickpaver-0.7.0/python/quickpaver/__about__.py +14 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/__init__.py +12 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/_grid.py +38 -23
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/_plot.py +16 -4
- quickpaver-0.7.0/python/quickpaver/_quickpaver.pyi +111 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/_tiling.py +573 -123
- quickpaver-0.7.0/python/quickpaver/_transfer_matrix.py +1239 -0
- quickpaver-0.7.0/python/quickpaver/py.typed +0 -0
- quickpaver-0.7.0/src/clip.rs +370 -0
- quickpaver-0.7.0/src/geom.rs +373 -0
- quickpaver-0.7.0/src/lib.rs +416 -0
- quickpaver-0.7.0/src/surface.rs +266 -0
- quickpaver-0.7.0/src/transfer.rs +932 -0
- quickpaver-0.7.0/tests/conftest.py +10 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_grid.py +3 -2
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_plot.py +8 -4
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_tiling.py +281 -0
- quickpaver-0.7.0/tests/test_tiling_fast_paths.py +103 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_transfer_matrix.py +2 -1
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_internals.py +3 -104
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_mixed_polygon.py +16 -29
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_rectilinear.py +1 -0
- quickpaver-0.7.0/tests/test_transfer_matrix_rust.py +261 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_transfer_matrix_trimesh.py +2 -1
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_trimesh_flat.py +1 -0
- quickpaver-0.7.0/tox.ini +49 -0
- quickpaver-0.7.0/uv.lock +7417 -0
- quickpaver-0.5.0/CHANGELOG.rst +0 -109
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Disk.as_array.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Disk.bounds.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Disk.center.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Disk.centroid.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Disk.radius.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Disk.to_polygon.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Grid.make_spatial_gradient_matrices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Grid.make_spatial_permutation_matrices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.Grid.n_grid_cells.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.HEXAGON.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.RECTANGLE.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.TRIANGLE.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.capitalize.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.casefold.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.center.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.count.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.encode.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.endswith.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.expandtabs.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.find.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.format.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.format_map.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.index.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isalnum.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isalpha.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isascii.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isdecimal.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isdigit.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isidentifier.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.islower.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isnumeric.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isprintable.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isspace.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.istitle.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.isupper.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.join.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.ljust.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.lower.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.lstrip.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.maketrans.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.partition.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.removeprefix.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.removesuffix.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.replace.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rfind.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rindex.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rjust.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rpartition.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rsplit.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.rstrip.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.split.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.splitlines.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.startswith.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.strip.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.swapcase.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.title.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.to_list.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.translate.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.upper.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.PolygonType.zfill.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.bounding_box_vertices_coordinates.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.bounds.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.center_coords.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.center_coords_2d.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.contour.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.copy.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.cx.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.cy.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.cz.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dims.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dx.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dy.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.dz.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.gamma_ij_x_m2.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.gamma_ij_y_m2.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.gamma_ij_z_m2.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.grid_cell_volume_m3.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.indices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.make_spatial_gradient_matrices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.make_spatial_permutation_matrices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.n_grid_cells.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.non_rot_center_coords.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.non_rot_center_coords_2d.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.nx.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.ny.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.nz.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.origin.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.origin_coords.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.phi.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.psi.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.rot_center.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.shape.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.theta.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.to_pyvista.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.to_shapely.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.total_volume_m3.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.x0.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.x_extent.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.x_indices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.xmax.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.xmin.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.y0.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.y_extent.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.y_indices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.ymax.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.ymin.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.z0.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.z_extent.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.z_indices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.zmax.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.RectilinearGrid.zmin.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.area_m2.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.edge_lengths_m.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.n_tri.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.n_verts.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.to_shapely.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.transform.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.tri_area_m2.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.tri_verts.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/generated/quickpaver.TriMesh.verts_xy.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.Disk.rst +0 -50
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.Grid.rst +0 -44
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.PolygonType.rst +0 -140
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.RectilinearGrid.rst +0 -140
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.TriMesh.rst +0 -56
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.adjacency_by_shared_vertices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.adjacency_to_edges.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.binary_dilation.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.compute_transfer_matrix.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.compute_transfer_matrix_with_intersections.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.conservative_upsample.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.create_selections_array_2d.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.draw_adjacency.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.duplicative_upsample.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.extract_tiling_centers.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.extract_tiling_vertices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.gen_hexagonal_tiling.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.gen_polygon.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.gen_polygonal_tiling.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.gen_rectangular_tiling.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.gen_triangular_tiling.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.get_array_borders_selection.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.get_owner_neigh_indices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.get_polygon_selection_with_dilation_2d.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.get_polygon_selection_with_dilation_3d.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.get_rlg_perm_mat.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.get_rlg_spatial_grad_mat.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.intersects_mask.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.load_corsica_contour.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.load_france_and_corsica_contour.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.load_france_contour.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.make_rlg_spatial_gradient_matrices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.make_rlg_spatial_permutation_matrices.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.resample_grid.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.rlg_idx_to_nn.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.rlg_nn_to_idx.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.span_to_node_numbers_2d.rst +0 -12
- quickpaver-0.5.0/docs/sources/_autosummary/quickpaver.span_to_node_numbers_3d.rst +0 -12
- quickpaver-0.5.0/pyproject.toml +0 -147
- quickpaver-0.5.0/quickpaver/__about__.py +0 -8
- quickpaver-0.5.0/quickpaver/_transfer_matrix.py +0 -3942
- quickpaver-0.5.0/quickpaver.egg-info/PKG-INFO +0 -571
- quickpaver-0.5.0/quickpaver.egg-info/SOURCES.txt +0 -208
- quickpaver-0.5.0/quickpaver.egg-info/dependency_links.txt +0 -1
- quickpaver-0.5.0/quickpaver.egg-info/requires.txt +0 -50
- quickpaver-0.5.0/quickpaver.egg-info/top_level.txt +0 -1
- quickpaver-0.5.0/setup.cfg +0 -4
- {quickpaver-0.5.0 → quickpaver-0.7.0}/AUTHORS.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/LICENSE +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/MANIFEST.in +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/Makefile +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/make.bat +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/_templates/autosummary/base.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/_templates/autosummary/class.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/_templates/autosummary/module.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/api_reference.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/authors.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/bibliography.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/changelog.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/contributing.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/index.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/docs/sources/readme.rst +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/_tm_test_utils.py +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/_types.py +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/data/__init__.py +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/data/corsica.geojson +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0/python}/quickpaver/data/france.geojson +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/__init__.py +0 -0
- {quickpaver-0.5.0 → quickpaver-0.7.0}/tests/test_data.py +0 -0
- {quickpaver-0.5.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,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 .
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
==============
|
|
2
|
+
Changelog
|
|
3
|
+
==============
|
|
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
|
+
|
|
60
|
+
0.6.0 (2026-10-06)
|
|
61
|
+
------------------
|
|
62
|
+
|
|
63
|
+
* ENH: add ``extract_tiling_edge_centers`` to extract the centres of the polygon
|
|
64
|
+
edges, deduplicating the edges shared between adjacent polygons. It also returns
|
|
65
|
+
the adjacency between edges and polygons, and between polygons and edges (in ring
|
|
66
|
+
order, so that opposite edges of a rectangle are easy to retrieve).
|
|
67
|
+
* FIX: ``extract_tiling_vertices`` (and therefore ``adjacency_by_shared_vertices``)
|
|
68
|
+
could fail to merge coincident vertices when a coordinate fell on a rounding tie
|
|
69
|
+
(e.g. ``1.035`` scaled to ``103.5``), because float noise sent copies of the same
|
|
70
|
+
corner to different buckets. Vertices are now merged by gap clustering, which has
|
|
71
|
+
no rounding boundary.
|
|
72
|
+
* FIX: the vertex-to-polygon adjacency returned by ``extract_tiling_vertices`` was
|
|
73
|
+
wrong (some vertices had no polygon) on tilings with more polygons than vertices,
|
|
74
|
+
such as triangular tilings, due to colliding keys when grouping the pairs.
|
|
75
|
+
* ENH: ``n_decimals`` in ``extract_tiling_vertices`` is now the merge tolerance
|
|
76
|
+
(``10**-n_decimals``); the returned coordinates are still rounded to ``n_decimals``.
|
|
77
|
+
* TEST: add tests for ``extract_tiling_edge_centers`` and for the vertex clustering
|
|
78
|
+
(rounding ties, float noise, large coordinates), reaching 100% coverage of the
|
|
79
|
+
tiling module.
|
|
80
|
+
|
|
81
|
+
0.5.0 (2026-09-27)
|
|
82
|
+
------------------
|
|
83
|
+
|
|
84
|
+
* ENH: generalize ``get_array_borders_selection`` to any dim.
|
|
85
|
+
* ENH: add methods to RectilinearGrid: ``gc_face_area_m2``, ``pipj_m``, ``get_slicer_forward`` and ``get_slicer_backward``.
|
|
86
|
+
* STYLE: upgrade to `ty==0.0.84`.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
0.4.0 (2026-08-25)
|
|
90
|
+
------------------
|
|
91
|
+
|
|
92
|
+
* ENH: implement ``TriMesh`` for triangular mesh support, with a conservative
|
|
93
|
+
transfer matrix implementation.
|
|
94
|
+
* ENH: add ``compute_transfer_matrix_with_intersections`` to compute transfer
|
|
95
|
+
matrices while also returning the underlying geometric intersections, with
|
|
96
|
+
support for masks.
|
|
97
|
+
* ENH: implement a conservative transfer matrix for rectilinear grids, backed
|
|
98
|
+
by numpy/numba for improved performance.
|
|
99
|
+
* ENH: add ``Disk`` polygon support in ``gen_polygonal_tiling``, and optimize
|
|
100
|
+
the multipolygon creation.
|
|
101
|
+
* ENH: add ``intersects_mask`` utility.
|
|
102
|
+
* ENH: add adjacency and plotting utilities:
|
|
103
|
+
|
|
104
|
+
* ``adjacency_by_shared_vertices``
|
|
105
|
+
* ``adjacency_to_edges``
|
|
106
|
+
* ``draw_adjacency``
|
|
107
|
+
|
|
108
|
+
* ENH: ``extract_tiling_vertices`` now also returns the adjacency between
|
|
109
|
+
polygons and vertices.
|
|
110
|
+
* ENH: add a ``contour`` property to ``RectilinearGrid``.
|
|
111
|
+
* ENH: significant performance improvements for ``RectilinearGrid`` and
|
|
112
|
+
``tilling.py``, including "F"-order transfer matrix computation on
|
|
113
|
+
rectilinear grids.
|
|
114
|
+
* FIX: fix the adjacency computation in the tiling module.
|
|
115
|
+
* TEST: add extensive test coverage for the transfer matrix, ``TriMesh``,
|
|
116
|
+
and plotting utilities.
|
|
117
|
+
* Update CI/tooling to Python 3.14 and ``ty==0.0.74``.
|
|
118
|
+
|
|
119
|
+
0.3.1 (2026-06-16)
|
|
120
|
+
------------------
|
|
121
|
+
|
|
122
|
+
* DOCS: improved ``gen_polygon`` docstring.
|
|
123
|
+
* FIX: when no ``alignment_point`` is provided, the grid positioning is consistent with
|
|
124
|
+
v0.2.x for retro-compatibility.
|
|
125
|
+
* TEST: updated github actions in CI.
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
0.3.0 (2026-06-03)
|
|
129
|
+
------------------
|
|
130
|
+
|
|
131
|
+
* ENH: add ``compute_transfer_matrix`` to build conservative sparse transfer
|
|
132
|
+
* ENH: add add regular-grid indexing helpers:
|
|
133
|
+
|
|
134
|
+
* ``rlg_idx_to_nn``
|
|
135
|
+
* ``rlg_nn_to_idx``
|
|
136
|
+
* ``span_to_node_numbers_2d``
|
|
137
|
+
* ``span_to_node_numbers_3d``
|
|
138
|
+
|
|
139
|
+
* ENH: add sparse spatial operators for rectilinear grids:
|
|
140
|
+
|
|
141
|
+
* ``get_rlg_spatial_grad_mat``
|
|
142
|
+
* ``make_rlg_spatial_gradient_matrices``
|
|
143
|
+
* ``get_rlg_perm_mat``
|
|
144
|
+
* ``make_rlg_spatial_permutation_matrices``
|
|
145
|
+
|
|
146
|
+
* ENH: add polygon-to-grid selection utilities:
|
|
147
|
+
|
|
148
|
+
* ``create_selections_array_2d``
|
|
149
|
+
* ``get_polygon_selection_with_dilation_2d``
|
|
150
|
+
* ``get_polygon_selection_with_dilation_3d``
|
|
151
|
+
* ``binary_dilation``
|
|
152
|
+
|
|
153
|
+
* ENH: add grid resampling and array upsampling utilities:
|
|
154
|
+
|
|
155
|
+
* ``resample_grid``
|
|
156
|
+
* ``duplicative_upsample``
|
|
157
|
+
* ``conservative_upsample``
|
|
158
|
+
|
|
159
|
+
* ENH: add export helpers for ``RectilinearGrid``:
|
|
160
|
+
|
|
161
|
+
* ``to_shapely`` for 2D Shapely polygon export.
|
|
162
|
+
* ``to_pyvista`` for optional PyVista export using ``ImageData``,
|
|
163
|
+
``RectilinearGrid`` or ``StructuredGrid`` representations.
|
|
164
|
+
|
|
165
|
+
* ENH: add grid geometry helpers such as ``get_array_borders_selection`` and
|
|
166
|
+
owner/neighbour index pairing utilities.
|
|
167
|
+
* ENH: add input validation for rectilinear grid dimensions, cell sizes, sparse
|
|
168
|
+
operator axes, dilation masks, and upsampling factors.
|
|
169
|
+
* TEST: add extensive pytest coverage for rectilinear grids, sparse operators,
|
|
170
|
+
polygon selections, dilation, resampling, upsampling, Shapely export, and
|
|
171
|
+
optional PyVista export.
|
|
172
|
+
* DOC: improve tiling documentation.
|
|
173
|
+
* DOC: add documentation for rectilinear grid utilities.
|
|
174
|
+
* DOC: update notebooks for tiling, transfer matrices, and grid utilities.
|
|
175
|
+
|
|
176
|
+
0.2.0 (2026-03-18)
|
|
177
|
+
------------------
|
|
178
|
+
|
|
179
|
+
* ENH: ``extract_tiling_vertices`` now returns cluster indices for merged vertices.
|
|
180
|
+
* DOC: improve documentation.
|
|
181
|
+
|
|
182
|
+
0.1.0 (2026-03-14)
|
|
183
|
+
------------------
|
|
184
|
+
|
|
185
|
+
* First release on PyPI.
|
|
@@ -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.
|
|
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
|
-
$
|
|
107
|
-
$
|
|
108
|
-
|
|
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,
|
|
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
|
-
|
|
119
|
-
|
|
120
|
-
|
|
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
|
-
$
|
|
127
|
-
$ make html
|
|
134
|
+
$ make docs
|
|
128
135
|
|
|
129
136
|
The built documentation will be located in ``docs/build/html``.
|
|
130
137
|
|