FourCIPP 1.6.0__tar.gz → 1.8.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.
Files changed (65) hide show
  1. {fourcipp-1.6.0/src/FourCIPP.egg-info → fourcipp-1.8.0}/PKG-INFO +4 -5
  2. {fourcipp-1.6.0 → fourcipp-1.8.0}/requirements.in +3 -4
  3. {fourcipp-1.6.0 → fourcipp-1.8.0}/requirements.txt +4 -23
  4. {fourcipp-1.6.0 → fourcipp-1.8.0/src/FourCIPP.egg-info}/PKG-INFO +4 -5
  5. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/FourCIPP.egg-info/requires.txt +3 -4
  6. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/yaml_io.py +5 -5
  7. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/version.py +3 -3
  8. {fourcipp-1.6.0 → fourcipp-1.8.0}/.coveragerc +0 -0
  9. {fourcipp-1.6.0 → fourcipp-1.8.0}/.github/workflows/check_code.yaml +0 -0
  10. {fourcipp-1.6.0 → fourcipp-1.8.0}/.github/workflows/publish_pypi.yaml +0 -0
  11. {fourcipp-1.6.0 → fourcipp-1.8.0}/.github/workflows/run_testsuite.yaml +0 -0
  12. {fourcipp-1.6.0 → fourcipp-1.8.0}/.github/workflows/tag_version.yaml +0 -0
  13. {fourcipp-1.6.0 → fourcipp-1.8.0}/.github/workflows/update_4C_metadata_schema_file.yaml +0 -0
  14. {fourcipp-1.6.0 → fourcipp-1.8.0}/.gitignore +0 -0
  15. {fourcipp-1.6.0 → fourcipp-1.8.0}/.pre-commit-config.yaml +0 -0
  16. {fourcipp-1.6.0 → fourcipp-1.8.0}/LICENSE +0 -0
  17. {fourcipp-1.6.0 → fourcipp-1.8.0}/README.md +0 -0
  18. {fourcipp-1.6.0 → fourcipp-1.8.0}/docs/assets/fourcipp_logo_black.svg +0 -0
  19. {fourcipp-1.6.0 → fourcipp-1.8.0}/docs/assets/fourcipp_logo_white.svg +0 -0
  20. {fourcipp-1.6.0 → fourcipp-1.8.0}/pyproject.toml +0 -0
  21. {fourcipp-1.6.0 → fourcipp-1.8.0}/setup.cfg +0 -0
  22. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/FourCIPP.egg-info/SOURCES.txt +0 -0
  23. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/FourCIPP.egg-info/dependency_links.txt +0 -0
  24. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/FourCIPP.egg-info/entry_points.txt +0 -0
  25. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/FourCIPP.egg-info/top_level.txt +0 -0
  26. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/__init__.py +0 -0
  27. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/config/4C_metadata.yaml +0 -0
  28. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/config/4C_schema.json +0 -0
  29. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/config/config.yaml +0 -0
  30. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/fourc_input.py +0 -0
  31. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/legacy_io/__init__.py +0 -0
  32. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/legacy_io/element.py +0 -0
  33. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/legacy_io/inline_dat.py +0 -0
  34. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/legacy_io/node.py +0 -0
  35. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/legacy_io/node_topology.py +0 -0
  36. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/legacy_io/particle.py +0 -0
  37. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/__init__.py +0 -0
  38. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/cli.py +0 -0
  39. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/configuration.py +0 -0
  40. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/converter.py +0 -0
  41. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/dict_utils.py +0 -0
  42. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/metadata.py +0 -0
  43. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/not_set.py +0 -0
  44. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/typing.py +0 -0
  45. {fourcipp-1.6.0 → fourcipp-1.8.0}/src/fourcipp/utils/validation.py +0 -0
  46. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/__init__.py +0 -0
  47. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/conftest.py +0 -0
  48. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/__init__.py +0 -0
  49. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/__init__.py +0 -0
  50. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/test_element.py +0 -0
  51. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/test_inline_dat.py +0 -0
  52. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/test_legacy_io.py +0 -0
  53. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/test_node.py +0 -0
  54. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/test_node_topology.py +0 -0
  55. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/test_particle.py +0 -0
  56. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/legacy_io/utils.py +0 -0
  57. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/test_fourc_input.py +0 -0
  58. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/test_readme_quickstart_example.py +0 -0
  59. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/utils/__init__.py +0 -0
  60. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/utils/test_configuration.py +0 -0
  61. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/utils/test_converter.py +0 -0
  62. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/utils/test_dict_utils.py +0 -0
  63. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/utils/test_not_set.py +0 -0
  64. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/utils/test_validation.py +0 -0
  65. {fourcipp-1.6.0 → fourcipp-1.8.0}/tests/fourcipp/utils/test_yaml_io.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: FourCIPP
3
- Version: 1.6.0
3
+ Version: 1.8.0
4
4
  Summary: A streamlined Python Parser for 4C input files
5
5
  Author: FourCIPP Authors
6
6
  License: The MIT License (MIT)
@@ -29,12 +29,11 @@ Project-URL: Issues, https://github.com/4C-multiphysics/fourcipp/issues/
29
29
  Requires-Python: >=3.10
30
30
  Description-Content-Type: text/markdown
31
31
  License-File: LICENSE
32
- Requires-Dist: rapidyaml
33
- Requires-Dist: jsonschema
34
- Requires-Dist: loguru
35
- Requires-Dist: ruamel.yaml
36
32
  Requires-Dist: jsonschema-rs
33
+ Requires-Dist: loguru
37
34
  Requires-Dist: numpy
35
+ Requires-Dist: rapidyaml
36
+ Requires-Dist: regex
38
37
  Provides-Extra: dev
