p-pattern 2025.1__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 (52) hide show
  1. p_pattern-2025.1/MANIFEST.in +4 -0
  2. p_pattern-2025.1/PKG-INFO +145 -0
  3. p_pattern-2025.1/README-COPYRIGHT-utf8.txt +30 -0
  4. p_pattern-2025.1/README-LICENCE-utf8.txt +518 -0
  5. p_pattern-2025.1/README.rst +110 -0
  6. p_pattern-2025.1/documentation/wiki/description.asciidoc +60 -0
  7. p_pattern-2025.1/package/p_pattern/__init__.py +55 -0
  8. p_pattern-2025.1/package/p_pattern/catalog/instance/c_extension.py +73 -0
  9. p_pattern-2025.1/package/p_pattern/catalog/instance/surface/circle.py +117 -0
  10. p_pattern-2025.1/package/p_pattern/catalog/instance/surface/ellipse.py +145 -0
  11. p_pattern-2025.1/package/p_pattern/catalog/instance/surface/rectangle.py +235 -0
  12. p_pattern-2025.1/package/p_pattern/catalog/instance/surface/square.py +104 -0
  13. p_pattern-2025.1/package/p_pattern/catalog/instance/surface/superquadric.py +303 -0
  14. p_pattern-2025.1/package/p_pattern/catalog/instance/volume/ellipsoid.py +233 -0
  15. p_pattern-2025.1/package/p_pattern/catalog/model/surface/circle.py +61 -0
  16. p_pattern-2025.1/package/p_pattern/catalog/model/surface/ellipse.py +71 -0
  17. p_pattern-2025.1/package/p_pattern/catalog/model/surface/rectangle.py +71 -0
  18. p_pattern-2025.1/package/p_pattern/catalog/model/surface/square.py +64 -0
  19. p_pattern-2025.1/package/p_pattern/catalog/model/surface/superquadric.py +107 -0
  20. p_pattern-2025.1/package/p_pattern/catalog/model/volume/ellipsoid.py +85 -0
  21. p_pattern-2025.1/package/p_pattern/constant/number.py +45 -0
  22. p_pattern-2025.1/package/p_pattern/constant/shape.py +83 -0
  23. p_pattern-2025.1/package/p_pattern/constant/type.py +44 -0
  24. p_pattern-2025.1/package/p_pattern/extension/type.py +43 -0
  25. p_pattern-2025.1/package/p_pattern/task/ball_factory.py +75 -0
  26. p_pattern-2025.1/package/p_pattern/task/formatting.py +60 -0
  27. p_pattern-2025.1/package/p_pattern/type/instance/curve.py +0 -0
  28. p_pattern-2025.1/package/p_pattern/type/instance/generic.py +512 -0
  29. p_pattern-2025.1/package/p_pattern/type/instance/parameter/bbox.py +87 -0
  30. p_pattern-2025.1/package/p_pattern/type/instance/parameter/position.py +46 -0
  31. p_pattern-2025.1/package/p_pattern/type/instance/surface.py +108 -0
  32. p_pattern-2025.1/package/p_pattern/type/instance/volume.py +96 -0
  33. p_pattern-2025.1/package/p_pattern/type/model/curve.py +54 -0
  34. p_pattern-2025.1/package/p_pattern/type/model/generic.py +249 -0
  35. p_pattern-2025.1/package/p_pattern/type/model/parameter.py +84 -0
  36. p_pattern-2025.1/package/p_pattern/type/model/surface.py +54 -0
  37. p_pattern-2025.1/package/p_pattern/type/model/volume.py +54 -0
  38. p_pattern-2025.1/package/p_pattern/type/sampler/domain.py +124 -0
  39. p_pattern-2025.1/package/p_pattern/type/sampler/instance.py +145 -0
  40. p_pattern-2025.1/package/p_pattern/type/sampler/number.py +49 -0
  41. p_pattern-2025.1/package/p_pattern/type/sampler/position.py +329 -0
  42. p_pattern-2025.1/package/p_pattern/type/sampler/shape.py +119 -0
  43. p_pattern-2025.1/package/p_pattern/version.py +39 -0
  44. p_pattern-2025.1/package/p_pattern.egg-info/PKG-INFO +145 -0
  45. p_pattern-2025.1/package/p_pattern.egg-info/SOURCES.txt +50 -0
  46. p_pattern-2025.1/package/p_pattern.egg-info/dependency_links.txt +1 -0
  47. p_pattern-2025.1/package/p_pattern.egg-info/requires.txt +4 -0
  48. p_pattern-2025.1/package/p_pattern.egg-info/top_level.txt +1 -0
  49. p_pattern-2025.1/pyproject.toml +5 -0
  50. p_pattern-2025.1/requirements.txt +4 -0
  51. p_pattern-2025.1/setup.cfg +4 -0
  52. p_pattern-2025.1/setup.py +141 -0
