quickpaver 0.1.0__py3-none-any.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.
@@ -0,0 +1,8 @@
1
+ # SPDX-License-Identifier: BSD-3-Clause
2
+ # Copyright (c) 2026 Antoine COLLET
3
+
4
+ """Get the metadata."""
5
+
6
+ __version__ = "0.1.0"
7
+ __author__ = "Antoine Collet"
8
+ __email__ = "antoine.collet5@gmail.com"
quickpaver/__init__.py ADDED
@@ -0,0 +1,112 @@
1
+ # SPDX-License-Identifier: BSD-3-Clause
2
+ # Copyright (c) 2026 Antoine COLLET
3
+
4
+ """TODO
5
+
6
+ Helpers
7
+ ^^^^^^^
8
+
9
+ Helpers to work with paving.
10
+
11
+ .. autosummary::
12
+ :toctree: _autosummary
13
+
14
+ PolygonType
15
+ gen_polygon
16
+
17
+ Paving functions
18
+ ^^^^^^^^^^^^^^^^
19
+
20
+ This is the core ! description TODO.
21
+
22
+ .. autosummary::
23
+ :toctree: _autosummary
24
+
25
+ gen_hexagonal_tiling
26
+ gen_rectangular_tiling
27
+ gen_triangular_tiling
28
+ gen_polygonal_tiling
29
+ extract_tiling_centers
30
+ extract_tiling_vertices
31
+
32
+
33
+ Test data
34
+ ^^^^^^^^^
35
+ Functions providing test data.
36
+
37
+ .. autosummary::
38
+ :toctree: _autosummary
39
+
40
+ load_france_contour
41
+ load_corsica_contour
42
+ load_france_and_corsica_contour
43
+
44
+
45
+ Regular grids
46
+ ^^^^^^^^^^^^^
47
+
48
+ Provide utilities to work with rectilinear grids.
49
+
50
+ .. autosummary::
51
+ :toctree: _autosummary
52
+
53
+ span_to_node_numbers_2d
54
+ span_to_node_numbers_3d
55
+ create_selections_array_2d
56
+ RectilinearGrid
57
+ get_polygon_selection_with_dilation_2d
58
+
59
+ """
60
+
61
+ from quickpaver.__about__ import __author__, __email__, __version__
62
+ from quickpaver._grid import (
63
+ RectilinearGrid,
64
+ create_selections_array_2d,
65
+ get_polygon_selection_with_dilation_2d,
66
+ rlg_idx_to_nn,
67
+ rlg_nn_to_idx,
68
+ span_to_node_numbers_2d,
69
+ span_to_node_numbers_3d,
70
+ )
71
+ from quickpaver._tiling import (
72
+ PolygonType,
73
+ extract_tiling_centers,
74
+ extract_tiling_vertices,
75
+ gen_hexagonal_tiling,
76
+ gen_polygon,
77
+ gen_polygonal_tiling,
78
+ gen_rectangular_tiling,
79
+ gen_triangular_tiling,
80
+ )
81
+ from quickpaver.data import (
82
+ load_corsica_contour,
83
+ load_france_and_corsica_contour,
84
+ load_france_contour,
85
+ )
86
+
87
+ __all__ = [
88
+ "__author__",
89
+ "__email__",
90
+ "__version__",
91
+ "PolygonType",
92
+ "gen_hexagonal_tiling",
93
+ "gen_polygon",
94
+ "gen_rectangular_tiling",
95
+ "gen_triangular_tiling",
96
+ "gen_polygonal_tiling",
97
+ "RectilinearGrid",
98
+ "create_selections_array_2d",
99
+ "get_a_not_in_b_1d",
100
+ "get_array_borders_selection_2d",
101
+ "get_array_borders_selection_3d",
102
+ "get_polygon_selection_with_dilation_2d",
103
+ "span_to_node_numbers_2d",
104
+ "span_to_node_numbers_3d",
105
+ "rlg_idx_to_nn",
106
+ "rlg_nn_to_idx",
107
+ "load_france_contour",
108
+ "load_corsica_contour",
109
+ "load_france_and_corsica_contour",
110
+ "extract_tiling_centers",
111
+ "extract_tiling_vertices",
112
+ ]