cubitpy 0.2.3__tar.gz → 0.2.4__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 (89) hide show
  1. {cubitpy-0.2.3/src/cubitpy.egg-info → cubitpy-0.2.4}/PKG-INFO +1 -1
  2. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/conf.py +5 -13
  3. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/version.py +3 -3
  4. {cubitpy-0.2.3 → cubitpy-0.2.4/src/cubitpy.egg-info}/PKG-INFO +1 -1
  5. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/scm_version.json +2 -2
  6. {cubitpy-0.2.3 → cubitpy-0.2.4}/.coveragerc +0 -0
  7. {cubitpy-0.2.3 → cubitpy-0.2.4}/.github/workflows/code_checks.yml +0 -0
  8. {cubitpy-0.2.3 → cubitpy-0.2.4}/.github/workflows/cubitpy_test_suite_with_secrets.yml +0 -0
  9. {cubitpy-0.2.3 → cubitpy-0.2.4}/.gitignore +0 -0
  10. {cubitpy-0.2.3 → cubitpy-0.2.4}/.pre-commit-config.yaml +0 -0
  11. {cubitpy-0.2.3 → cubitpy-0.2.4}/CONTRIBUTORS +0 -0
  12. {cubitpy-0.2.3 → cubitpy-0.2.4}/LICENSE +0 -0
  13. {cubitpy-0.2.3 → cubitpy-0.2.4}/README.md +0 -0
  14. {cubitpy-0.2.3 → cubitpy-0.2.4}/pyproject.toml +0 -0
  15. {cubitpy-0.2.3 → cubitpy-0.2.4}/setup.cfg +0 -0
  16. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/__init__.py +0 -0
  17. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_group.py +0 -0
  18. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_to_fourc_input.py +0 -0
  19. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_utility.py +0 -0
  20. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/__init__.py +0 -0
  21. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_client.py +0 -0
  22. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_file_transfer.py +0 -0
  23. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_host.py +0 -0
  24. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubit_wrapper/cubit_wrapper_utility.py +0 -0
  25. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubitpy.py +0 -0
  26. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/cubitpy_types.py +0 -0
  27. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/exodus_utility.py +0 -0
  28. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/geometry_creation_functions.py +0 -0
  29. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy/mesh_creation_functions.py +0 -0
  30. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/SOURCES.txt +0 -0
  31. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/dependency_links.txt +0 -0
  32. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/requires.txt +0 -0
  33. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/scm_file_list.json +0 -0
  34. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/cubitpy.egg-info/top_level.txt +0 -0
  35. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/tutorial/__init__.py +0 -0
  36. {cubitpy-0.2.3 → cubitpy-0.2.4}/src/tutorial/tutorial.py +0 -0
  37. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/coverage.config +0 -0
  38. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/external-geometry/fluent_aneurysm.msh +0 -0
  39. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_block_function.4C.yaml +0 -0
  40. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_beam_to_surface.4C.yaml +0 -0
  41. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_curve_to_curve.4C.yaml +0 -0
  42. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_contact_condition_surface_to_surface.4C.yaml +0 -0
  43. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block.4C.yaml +0 -0
  44. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block_unaltered_element_dict.4C.yaml +0 -0
  45. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block_unaltered_element_dict_exo.4C.yaml +0 -0
  46. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_block_unaltered_element_dict_exo.exo +0 -0
  47. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_brick_by_corner_points.4C.yaml +0 -0
  48. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_create_wedge6.4C.yaml +0 -0
  49. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_cubit_tutorial_coreform.4C.yaml +0 -0
  50. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_cubit_tutorial_cubit15.4C.yaml +0 -0
  51. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_dump_numpy_array.4C.yaml +0 -0
  52. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_hex.4C.yaml +0 -0
  53. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_quad_yplane.4C.yaml +0 -0
  54. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_quad_zplane.4C.yaml +0 -0
  55. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_coreform.4C.yaml +0 -0
  56. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_cubit15.4C.yaml +0 -0
  57. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_single_element_with_exo.4C.yaml +0 -0
  58. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_single_element_with_exo.exo +0 -0
  59. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_element_types_tet_single_element_without_exo.4C.yaml +0 -0
  60. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_extrude_mesh_function.4C.yaml +0 -0
  61. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_extrude_mesh_function_average_normals_block.4C.yaml +0 -0
  62. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_extrude_mesh_function_average_normals_for_cylinder_and_sphere.4C.yaml +0 -0
  63. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fluid_functionality_coreform.4C.yaml +0 -0
  64. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fluid_functionality_cubit15.4C.yaml +0 -0
  65. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_fsi_functionality.4C.yaml +0 -0
  66. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_group_of_surfaces.4C.yaml +0 -0
  67. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_groups.4C.yaml +0 -0
  68. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_groups_multiple_sets.4C.yaml +0 -0
  69. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_mesh_import.4C.yaml +0 -0
  70. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_set_geometry_type.4C.yaml +0 -0
  71. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_sets_without_boundary_condition_with_exo.4C.yaml +0 -0
  72. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_sets_without_boundary_condition_with_exo.exo +0 -0
  73. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_node_sets_without_boundary_condition_without_exo.4C.yaml +0 -0
  74. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_point_coupling.4C.yaml +0 -0
  75. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_reset_block_1.4C.yaml +0 -0
  76. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_reset_block_2.4C.yaml +0 -0
  77. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_scatra_functionality.4C.yaml +0 -0
  78. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_serialize_nested_lists.4C.yaml +0 -0
  79. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_thermo_functionality.4C.yaml +0 -0
  80. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_user_defined_node_set_and_block_ids_with_exo.4C.yaml +0 -0
  81. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_user_defined_node_set_and_block_ids_with_exo.exo +0 -0
  82. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_user_defined_node_set_and_block_ids_without_exo.4C.yaml +0 -0
  83. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_yaml_with_exo_export_fsi.4C.yaml +0 -0
  84. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/input-files-ref/test_yaml_with_exo_export_fsi.exo +0 -0
  85. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/run_delete_test.py +0 -0
  86. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_configurations.sh +0 -0
  87. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_cubitpy.py +0 -0
  88. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_cubitpy_performance.py +0 -0
  89. {cubitpy-0.2.3 → cubitpy-0.2.4}/tests/test_tutorial.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cubitpy
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: CubitPy: Utility functions and 4C related functionality for the Cubit and Coreform python interface
5
5
  Author-email: Ivo Steinbrecher <ivo.steinbrecher@unibw.de>