@@ -0,0 +1,4 @@
1
+ include README-COPYRIGHT-utf8.txt
2
+ include README-LICENCE-utf8.txt
3
+ include requirements.txt
4
+ include documentation/wiki/description.asciidoc
@@ -0,0 +1,145 @@
1
+ Metadata-Version: 2.4
2
+ Name: p-pattern
3
+ Version: 2025.1
4
+ Summary: Parametric patterns/shapes definition and sampling
5
+ Home-page: https://src.koda.cnrs.fr/eric.debreuve/p-pattern/
6
+ Author: Eric Debreuve
7
+ Author-email: eric.debreuve@cnrs.fr
8
+ License: CeCILL-2.1
9
+ Project-URL: Documentation, https://src.koda.cnrs.fr/eric.debreuve/p-pattern/-/wikis/home
10
+ Project-URL: Source, https://src.koda.cnrs.fr/eric.debreuve/p-pattern/
11
+ Keywords: parameter,parametric,pattern,shape,sampler,sampling
12
+ Classifier: Topic :: Scientific/Engineering :: Image Recognition
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Development Status :: 4 - Beta
17
+ Requires-Python: >=3.13
18
+ Description-Content-Type: text/x-rst
19
+ Requires-Dist: logger_36
20
+ Requires-Dist: numpy
21
+ Requires-Dist: scikit-image
22
+ Requires-Dist: scipy
23
+ Dynamic: author
24
+ Dynamic: author-email
25
+ Dynamic: classifier
26
+ Dynamic: description
27
+ Dynamic: description-content-type
28
+ Dynamic: home-page
29
+ Dynamic: keywords
30
+ Dynamic: license
31
+ Dynamic: project-url
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
35
+
36
+ ..
37
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
38
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2025
39
+ SEE COPYRIGHT NOTICE BELOW
40
+
41
+ .. |PROJECT_NAME| replace:: p-pattern
42
+ .. |SHORT_DESCRIPTION| replace:: Parametric patterns/shapes definition and sampling
43
+
44
+ .. |PYPI_NAME_LITERAL| replace:: ``p-pattern``
45
+ .. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/p-pattern/
46
+ .. _PYPI_PROJECT_URL: https://pypi.org/project/p-pattern/
47
+
48
+ .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/p-pattern/-/wikis/home
49
+ .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/p-pattern/-/wikis/home
50
+
51
+ .. |DEPENDENCIES_MANDATORY| replace:: logger_36, numpy, scikit-image, scipy
52
+ .. |DEPENDENCIES_OPTIONAL| replace:: None
53
+
54
+
55
+
56
+ ===================================
57
+ |PROJECT_NAME|: |SHORT_DESCRIPTION|
58
+ ===================================
59
+
60
+
61
+
62
+ Documentation
63
+ =============
64
+
65
+ The documentation is available at |DOCUMENTATION_URL|_.
66
+
67
+
68
+
69
+ Installation
70
+ ============
71
+
72
+ This project is published
73
+ on the `Python Package Index (PyPI) <https://pypi.org/>`_
74
+ at: |PYPI_PROJECT_URL|_.
75
+ It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
76
+ Otherwise, it can be installed from a command console using `pip <https://pip.pypa.io/>`_:
77
+
78
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
79
+ | | For all users (after acquiring administrative rights) | For the current user (no administrative rights required) |
80
+ +==============+=======================================================+==========================================================+
81
+ | Installation | ``pip install`` |PYPI_NAME_LITERAL| | ``pip install --user`` |PYPI_NAME_LITERAL| |
82
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
83
+ | Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
84
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
85
+
86
+
87
+
88
+ Dependencies
89
+ ============
90
+
91
+ The development relies on several packages:
92
+
93
+ - Mandatory: |DEPENDENCIES_MANDATORY|
94
+ - Optional: |DEPENDENCIES_OPTIONAL|
95
+
96
+ The mandatory dependencies, if any, are installed automatically by `pip <https://pip.pypa.io/>`_, if they are not already, as part of the installation of |PROJECT_NAME|.
97
+ Python distribution platforms or Integrated Development Environments (IDEs) should also take care of this.
98
+ The optional dependencies, if any, must be installed independently by following the related instructions, for added functionalities of |PROJECT_NAME|.
99
+
100
+
101
+
102
+ Acknowledgments
103
+ ===============
104
+
105
+ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
106
+ :target: https://github.com/psf/black
107
+ .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
108
+ :target: https://pycqa.github.io/isort/
109
+
110
+ The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
111
+
112
+ The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
113
+
114
+ The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*.
115
+
116
+ ..
117
+ COPYRIGHT NOTICE
118
+
119
+ This software is governed by the CeCILL license under French law and
120
+ abiding by the rules of distribution of free software. You can use,
121
+ modify and/ or redistribute the software under the terms of the CeCILL
122
+ license as circulated by CEA, CNRS and INRIA at the following URL
123
+ "http://www.cecill.info".
124
+
125
+ As a counterpart to the access to the source code and rights to copy,
126
+ modify and redistribute granted by the license, users are provided only
127
+ with a limited warranty and the software's author, the holder of the
128
+ economic rights, and the successive licensors have only limited
129
+ liability.
130
+
131
+ In this respect, the user's attention is drawn to the risks associated
132
+ with loading, using, modifying and/or developing or reproducing the
133
+ software by the user in light of its specific status of free software,
134
+ that may mean that it is complicated to manipulate, and that also
135
+ therefore means that it is reserved for developers and experienced
136
+ professionals having in-depth computer knowledge. Users are therefore
137
+ encouraged to load and test the software's suitability as regards their
138
+ requirements in conditions enabling the security of their systems and/or
139
+ data to be ensured and, more generally, to use and operate it in the
140
+ same conditions as regards security.
141
+
142
+ The fact that you are presently reading this means that you have had
143
+ knowledge of the CeCILL license and that you accept its terms.
144
+
145
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
@@ -0,0 +1,30 @@
1
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
2
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2025
3
+
4
+ This software is governed by the CeCILL license under French law and
5
+ abiding by the rules of distribution of free software. You can use,
6
+ modify and/ or redistribute the software under the terms of the CeCILL
7
+ license as circulated by CEA, CNRS and INRIA at the following URL
8
+ "http://www.cecill.info".
9
+
10
+ As a counterpart to the access to the source code and rights to copy,
11
+ modify and redistribute granted by the license, users are provided only
12
+ with a limited warranty and the software's author, the holder of the
13
+ economic rights, and the successive licensors have only limited
14
+ liability.
15
+
16
+ In this respect, the user's attention is drawn to the risks associated
17
+ with loading, using, modifying and/or developing or reproducing the
18
+ software by the user in light of its specific status of free software,
19
+ that may mean that it is complicated to manipulate, and that also
20
+ therefore means that it is reserved for developers and experienced
21
+ professionals having in-depth computer knowledge. Users are therefore
22
+ encouraged to load and test the software's suitability as regards their
23
+ requirements in conditions enabling the security of their systems and/or
24
+ data to be ensured and, more generally, to use and operate it in the
25
+ same conditions as regards security.
26
+
27
+ The fact that you are presently reading this means that you have had
28
+ knowledge of the CeCILL license and that you accept its terms.
29
+
30
+ SEE LICENCE NOTICE: README-LICENCE-utf8.txt