39
38
  Requires-Dist: pre-commit; extra == "dev"
40
39
  Requires-Dist: pytest; extra == "dev"
@@ -1,6 +1,5 @@
1
- rapidyaml
2
- jsonschema
3
- loguru
4
- ruamel.yaml
5
1
  jsonschema-rs
2
+ loguru
6
3
  numpy
4
+ rapidyaml
5
+ regex
@@ -4,21 +4,13 @@
4
4
  #
5
5
  # pip-compile --all-extras --output-file=requirements.txt requirements.in
6
6
  #
7
- attrs==25.3.0
8
- # via
9
- # jsonschema
10
- # referencing
11
7
  deprecation==2.1.0
12
8
  # via rapidyaml
13
- jsonschema==4.23.0
9
+ jsonschema-rs==0.33.0
14
10
  # via -r requirements.in
15
- jsonschema-rs==0.30.0
16
- # via -r requirements.in
17
- jsonschema-specifications==2025.4.1
18
- # via jsonschema
19
11
  loguru==0.7.3
20
12
  # via -r requirements.in
21
- numpy==2.2.5
13
+ numpy==2.3.2
22
14
  # via -r requirements.in
23
15
  packaging==25.0
24
16
  # via deprecation
@@ -26,17 +18,6 @@ rapidyaml
26
18
  # TODO update requirements file
27
19
  # manually removed version because on macos 0.9.0.post2 is latest
28
20
  # and on linux/windows 0.9.0 is latest
29
- referencing==0.36.2
30
- # via
31
- # jsonschema
32
- # jsonschema-specifications
33
- rpds-py==0.24.0
34
- # via
35
- # jsonschema
36
- # referencing
37
- ruamel-yaml==0.18.10
38
21
  # via -r requirements.in
39
- ruamel-yaml-clib==0.2.12
40
- # via ruamel-yaml
41
- typing-extensions==4.13.2
42
- # via referencing
22
+ regex==2025.9.1
23
+ # via -r requirements.in
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: FourCIPP
3
- Version: 1.6.0
3
+ Version: 1.8.0
4
4
  Summary: A streamlined Python Parser for 4C input files
5
5
  Author: FourCIPP Authors
6
6
  License: The MIT License (MIT)
@@ -29,12 +29,11 @@ Project-URL: Issues, https://github.com/4C-multiphysics/fourcipp/issues/
29
29
  Requires-Python: >=3.10
30
30
  Description-Content-Type: text/markdown
31
31
  License-File: LICENSE
32
- Requires-Dist: rapidyaml
33
- Requires-Dist: jsonschema
34
- Requires-Dist: loguru
35
- Requires-Dist: ruamel.yaml
36
32
  Requires-Dist: jsonschema-rs
33
+ Requires-Dist: loguru
37
34
  Requires-Dist: numpy
35
+ Requires-Dist: rapidyaml
36
+ Requires-Dist: regex
38
37
  Provides-Extra: dev
39
38
  Requires-Dist: pre-commit; extra == "dev"
40
39
  Requires-Dist: pytest; extra == "dev"
@@ -1,9 +1,8 @@
1
- rapidyaml
2
- jsonschema
3
- loguru
4
- ruamel.yaml
5
1
  jsonschema-rs
2
+ loguru
6
3
  numpy
4
+ rapidyaml
5
+ regex
7
6
 
8
7
  [dev]
9
8
  pre-commit
@@ -23,9 +23,9 @@
23
23
 
24
24
  import json
25
25
  import pathlib
26
- import re
27
26
  from typing import Callable
28
27
 
28
+ import regex
29
29
  import ryml
30
30
 
31
31
  from fourcipp.utils.typing import Path
@@ -50,12 +50,12 @@ def load_yaml(path_to_yaml_file: Path) -> dict:
50
50
  )
51
51
 
52
52
  # Convert `inf` to a string to avoid JSON parsing errors, see https://github.com/biojppm/rapidyaml/issues/312
53
- json_str = re.sub(r":\s*(-?)inf\b", r': "\1inf"', json_str)
53
+ json_str = regex.sub(r":\s*(-?)inf\b", r': "\1inf"', json_str)
54
54
 
55
55
  # Convert floats that are missing digits on either side of the decimal point
56
56
  # so .5 to 0.5 and 5. to 5.0
57
- json_str = re.sub(r":\s*(-?)\.([0-9]+)", r": \g<1>0.\2", json_str)
58
- json_str = re.sub(r":\s*(-?)([0-9]+)\.(\D)", r": \1\2.0\3", json_str)
57
+ json_str = regex.sub(r":\s*(-?)\.([0-9]+)", r": \g<1>0.\2", json_str)
58
+ json_str = regex.sub(r":\s*(-?)([0-9]+)\.(\D)", r": \1\2.0\3", json_str)
59
59
 
60
60
  data = json.loads(json_str)
61
61
 
@@ -147,7 +147,7 @@ def dict_to_yaml_string(
147
147
 
148
148
  if use_fourcipp_yaml_style:
149
149
  # add spaces after commas in vectors
150
- yaml_string = re.sub(r"(?<=\d),(?=\d)|(?<=\]),(?=\[)", ", ", yaml_string)
150
+ yaml_string = regex.sub(r"(?<=\d),(?=\d)|(?<=\]),(?=\[)", ", ", yaml_string)
151
151
 
152
152
  return yaml_string
153
153
 
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '1.6.0'
32
- __version_tuple__ = version_tuple = (1, 6, 0)
31
+ __version__ = version = '1.8.0'
32
+ __version_tuple__ = version_tuple = (1, 8, 0)
33
33
 
34
- __commit_id__ = commit_id = 'g789740a0d'
34
+ __commit_id__ = commit_id = 'gbcd3a06ff'
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes