foamlib 0.8.4__py3-none-any.whl → 0.8.5__py3-none-any.whl
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.
- foamlib/__init__.py +1 -1
- foamlib/_files/_parsing.py +5 -4
- {foamlib-0.8.4.dist-info → foamlib-0.8.5.dist-info}/METADATA +1 -1
- {foamlib-0.8.4.dist-info → foamlib-0.8.5.dist-info}/RECORD +6 -6
- {foamlib-0.8.4.dist-info → foamlib-0.8.5.dist-info}/WHEEL +0 -0
- {foamlib-0.8.4.dist-info → foamlib-0.8.5.dist-info}/licenses/LICENSE.txt +0 -0
foamlib/__init__.py
CHANGED
foamlib/_files/_parsing.py
CHANGED
@@ -235,11 +235,12 @@ _TENSOR = (
|
|
235
235
|
| _tensor(TensorKind.SYMM_TENSOR)
|
236
236
|
| _tensor(TensorKind.TENSOR)
|
237
237
|
)
|
238
|
-
|
239
|
-
_IDENTIFIER
|
240
|
-
Word(_IDENTCHARS, _IDENTBODYCHARS, exclude_chars="()")
|
241
|
-
+ Opt(Literal("(") + _IDENTIFIER + Literal(")"))
|
238
|
+
_PARENTHESIZED = Forward()
|
239
|
+
_IDENTIFIER = Combine(
|
240
|
+
Word(_IDENTCHARS, _IDENTBODYCHARS, exclude_chars="()") + Opt(_PARENTHESIZED)
|
242
241
|
)
|
242
|
+
_PARENTHESIZED <<= Combine(Literal("(") + (_PARENTHESIZED | _IDENTIFIER) + Literal(")"))
|
243
|
+
|
243
244
|
_DIMENSIONED = (Opt(_IDENTIFIER) + _DIMENSIONS + _TENSOR).set_parse_action(
|
244
245
|
lambda tks: Dimensioned(*reversed(tks.as_list()))
|
245
246
|
)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
foamlib/__init__.py,sha256=
|
1
|
+
foamlib/__init__.py,sha256=vhMMDd4SJsEtAYoKY35ByJmFCQcyDMEb-WpdS8ERF3g,452
|
2
2
|
foamlib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
foamlib/_cases/__init__.py,sha256=_A1TTHuQfS9FH2_33lSEyLtOJZGFHZBco1tWJCVOHks,358
|
4
4
|
foamlib/_cases/_async.py,sha256=onECxRLQCF7Kd-GeuLqH_Xv3gbMMhKOSbFaUG5Ttgmk,7822
|
@@ -11,10 +11,10 @@ foamlib/_cases/_util.py,sha256=tK4SM5WT3eEgGsFLnidIySbom1qowBAua9z13gipKJk,1518
|
|
11
11
|
foamlib/_files/__init__.py,sha256=q1vkjXnjnSZvo45jPAICpWeF2LZv5V6xfzAR6S8fS5A,96
|
12
12
|
foamlib/_files/_files.py,sha256=V740S36NVunULv8pnyEsJ7lIWbSjk_-LwbP7BBqFsO0,15404
|
13
13
|
foamlib/_files/_io.py,sha256=BGbbm6HKxL2ka0YMCmHqZQZ1R4PPQlkvWWb4FHMAS8k,2217
|
14
|
-
foamlib/_files/_parsing.py,sha256=
|
14
|
+
foamlib/_files/_parsing.py,sha256=uM9eD67Coo5K-F2EWkbzLfpdTr56mUbLw2kE8Q94-PE,13549
|
15
15
|
foamlib/_files/_serialization.py,sha256=PvMzNyTja6OKT_GUfExTulx9nMLBjfu0-9yThCKbvxs,5227
|
16
16
|
foamlib/_files/_types.py,sha256=m-fFjJnS4sFSavDsijlXpAfEhnbh10RBumSHAT0GOgQ,3408
|
17
|
-
foamlib-0.8.
|
18
|
-
foamlib-0.8.
|
19
|
-
foamlib-0.8.
|
20
|
-
foamlib-0.8.
|
17
|
+
foamlib-0.8.5.dist-info/METADATA,sha256=H5RgbkxMQZf-PG38gx3Ckhu3q6eqOYndn457-htff84,7968
|
18
|
+
foamlib-0.8.5.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
19
|
+
foamlib-0.8.5.dist-info/licenses/LICENSE.txt,sha256=5Dte9TUnLZzPRs4NQzl-Jc2-Ljd-t_v0ZR5Ng5r0UsY,35131
|
20
|
+
foamlib-0.8.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|