value-factory 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 (38) hide show
  1. value_factory-2025.1/MANIFEST.in +4 -0
  2. value_factory-2025.1/PKG-INFO +156 -0
  3. value_factory-2025.1/README-COPYRIGHT-utf8.txt +44 -0
  4. value_factory-2025.1/README-LICENCE-utf8.txt +518 -0
  5. value_factory-2025.1/README.rst +124 -0
  6. value_factory-2025.1/documentation/wiki/description.asciidoc +74 -0
  7. value_factory-2025.1/package/value_factory/__init__.py +69 -0
  8. value_factory-2025.1/package/value_factory/api/catalog.py +60 -0
  9. value_factory-2025.1/package/value_factory/api/constant.py +54 -0
  10. value_factory-2025.1/package/value_factory/api/extension.py +59 -0
  11. value_factory-2025.1/package/value_factory/api/task.py +53 -0
  12. value_factory-2025.1/package/value_factory/api/type.py +55 -0
  13. value_factory-2025.1/package/value_factory/catalog/boolean.py +92 -0
  14. value_factory-2025.1/package/value_factory/catalog/callable.py +98 -0
  15. value_factory-2025.1/package/value_factory/catalog/checking.py +1 -0
  16. value_factory-2025.1/package/value_factory/catalog/choices.py +83 -0
  17. value_factory-2025.1/package/value_factory/catalog/collection.py +122 -0
  18. value_factory-2025.1/package/value_factory/catalog/factory.py +60 -0
  19. value_factory-2025.1/package/value_factory/catalog/number.py +144 -0
  20. value_factory-2025.1/package/value_factory/catalog/path.py +160 -0
  21. value_factory-2025.1/package/value_factory/constant/console.py +1 -0
  22. value_factory-2025.1/package/value_factory/constant/value.py +81 -0
  23. value_factory-2025.1/package/value_factory/extension/hint.py +102 -0
  24. value_factory-2025.1/package/value_factory/task/casting.py +87 -0
  25. value_factory-2025.1/package/value_factory/type/checking.py +6 -0
  26. value_factory-2025.1/package/value_factory/type/factory.py +41 -0
  27. value_factory-2025.1/package/value_factory/type/hint.py +275 -0
  28. value_factory-2025.1/package/value_factory/type/value.py +279 -0
  29. value_factory-2025.1/package/value_factory/version.py +53 -0
  30. value_factory-2025.1/package/value_factory.egg-info/PKG-INFO +156 -0
  31. value_factory-2025.1/package/value_factory.egg-info/SOURCES.txt +36 -0
  32. value_factory-2025.1/package/value_factory.egg-info/dependency_links.txt +1 -0
  33. value_factory-2025.1/package/value_factory.egg-info/requires.txt +1 -0
  34. value_factory-2025.1/package/value_factory.egg-info/top_level.txt +1 -0
  35. value_factory-2025.1/pyproject.toml +5 -0
  36. value_factory-2025.1/requirements.txt +1 -0
  37. value_factory-2025.1/setup.cfg +4 -0
  38. value_factory-2025.1/setup.py +155 -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,156 @@
