pycodata 2.2.0__tar.gz → 2.3.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 (32) hide show
  1. pycodata-2.3.1/PKG-INFO +38 -0
  2. pycodata-2.3.1/README.md +23 -0
  3. pycodata-2.3.1/VERSION +1 -0
  4. {pycodata-2.2.0 → pycodata-2.3.1}/pyproject.toml +1 -1
  5. pycodata-2.3.1/src/pycodata/libcodata.dll +0 -0
  6. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/libcodata.dll.a +0 -0
  7. pycodata-2.3.1/src/pycodata/libcodata.dylib +0 -0
  8. pycodata-2.3.1/src/pycodata/libcodata.so +0 -0
  9. pycodata-2.3.1/src/pycodata.egg-info/PKG-INFO +38 -0
  10. pycodata-2.2.0/PKG-INFO +0 -347
  11. pycodata-2.2.0/README.md +0 -332
  12. pycodata-2.2.0/VERSION +0 -1
  13. pycodata-2.2.0/src/pycodata/libcodata.a +0 -0
  14. pycodata-2.2.0/src/pycodata/libcodata.dll +0 -0
  15. pycodata-2.2.0/src/pycodata/libcodata.dylib +0 -0
  16. pycodata-2.2.0/src/pycodata/libcodata.so +0 -0
  17. pycodata-2.2.0/src/pycodata.egg-info/PKG-INFO +0 -347
  18. {pycodata-2.2.0 → pycodata-2.3.1}/LICENSE +0 -0
  19. {pycodata-2.2.0 → pycodata-2.3.1}/MANIFEST.in +0 -0
  20. {pycodata-2.2.0 → pycodata-2.3.1}/setup.cfg +0 -0
  21. {pycodata-2.2.0 → pycodata-2.3.1}/setup.py +0 -0
  22. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/__init__.py +0 -0
  23. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/_codata_constants_2010.c +0 -0
  24. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/_codata_constants_2014.c +0 -0
  25. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/_codata_constants_2018.c +0 -0
  26. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/_codata_constants_2022.c +0 -0
  27. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/_codata_version.c +0 -0
  28. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata/codata.h +0 -0
  29. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata.egg-info/SOURCES.txt +0 -0
  30. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata.egg-info/dependency_links.txt +0 -0
  31. {pycodata-2.2.0 → pycodata-2.3.1}/src/pycodata.egg-info/top_level.txt +0 -0
  32. {pycodata-2.2.0 → pycodata-2.3.1}/test/test_all.py +0 -0
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: pycodata
3
+ Version: 2.3.1
4
+ Summary: pycodata: CODATA constants for python.
5
+ Author-email: Milan Skocic <milan.skocic@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Documentation, https://milanskocic.github.io/codata/index.html
8
+ Project-URL: Source, https://github.com/MilanSkocic/codata
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Science/Research
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+
17
+ # Introduction
18
+
19
+ Python wrapper around the
20
+ [Fortran codata library](https://milanskocic.github.io/codata/ ).
21
+ The Fortran library does not need to be installed, the python wrapper embeds all needed fortran dependencies
22
+ for Windows and MacOS.
23
+ On linux, you might have to install `libgfortran` if it is not distributed by default with your linux distribution.
24
+
25
+ # Installation
26
+
27
+ In a terminal, enter:
28
+
29
+ ```python
30
+ pip install pycodata
31
+ ```
32
+
33
+ # License
34
+
35
+ MIT
36
+
37
+ ```
38
+ MIT License
@@ -0,0 +1,23 @@
1
+
2
+ # Introduction
3
+
4
+ Python wrapper around the
5
+ [Fortran codata library](https://milanskocic.github.io/codata/ ).
6
+ The Fortran library does not need to be installed, the python wrapper embeds all needed fortran dependencies
7
+ for Windows and MacOS.
8
+ On linux, you might have to install `libgfortran` if it is not distributed by default with your linux distribution.
9
+
10
+ # Installation
11
+
12
+ In a terminal, enter:
13
+
14
+ ```python
15
+ pip install pycodata
16
+ ```
17
+
18
+ # License
19
+
20
+ MIT
21
+
22
+ ```
23
+ MIT License
pycodata-2.3.1/VERSION ADDED
@@ -0,0 +1 @@
1
+ 2.3.1
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
5
5
  [project]
6
6
  name = "pycodata"
7
7
  dynamic = ["version"]
8
- authors = [{name = "Milan Skocic", email = "milan.skocic@icloud.com"}]
8
+ authors = [{name = "Milan Skocic", email = "milan.skocic@gmail.com"}]
9
9
  description = "pycodata: CODATA constants for python."
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.9"
Binary file
@@ -0,0 +1,38 @@
1
+ Metadata-Version: 2.4
2
+ Name: pycodata
3
+ Version: 2.3.1
4
+ Summary: pycodata: CODATA constants for python.
5
+ Author-email: Milan Skocic <milan.skocic@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Documentation, https://milanskocic.github.io/codata/index.html
8
+ Project-URL: Source, https://github.com/MilanSkocic/codata
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Science/Research
11
+ Requires-Python: >=3.9
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ Dynamic: license-file
15
+
16
+
17
+ # Introduction
18
+
19
+ Python wrapper around the
20
+ [Fortran codata library](https://milanskocic.github.io/codata/ ).
21
+ The Fortran library does not need to be installed, the python wrapper embeds all needed fortran dependencies
22
+ for Windows and MacOS.
23
+ On linux, you might have to install `libgfortran` if it is not distributed by default with your linux distribution.
24
+
25
+ # Installation
26
+
27
+ In a terminal, enter:
28
+
29
+ ```python
30
+ pip install pycodata
31
+ ```
32
+
33
+ # License
34
+
35
+ MIT
36
+
37
+ ```
38
+ MIT License
pycodata-2.2.0/PKG-INFO DELETED
@@ -1,347 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pycodata
3
- Version: 2.2.0
4
- Summary: pycodata: CODATA constants for python.
5
- Author-email: Milan Skocic <milan.skocic@icloud.com>
6
- License-Expression: MIT
7
- Project-URL: Documentation, https://milanskocic.github.io/codata/index.html
8
- Project-URL: Source, https://github.com/MilanSkocic/codata
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Science/Research
11
- Requires-Python: >=3.9
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Dynamic: license-file
15
-
16
-
17
- # Introduction
18
-
19
- Python wrapper around the
20
- [Fortran codata library](https://milanskocic.github.io/codata/ ).
21
- The Fortran library does not need to be installed, the python wrapper embeds all needed fortran dependencies
22
- for Windows and MacOS.
23
- On linux, you might have to install `libgfortran` if it is not distributed by default with your linux distribution.
24
-
25
- # Installation
26
-
27
- In a terminal, enter:
28
-
29
- ```python
30
- pip install pycodata
31
- ```
32
-
33
- # License
34
-
35
- MIT
36
-
37
- ```
38
- MIT License
39
-
40
- Copyright (c) Milan Skocic
41
-
42
- Permission is hereby granted, free of charge, to any person obtaining
43
- a copy of this software and associated documentation files (the
44
- "Software"), to deal in the Software without restriction, including
45
- without limitation the rights to use, copy, modify, merge, publish,
46
- distribute, sublicense, and/or sell copies of the Software, and to
47
- permit persons to whom the Software is furnished to do so, subject to
48
- the following conditions:
49
-
50
- The above copyright notice and this permission notice shall be
51
- included in all copies or substantial portions of the Software.
52
-
53
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
54
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
55
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
56
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
57
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
58
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
59
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60
- ```
61
-
62
-
63
- # Examples
64
- ```Python
65
- r"""Example in python."""
66
- import sys
67
- sys.path.insert(0, "../src/")
68
- import pycodata
69
-
70
- print("########## EXAMPLE IN PYTHON ##########")
71
- print("# VERSION")
72
- print(f"version = {pycodata.__version__}")
73
-
74
- print("# Constants")
75
- print(f"c =", pycodata.SPEED_OF_LIGHT_IN_VACUUM["value"])
76
-
77
- print("# UNCERTAINTY")
78
- print(f"u(c) = ", pycodata.SPEED_OF_LIGHT_IN_VACUUM["uncertainty"])
79
-
80
- print("# OLDER VALUES")
81
- print(f"Mu_2022 = ", pycodata.MOLAR_MASS_CONSTANT["value"])
82
- print(f"Mu_2018 = ", pycodata.codata_constants_2018.MOLAR_MASS_CONSTANT_2018["value"])
83
- print(f"Mu_2014 = ", pycodata.codata_constants_2014.MOLAR_MASS_CONSTANT_2014["value"])
84
- print(f"Mu_2010 = ", pycodata.codata_constants_2010.MOLAR_MASS_CONSTANT_2010["value"])
85
- ```
86
-
87
-
88
- # Changelog
89
- ## 2.1.1
90
-
91
- * No code change.
92
- * Code refractoring and cleaning
93
- * Update CI/CD workflows.
94
-
95
- [Full changelog](https://github.com/MilanSkocic/codata/releases)
96
-
97
-
98
- ## 2.1.0
99
-
100
- * Roll back to C API in Fortran code: easier maintenance.
101
- * Roll back to compiled C extension for python: easier maintenance.
102
-
103
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
104
-
105
-
106
- ## 2.0.1
107
-
108
- * Fix bug in version for Fortran code.
109
-
110
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
111
-
112
-
113
- ## 2.0.0
114
-
115
- * Drop compiled extensions for Python.
116
- * Pure Python code for constants auto-generated as it is the case for the Fortran code.
117
- * Pure C code for constants auto-generated as it is the case for the Fortran code.
118
- * API break:
119
- * No more C API in the Fortran code.
120
- * Use the pure C code to build a C library.
121
-
122
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
123
-
124
- ## 1.2.2
125
-
126
- * Fix conflict that could occur with C API modules. Add prefix in module names.
127
- * Cleanup and refractoring.
128
- * Documentation update.
129
-
130
-
131
- ## 1.2.1
132
-
133
- * Refractoring
134
- * Merge back C API and python wrapper.
135
-
136
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
137
-
138
-
139
- ## 1.2.0
140
-
141
- * Refractoring
142
- * Documentation update.
143
-
144
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
145
-
146
-
147
- ## 1.1.0
148
-
149
- * C API and Python wrapper moved to their own repositories.
150
- * [C wrapper](https://github.com/MilanSkocic/codata-capi)
151
- * [Python wrapper](https://github.com/MilanSkocic/codata-py)
152
- * API break: C API is no more provided by default. Use the optional C wrapper.
153
- * Code cleanup
154
- * Documentation update
155
-
156
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
157
-
158
-
159
- ## 1.0.0
160
-
161
- * Add codata values for 2010, 2014 and 2018.
162
- * Code refractoring and code cleaning.
163
- * Documentation update and switch to only FORD documentation.
164
- * Rewrite code generators in python.
165
- * Generate source code for stdlib.
166
- * API break: constants are defined as DT like in stdlib.
167
-
168
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
169
-
170
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
171
-
172
-
173
-
174
- ## 0.10.0
175
-
176
- * Remove remove generation of the version module.
177
- * Add tests using the test-drive framework.
178
- * Explicit parameter constants for Fortran and protected constants for C API.
179
- * Minor fixes in documentation.
180
- * Code cleanup.
181
- * Merge of all code for autogeneration in one file.
182
-
183
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
184
-
185
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
186
-
187
-
188
-
189
- ## 0.9.0
190
-
191
- * No API changes.
192
- * Automatic generation of the version module.
193
- * Generic Makefiles for automatic the building process of the library and the pywrapper.
194
- * Add targets: build, build_debug, test, test_debug.
195
- * Minor fixes in documentation.
196
-
197
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
198
-
199
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
200
-
201
-
202
-
203
- ## 0.8.2
204
-
205
- * No API changes.
206
- * Improve Makefile for generating the source code at each compilation.
207
- * Source generator rewritten in Fortran.
208
- * Switch to pyproject.toml for the Python wrapper.
209
- * Minor fixes in documentation.
210
-
211
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
212
-
213
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
214
-
215
-
216
-
217
- ## 0.8.1
218
-
219
- * Use shared library in python wrapper.
220
- * Minor fixes in documentation.
221
-
222
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
223
-
224
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
225
-
226
-
227
-
228
- ## 0.8.0
229
-
230
- * Back to the approach with a library.
231
- * Compatible with fpm.
232
- * Configuration file for setting all the environmental variables.
233
- * Global makefile for building a static library (through fpm) and a shared library.
234
- * Automatic copy of the necessary sources for the python wrapper.
235
- * Python wrapper built with the static library
236
- * no dependency on a shared library.
237
- * sources and static library embeded in the python wrapper.
238
- * FORD for documenting the Fortran code.
239
- * Integration of the FORD documentation into the main documentation with sphinx.
240
-
241
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
242
-
243
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
244
-
245
-
246
-
247
- ## 0.7.1
248
-
249
- * Minor fixes in generator code
250
- * Add automatic copy of c sources for the python wrapper.
251
-
252
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
253
-
254
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
255
-
256
-
257
-
258
- ## 0.7.0
259
-
260
- * Migrate documentation from doxygen to sphinx+breathe.
261
- * Add YEAR constant indicating the year of the codata constants.
262
- * Refractoring
263
-
264
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
265
-
266
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
267
-
268
-
269
-
270
- ## 0.6.0
271
-
272
- * Created documentation.
273
- * Fixed missing uncertainties for Cpython.
274
-
275
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
276
-
277
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
278
-
279
-
280
-
281
- ## 0.5.0
282
-
283
- * Changed the complete approach by not generating a library but only source files for different languages.
284
- * Available languages: Fortran, C, python, CPython
285
-
286
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
287
-
288
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
289
-
290
-
291
-
292
- ## 0.4.0
293
-
294
- * Bring back pywrapper in the codata repository to sync versions.
295
- * Improvements of the documentation.
296
-
297
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
298
-
299
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
300
-
301
-
302
-
303
- ## 0.3.0
304
-
305
- * Only last codata constants.
306
-
307
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
308
-
309
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
310
-
311
-
312
-
313
- ## 0.2.1
314
-
315
- * Integration of Intel Fortran compiler and MSVC in cmake scripts.
316
- * Add specifications and instructions for compiling on Windows
317
-
318
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
319
-
320
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
321
-
322
-
323
-
324
- ## 0.2.0
325
-
326
- * Bug fixes for the codata 2010.
327
- * Bug fixes in the tests linked to the codata 2010.
328
- * Add python wrapper for the number of constants method.
329
-
330
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
331
-
332
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
333
-
334
-
335
-
336
- ## 0.1.0
337
-
338
- Implementation of:
339
-
340
- * the parser of the codata raw data
341
- * the generator of the Fortran modules
342
- * the C API and C header
343
- * the python wrapper (will be moved to its repository next release).
344
-
345
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
346
-
347
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
pycodata-2.2.0/README.md DELETED
@@ -1,332 +0,0 @@
1
-
2
- # Introduction
3
-
4
- Python wrapper around the
5
- [Fortran codata library](https://milanskocic.github.io/codata/ ).
6
- The Fortran library does not need to be installed, the python wrapper embeds all needed fortran dependencies
7
- for Windows and MacOS.
8
- On linux, you might have to install `libgfortran` if it is not distributed by default with your linux distribution.
9
-
10
- # Installation
11
-
12
- In a terminal, enter:
13
-
14
- ```python
15
- pip install pycodata
16
- ```
17
-
18
- # License
19
-
20
- MIT
21
-
22
- ```
23
- MIT License
24
-
25
- Copyright (c) Milan Skocic
26
-
27
- Permission is hereby granted, free of charge, to any person obtaining
28
- a copy of this software and associated documentation files (the
29
- "Software"), to deal in the Software without restriction, including
30
- without limitation the rights to use, copy, modify, merge, publish,
31
- distribute, sublicense, and/or sell copies of the Software, and to
32
- permit persons to whom the Software is furnished to do so, subject to
33
- the following conditions:
34
-
35
- The above copyright notice and this permission notice shall be
36
- included in all copies or substantial portions of the Software.
37
-
38
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
40
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
42
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
43
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
44
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45
- ```
46
-
47
-
48
- # Examples
49
- ```Python
50
- r"""Example in python."""
51
- import sys
52
- sys.path.insert(0, "../src/")
53
- import pycodata
54
-
55
- print("########## EXAMPLE IN PYTHON ##########")
56
- print("# VERSION")
57
- print(f"version = {pycodata.__version__}")
58
-
59
- print("# Constants")
60
- print(f"c =", pycodata.SPEED_OF_LIGHT_IN_VACUUM["value"])
61
-
62
- print("# UNCERTAINTY")
63
- print(f"u(c) = ", pycodata.SPEED_OF_LIGHT_IN_VACUUM["uncertainty"])
64
-
65
- print("# OLDER VALUES")
66
- print(f"Mu_2022 = ", pycodata.MOLAR_MASS_CONSTANT["value"])
67
- print(f"Mu_2018 = ", pycodata.codata_constants_2018.MOLAR_MASS_CONSTANT_2018["value"])
68
- print(f"Mu_2014 = ", pycodata.codata_constants_2014.MOLAR_MASS_CONSTANT_2014["value"])
69
- print(f"Mu_2010 = ", pycodata.codata_constants_2010.MOLAR_MASS_CONSTANT_2010["value"])
70
- ```
71
-
72
-
73
- # Changelog
74
- ## 2.1.1
75
-
76
- * No code change.
77
- * Code refractoring and cleaning
78
- * Update CI/CD workflows.
79
-
80
- [Full changelog](https://github.com/MilanSkocic/codata/releases)
81
-
82
-
83
- ## 2.1.0
84
-
85
- * Roll back to C API in Fortran code: easier maintenance.
86
- * Roll back to compiled C extension for python: easier maintenance.
87
-
88
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
89
-
90
-
91
- ## 2.0.1
92
-
93
- * Fix bug in version for Fortran code.
94
-
95
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
96
-
97
-
98
- ## 2.0.0
99
-
100
- * Drop compiled extensions for Python.
101
- * Pure Python code for constants auto-generated as it is the case for the Fortran code.
102
- * Pure C code for constants auto-generated as it is the case for the Fortran code.
103
- * API break:
104
- * No more C API in the Fortran code.
105
- * Use the pure C code to build a C library.
106
-
107
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
108
-
109
- ## 1.2.2
110
-
111
- * Fix conflict that could occur with C API modules. Add prefix in module names.
112
- * Cleanup and refractoring.
113
- * Documentation update.
114
-
115
-
116
- ## 1.2.1
117
-
118
- * Refractoring
119
- * Merge back C API and python wrapper.
120
-
121
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
122
-
123
-
124
- ## 1.2.0
125
-
126
- * Refractoring
127
- * Documentation update.
128
-
129
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
130
-
131
-
132
- ## 1.1.0
133
-
134
- * C API and Python wrapper moved to their own repositories.
135
- * [C wrapper](https://github.com/MilanSkocic/codata-capi)
136
- * [Python wrapper](https://github.com/MilanSkocic/codata-py)
137
- * API break: C API is no more provided by default. Use the optional C wrapper.
138
- * Code cleanup
139
- * Documentation update
140
-
141
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
142
-
143
-
144
- ## 1.0.0
145
-
146
- * Add codata values for 2010, 2014 and 2018.
147
- * Code refractoring and code cleaning.
148
- * Documentation update and switch to only FORD documentation.
149
- * Rewrite code generators in python.
150
- * Generate source code for stdlib.
151
- * API break: constants are defined as DT like in stdlib.
152
-
153
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
154
-
155
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
156
-
157
-
158
-
159
- ## 0.10.0
160
-
161
- * Remove remove generation of the version module.
162
- * Add tests using the test-drive framework.
163
- * Explicit parameter constants for Fortran and protected constants for C API.
164
- * Minor fixes in documentation.
165
- * Code cleanup.
166
- * Merge of all code for autogeneration in one file.
167
-
168
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
169
-
170
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
171
-
172
-
173
-
174
- ## 0.9.0
175
-
176
- * No API changes.
177
- * Automatic generation of the version module.
178
- * Generic Makefiles for automatic the building process of the library and the pywrapper.
179
- * Add targets: build, build_debug, test, test_debug.
180
- * Minor fixes in documentation.
181
-
182
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
183
-
184
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
185
-
186
-
187
-
188
- ## 0.8.2
189
-
190
- * No API changes.
191
- * Improve Makefile for generating the source code at each compilation.
192
- * Source generator rewritten in Fortran.
193
- * Switch to pyproject.toml for the Python wrapper.
194
- * Minor fixes in documentation.
195
-
196
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
197
-
198
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
199
-
200
-
201
-
202
- ## 0.8.1
203
-
204
- * Use shared library in python wrapper.
205
- * Minor fixes in documentation.
206
-
207
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
208
-
209
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
210
-
211
-
212
-
213
- ## 0.8.0
214
-
215
- * Back to the approach with a library.
216
- * Compatible with fpm.
217
- * Configuration file for setting all the environmental variables.
218
- * Global makefile for building a static library (through fpm) and a shared library.
219
- * Automatic copy of the necessary sources for the python wrapper.
220
- * Python wrapper built with the static library
221
- * no dependency on a shared library.
222
- * sources and static library embeded in the python wrapper.
223
- * FORD for documenting the Fortran code.
224
- * Integration of the FORD documentation into the main documentation with sphinx.
225
-
226
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
227
-
228
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
229
-
230
-
231
-
232
- ## 0.7.1
233
-
234
- * Minor fixes in generator code
235
- * Add automatic copy of c sources for the python wrapper.
236
-
237
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
238
-
239
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
240
-
241
-
242
-
243
- ## 0.7.0
244
-
245
- * Migrate documentation from doxygen to sphinx+breathe.
246
- * Add YEAR constant indicating the year of the codata constants.
247
- * Refractoring
248
-
249
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
250
-
251
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
252
-
253
-
254
-
255
- ## 0.6.0
256
-
257
- * Created documentation.
258
- * Fixed missing uncertainties for Cpython.
259
-
260
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
261
-
262
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
263
-
264
-
265
-
266
- ## 0.5.0
267
-
268
- * Changed the complete approach by not generating a library but only source files for different languages.
269
- * Available languages: Fortran, C, python, CPython
270
-
271
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
272
-
273
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
274
-
275
-
276
-
277
- ## 0.4.0
278
-
279
- * Bring back pywrapper in the codata repository to sync versions.
280
- * Improvements of the documentation.
281
-
282
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
283
-
284
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
285
-
286
-
287
-
288
- ## 0.3.0
289
-
290
- * Only last codata constants.
291
-
292
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
293
-
294
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
295
-
296
-
297
-
298
- ## 0.2.1
299
-
300
- * Integration of Intel Fortran compiler and MSVC in cmake scripts.
301
- * Add specifications and instructions for compiling on Windows
302
-
303
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
304
-
305
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
306
-
307
-
308
-
309
- ## 0.2.0
310
-
311
- * Bug fixes for the codata 2010.
312
- * Bug fixes in the tests linked to the codata 2010.
313
- * Add python wrapper for the number of constants method.
314
-
315
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
316
-
317
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
318
-
319
-
320
-
321
- ## 0.1.0
322
-
323
- Implementation of:
324
-
325
- * the parser of the codata raw data
326
- * the generator of the Fortran modules
327
- * the C API and C header
328
- * the python wrapper (will be moved to its repository next release).
329
-
330
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
331
-
332
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
pycodata-2.2.0/VERSION DELETED
@@ -1 +0,0 @@
1
- 2.2.0
Binary file
Binary file
Binary file
Binary file
@@ -1,347 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: pycodata
3
- Version: 2.2.0
4
- Summary: pycodata: CODATA constants for python.
5
- Author-email: Milan Skocic <milan.skocic@icloud.com>
6
- License-Expression: MIT
7
- Project-URL: Documentation, https://milanskocic.github.io/codata/index.html
8
- Project-URL: Source, https://github.com/MilanSkocic/codata
9
- Classifier: Development Status :: 5 - Production/Stable
10
- Classifier: Intended Audience :: Science/Research
11
- Requires-Python: >=3.9
12
- Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Dynamic: license-file
15
-
16
-
17
- # Introduction
18
-
19
- Python wrapper around the
20
- [Fortran codata library](https://milanskocic.github.io/codata/ ).
21
- The Fortran library does not need to be installed, the python wrapper embeds all needed fortran dependencies
22
- for Windows and MacOS.
23
- On linux, you might have to install `libgfortran` if it is not distributed by default with your linux distribution.
24
-
25
- # Installation
26
-
27
- In a terminal, enter:
28
-
29
- ```python
30
- pip install pycodata
31
- ```
32
-
33
- # License
34
-
35
- MIT
36
-
37
- ```
38
- MIT License
39
-
40
- Copyright (c) Milan Skocic
41
-
42
- Permission is hereby granted, free of charge, to any person obtaining
43
- a copy of this software and associated documentation files (the
44
- "Software"), to deal in the Software without restriction, including
45
- without limitation the rights to use, copy, modify, merge, publish,
46
- distribute, sublicense, and/or sell copies of the Software, and to
47
- permit persons to whom the Software is furnished to do so, subject to
48
- the following conditions:
49
-
50
- The above copyright notice and this permission notice shall be
51
- included in all copies or substantial portions of the Software.
52
-
53
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
54
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
55
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
56
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
57
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
58
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
59
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
60
- ```
61
-
62
-
63
- # Examples
64
- ```Python
65
- r"""Example in python."""
66
- import sys
67
- sys.path.insert(0, "../src/")
68
- import pycodata
69
-
70
- print("########## EXAMPLE IN PYTHON ##########")
71
- print("# VERSION")
72
- print(f"version = {pycodata.__version__}")
73
-
74
- print("# Constants")
75
- print(f"c =", pycodata.SPEED_OF_LIGHT_IN_VACUUM["value"])
76
-
77
- print("# UNCERTAINTY")
78
- print(f"u(c) = ", pycodata.SPEED_OF_LIGHT_IN_VACUUM["uncertainty"])
79
-
80
- print("# OLDER VALUES")
81
- print(f"Mu_2022 = ", pycodata.MOLAR_MASS_CONSTANT["value"])
82
- print(f"Mu_2018 = ", pycodata.codata_constants_2018.MOLAR_MASS_CONSTANT_2018["value"])
83
- print(f"Mu_2014 = ", pycodata.codata_constants_2014.MOLAR_MASS_CONSTANT_2014["value"])
84
- print(f"Mu_2010 = ", pycodata.codata_constants_2010.MOLAR_MASS_CONSTANT_2010["value"])
85
- ```
86
-
87
-
88
- # Changelog
89
- ## 2.1.1
90
-
91
- * No code change.
92
- * Code refractoring and cleaning
93
- * Update CI/CD workflows.
94
-
95
- [Full changelog](https://github.com/MilanSkocic/codata/releases)
96
-
97
-
98
- ## 2.1.0
99
-
100
- * Roll back to C API in Fortran code: easier maintenance.
101
- * Roll back to compiled C extension for python: easier maintenance.
102
-
103
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
104
-
105
-
106
- ## 2.0.1
107
-
108
- * Fix bug in version for Fortran code.
109
-
110
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
111
-
112
-
113
- ## 2.0.0
114
-
115
- * Drop compiled extensions for Python.
116
- * Pure Python code for constants auto-generated as it is the case for the Fortran code.
117
- * Pure C code for constants auto-generated as it is the case for the Fortran code.
118
- * API break:
119
- * No more C API in the Fortran code.
120
- * Use the pure C code to build a C library.
121
-
122
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
123
-
124
- ## 1.2.2
125
-
126
- * Fix conflict that could occur with C API modules. Add prefix in module names.
127
- * Cleanup and refractoring.
128
- * Documentation update.
129
-
130
-
131
- ## 1.2.1
132
-
133
- * Refractoring
134
- * Merge back C API and python wrapper.
135
-
136
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
137
-
138
-
139
- ## 1.2.0
140
-
141
- * Refractoring
142
- * Documentation update.
143
-
144
- Full changelog available at [github](https://github.com/milanskocic/codata/releases)
145
-
146
-
147
- ## 1.1.0
148
-
149
- * C API and Python wrapper moved to their own repositories.
150
- * [C wrapper](https://github.com/MilanSkocic/codata-capi)
151
- * [Python wrapper](https://github.com/MilanSkocic/codata-py)
152
- * API break: C API is no more provided by default. Use the optional C wrapper.
153
- * Code cleanup
154
- * Documentation update
155
-
156
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
157
-
158
-
159
- ## 1.0.0
160
-
161
- * Add codata values for 2010, 2014 and 2018.
162
- * Code refractoring and code cleaning.
163
- * Documentation update and switch to only FORD documentation.
164
- * Rewrite code generators in python.
165
- * Generate source code for stdlib.
166
- * API break: constants are defined as DT like in stdlib.
167
-
168
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
169
-
170
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
171
-
172
-
173
-
174
- ## 0.10.0
175
-
176
- * Remove remove generation of the version module.
177
- * Add tests using the test-drive framework.
178
- * Explicit parameter constants for Fortran and protected constants for C API.
179
- * Minor fixes in documentation.
180
- * Code cleanup.
181
- * Merge of all code for autogeneration in one file.
182
-
183
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
184
-
185
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
186
-
187
-
188
-
189
- ## 0.9.0
190
-
191
- * No API changes.
192
- * Automatic generation of the version module.
193
- * Generic Makefiles for automatic the building process of the library and the pywrapper.
194
- * Add targets: build, build_debug, test, test_debug.
195
- * Minor fixes in documentation.
196
-
197
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
198
-
199
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
200
-
201
-
202
-
203
- ## 0.8.2
204
-
205
- * No API changes.
206
- * Improve Makefile for generating the source code at each compilation.
207
- * Source generator rewritten in Fortran.
208
- * Switch to pyproject.toml for the Python wrapper.
209
- * Minor fixes in documentation.
210
-
211
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
212
-
213
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
214
-
215
-
216
-
217
- ## 0.8.1
218
-
219
- * Use shared library in python wrapper.
220
- * Minor fixes in documentation.
221
-
222
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
223
-
224
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
225
-
226
-
227
-
228
- ## 0.8.0
229
-
230
- * Back to the approach with a library.
231
- * Compatible with fpm.
232
- * Configuration file for setting all the environmental variables.
233
- * Global makefile for building a static library (through fpm) and a shared library.
234
- * Automatic copy of the necessary sources for the python wrapper.
235
- * Python wrapper built with the static library
236
- * no dependency on a shared library.
237
- * sources and static library embeded in the python wrapper.
238
- * FORD for documenting the Fortran code.
239
- * Integration of the FORD documentation into the main documentation with sphinx.
240
-
241
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
242
-
243
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
244
-
245
-
246
-
247
- ## 0.7.1
248
-
249
- * Minor fixes in generator code
250
- * Add automatic copy of c sources for the python wrapper.
251
-
252
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
253
-
254
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
255
-
256
-
257
-
258
- ## 0.7.0
259
-
260
- * Migrate documentation from doxygen to sphinx+breathe.
261
- * Add YEAR constant indicating the year of the codata constants.
262
- * Refractoring
263
-
264
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
265
-
266
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
267
-
268
-
269
-
270
- ## 0.6.0
271
-
272
- * Created documentation.
273
- * Fixed missing uncertainties for Cpython.
274
-
275
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
276
-
277
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
278
-
279
-
280
-
281
- ## 0.5.0
282
-
283
- * Changed the complete approach by not generating a library but only source files for different languages.
284
- * Available languages: Fortran, C, python, CPython
285
-
286
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
287
-
288
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
289
-
290
-
291
-
292
- ## 0.4.0
293
-
294
- * Bring back pywrapper in the codata repository to sync versions.
295
- * Improvements of the documentation.
296
-
297
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
298
-
299
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
300
-
301
-
302
-
303
- ## 0.3.0
304
-
305
- * Only last codata constants.
306
-
307
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
308
-
309
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
310
-
311
-
312
-
313
- ## 0.2.1
314
-
315
- * Integration of Intel Fortran compiler and MSVC in cmake scripts.
316
- * Add specifications and instructions for compiling on Windows
317
-
318
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
319
-
320
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
321
-
322
-
323
-
324
- ## 0.2.0
325
-
326
- * Bug fixes for the codata 2010.
327
- * Bug fixes in the tests linked to the codata 2010.
328
- * Add python wrapper for the number of constants method.
329
-
330
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
331
-
332
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
333
-
334
-
335
-
336
- ## 0.1.0
337
-
338
- Implementation of:
339
-
340
- * the parser of the codata raw data
341
- * the generator of the Fortran modules
342
- * the C API and C header
343
- * the python wrapper (will be moved to its repository next release).
344
-
345
- Full changelog available at [github](https://github.com/MilanSkocic/codata/releases)
346
-
347
- Python wrapper available at [pypi](https://pypi.org/project/pycodata).
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes