foamlib 0.4.0__py3-none-any.whl → 0.4.1__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 -1
- {foamlib-0.4.0.dist-info → foamlib-0.4.1.dist-info}/METADATA +1 -1
- {foamlib-0.4.0.dist-info → foamlib-0.4.1.dist-info}/RECORD +7 -7
- {foamlib-0.4.0.dist-info → foamlib-0.4.1.dist-info}/WHEEL +1 -1
- {foamlib-0.4.0.dist-info → foamlib-0.4.1.dist-info}/LICENSE.txt +0 -0
- {foamlib-0.4.0.dist-info → foamlib-0.4.1.dist-info}/top_level.txt +0 -0
foamlib/__init__.py
CHANGED
foamlib/_files/_parsing.py
CHANGED
@@ -14,6 +14,7 @@ else:
|
|
14
14
|
|
15
15
|
from pyparsing import (
|
16
16
|
CharsNotIn,
|
17
|
+
Combine,
|
17
18
|
Dict,
|
18
19
|
Forward,
|
19
20
|
Group,
|
@@ -134,7 +135,10 @@ _DIMENSIONS = (
|
|
134
135
|
Literal("[").suppress() + common.number * 7 + Literal("]").suppress()
|
135
136
|
).set_parse_action(lambda tks: FoamFileBase.DimensionSet(*tks))
|
136
137
|
_TENSOR = _list_of(common.number) | common.number
|
137
|
-
_IDENTIFIER =
|
138
|
+
_IDENTIFIER = Combine(
|
139
|
+
Word(identchars + "$", printables, exclude_chars="{(;)}")
|
140
|
+
+ Opt(Literal("(") + Word(printables, exclude_chars="{(;)}") + Literal(")"))
|
141
|
+
)
|
138
142
|
_DIMENSIONED = (Opt(_IDENTIFIER) + _DIMENSIONS + _TENSOR).set_parse_action(
|
139
143
|
lambda tks: FoamFileBase.Dimensioned(*reversed(tks.as_list()))
|
140
144
|
)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
foamlib/__init__.py,sha256=
|
1
|
+
foamlib/__init__.py,sha256=Lm0oAsj1KsJFBiIAaNSSE231t6g92HybfoXNwBoFUBQ,446
|
2
2
|
foamlib/_util.py,sha256=UMzXmTFgvbp46w6k3oEZJoYC98pFgEK6LN5uLOwrlCg,397
|
3
3
|
foamlib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
4
|
foamlib/_cases/__init__.py,sha256=xnQpR64EvFtCh07qnSz7kjQ1IhJXjRDwaZWwQGZhGv4,280
|
@@ -10,10 +10,10 @@ foamlib/_files/__init__.py,sha256=-UqB9YTH6mrJfXCX00kPTAAY20XG64u1MGPw_1ewLVs,14
|
|
10
10
|
foamlib/_files/_base.py,sha256=sy1RP08pdv079KD_UBy7xUYEnXyNK35AiKVcCalYmPU,1873
|
11
11
|
foamlib/_files/_files.py,sha256=2bvl2YZ0bqHpbQV35vzYO7wWNOo_2WDF9LbyLagIvBE,16193
|
12
12
|
foamlib/_files/_io.py,sha256=f_tYI7AqaFsQ8mtK__fEoIUqpYb3YmrI8X5D8updmNM,2084
|
13
|
-
foamlib/_files/_parsing.py,sha256=
|
13
|
+
foamlib/_files/_parsing.py,sha256=eqY3grOnBdeXQLmM418VFKtCrpSd7FnLXuQ8h4mzD2M,8189
|
14
14
|
foamlib/_files/_serialization.py,sha256=3yb9fgjCpDoRfZoLsbZaIFrkZ3vGBzleFRw6IbaZuuY,3408
|
15
|
-
foamlib-0.4.
|
16
|
-
foamlib-0.4.
|
17
|
-
foamlib-0.4.
|
18
|
-
foamlib-0.4.
|
19
|
-
foamlib-0.4.
|
15
|
+
foamlib-0.4.1.dist-info/LICENSE.txt,sha256=5Dte9TUnLZzPRs4NQzl-Jc2-Ljd-t_v0ZR5Ng5r0UsY,35131
|
16
|
+
foamlib-0.4.1.dist-info/METADATA,sha256=u17GpI0WPbXEBVwUo0lJI6J8sApdaTYzwX_DGbPr0rw,5457
|
17
|
+
foamlib-0.4.1.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
18
|
+
foamlib-0.4.1.dist-info/top_level.txt,sha256=ZdVYtetXGwPwyfL-WhlhbTFQGAwKX5P_gXxtH9JYFPI,8
|
19
|
+
foamlib-0.4.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|