1
+ Metadata-Version: 2.2
2
+ Name: value-factory
3
+ Version: 2025.1
4
+ Summary: Convert strings to Python objects, or cast objects, guided by (potentially annotated) type hints
5
+ Home-page: https://src.koda.cnrs.fr/eric.debreuve/value-factory/
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/value-factory/-/wikis/home
10
+ Project-URL: Source, https://src.koda.cnrs.fr/eric.debreuve/value-factory/
11
+ Keywords: str,character string,Python object,conversion,cast,type hint,type annotation
12
+ Classifier: Topic :: Software Development
13
+ Classifier: Intended Audience :: Developers
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.11
18
+ Description-Content-Type: text/x-rst
19
+ Requires-Dist: logger-36
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: classifier
23
+ Dynamic: description
24
+ Dynamic: description-content-type
25
+ Dynamic: home-page
26
+ Dynamic: keywords
27
+ Dynamic: license
28
+ Dynamic: project-url
29
+ Dynamic: requires-dist
30
+ Dynamic: requires-python
31
+ Dynamic: summary
32
+
33
+ ..
34
+ Copyright CNRS/Inria/UniCA
35
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2025
36
+ SEE COPYRIGHT NOTICE BELOW
37
+
38
+ .. |PROJECT_NAME| replace:: Value-Factory
39
+ .. |SHORT_DESCRIPTION| replace:: Convert strings to Python objects, or cast objects, guided by (potentially annotated) type hints
40
+
41
+ .. |PYPI_NAME_LITERAL| replace:: ``value-factory``
42
+ .. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/value-factory/
43
+ .. _PYPI_PROJECT_URL: https://pypi.org/project/value-factory/
44
+
45
+ .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/value-factory/-/wikis/home
46
+ .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/value-factory/-/wikis/home
47
+
48
+ .. |DEPENDENCIES_MANDATORY| replace:: logger-36
49
+ .. |DEPENDENCIES_OPTIONAL| replace:: None
50
+
51
+
52
+
53
+ ===================================
54
+ |PROJECT_NAME|: |SHORT_DESCRIPTION|
55
+ ===================================
56
+
57
+
58
+
59
+ Documentation
60
+ =============
61
+
62
+ The documentation is available at |DOCUMENTATION_URL|_.
63
+
64
+
65
+
66
+ Installation
67
+ ============
68
+
69
+ This project is published
70
+ on the `Python Package Index (PyPI) <https://pypi.org/>`_
71
+ at: |PYPI_PROJECT_URL|_.
72
+ It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
73
+ Otherwise, it can be installed from a command console using `pip <https://pip.pypa.io/>`_:
74
+
75
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
76
+ | | For all users (after acquiring administrative rights) | For the current user (no administrative rights required) |
77
+ +==============+=======================================================+==========================================================+
78
+ | Installation | ``pip install`` |PYPI_NAME_LITERAL| | ``pip install --user`` |PYPI_NAME_LITERAL| |
79
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
80
+ | Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
81
+ +--------------+-------------------------------------------------------+----------------------------------------------------------+
82
+
83
+
84
+
85
+ Dependencies
86
+ ============
87
+
88
+ The development relies on several packages:
89
+
90
+ - Mandatory: |DEPENDENCIES_MANDATORY|
91
+ - Optional: |DEPENDENCIES_OPTIONAL|
92
+
93
+ 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|.
94
+ Python distribution platforms or Integrated Development Environments (IDEs) should also take care of this.
95
+ The optional dependencies, if any, must be installed independently by following the related instructions, for added functionalities of |PROJECT_NAME|.
96
+
97
+
98
+
99
+ Acknowledgments
100
+ ===============
101
+
102
+ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
103
+ :target: https://github.com/psf/black
104
+ .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
105
+ :target: https://pycqa.github.io/isort/
106
+
107
+ The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
108
+
109
+ The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
110
+
111
+ The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*.
112
+
113
+ ..
114
+ COPYRIGHT NOTICE
115
+
116
+ This software is governed by the CeCILL license under French law and
117
+ abiding by the rules of distribution of free software. You can use,
118
+ modify and/ or redistribute the software under the terms of the CeCILL
119
+ license as circulated by CEA, CNRS and INRIA at the following URL
120
+ "http://www.cecill.info".
121
+
122
+ As a counterpart to the access to the source code and rights to copy,
123
+ modify and redistribute granted by the license, users are provided only
124
+ with a limited warranty and the software's author, the holder of the
125
+ economic rights, and the successive licensors have only limited
126
+ liability.
127
+
128
+ In this respect, the user's attention is drawn to the risks associated
129
+ with loading, using, modifying and/or developing or reproducing the
130
+ software by the user in light of its specific status of free software,
131
+ that may mean that it is complicated to manipulate, and that also
132
+ therefore means that it is reserved for developers and experienced
133
+ professionals having in-depth computer knowledge. Users are therefore
134
+ encouraged to load and test the software's suitability as regards their
135
+ requirements in conditions enabling the security of their systems and/or
136
+ data to be ensured and, more generally, to use and operate it in the
137
+ same conditions as regards security.
138
+
139
+ The fact that you are presently reading this means that you have had
140
+ knowledge of the CeCILL license and that you accept its terms.
141
+
142
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
143
+
144
+ This software is being developed by Eric Debreuve, a CNRS employee and
145
+ member of team Morpheme.
146
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
147
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
148
+ I3S, and Laboratory iBV.
149
+
150
+ CNRS: https://www.cnrs.fr/index.php/en
151
+ Inria: https://www.inria.fr/en/
152
+ UniCA: https://univ-cotedazur.eu/
153
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
154
+ I3S: https://www.i3s.unice.fr/en/
155
+ iBV: http://ibv.unice.fr/
156
+ Team Morpheme: https://team.inria.fr/morpheme/
@@ -0,0 +1,44 @@
1
+ Copyright CNRS/Inria/UniCA
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
31
+
32
+ This software is being developed by Eric Debreuve, a CNRS employee and
33
+ member of team Morpheme.
34
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
35
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
36
+ I3S, and Laboratory iBV.
37
+
38
+ CNRS: https://www.cnrs.fr/index.php/en
39
+ Inria: https://www.inria.fr/en/
40
+ UniCA: https://univ-cotedazur.eu/
41
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
42
+ I3S: https://www.i3s.unice.fr/en/
43
+ iBV: http://ibv.unice.fr/
44
+ Team Morpheme: https://team.inria.fr/morpheme/