6
6
  License-Expression: MIT
@@ -303,26 +303,18 @@ class CubitOptions(object):
303
303
 
304
304
  if cubit_platform == "linux" or cubit_platform == "macos":
305
305
  if self.is_coreform():
306
+ python_prefix = "python3."
306
307
  python_files = [
307
308
  path
308
- for path in cubit_path.rglob("python3*")
309
+ for path in cubit_path.rglob(f"{python_prefix}*")
309
310
  if path.is_file()
310
- and ( # Check if the file is named "python3" or "python3.x" where x is a version number
311
- path.name == "python3"
312
- or (
313
- path.name.startswith("python3.")
314
- and path.name.removeprefix("python3.")
315
- .replace(".", "")
316
- .isdigit()
317
- )
318
- )
311
+ and path.name.removeprefix(python_prefix).isdigit()
319
312
  ]
320
313
  if len(python_files) != 1:
321
314
  raise ValueError(
322
315
  "Could not uniquely determine the path to the Cubit Python "
323
- f"interpreter. Expected exactly one 'python3' or versioned "
324
- f"'python3.x' executable under '{cubit_path}', but found "
325
- f"{len(python_files)}: {python_files}"
316
+ f"interpreter. Expected exactly one 'python3.x' executable "
317
+ f"under '{cubit_path}', but found {len(python_files)}: {python_files}"
326
318
  )
327
319
  return str(python_files[0])
328
320
  else:
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.2.3'
22
- __version_tuple__ = version_tuple = (0, 2, 3)
21
+ __version__ = version = '0.2.4'
22
+ __version_tuple__ = version_tuple = (0, 2, 4)
23
23
 
24
- __commit_id__ = commit_id = 'g67f814880'
24
+ __commit_id__ = commit_id = 'g6fa66acbd'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cubitpy
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: CubitPy: Utility functions and 4C related functionality for the Cubit and Coreform python interface
5
5
  Author-email: Ivo Steinbrecher <ivo.steinbrecher@unibw.de>
6
6
  License-Expression: MIT
@@ -1,7 +1,7 @@
1
1
  {
2
- "tag": "0.2.3",
2
+ "tag": "0.2.4",
3
3
  "distance": 0,
4
- "node": "g67f814880f7f0d95cb1cd73a0f7eefb9baf799ee",
4
+ "node": "g6fa66acbdf38eec28ecddfa5de87049c463dd7f3",
5
5
  "dirty": false,
6
6
  "branch": "main",
7
7
  "node_date": "2026-10-28"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes