foamlib 0.1.13__tar.gz → 0.1.15__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.
- {foamlib-0.1.13 → foamlib-0.1.15}/PKG-INFO +2 -2
- {foamlib-0.1.13 → foamlib-0.1.15}/README.md +1 -1
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib/__init__.py +1 -1
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib/_dictionaries.py +3 -5
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib.egg-info/PKG-INFO +2 -2
- {foamlib-0.1.13 → foamlib-0.1.15}/LICENSE.txt +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib/_cases.py +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib/_subprocesses.py +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib/py.typed +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib.egg-info/SOURCES.txt +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib.egg-info/dependency_links.txt +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib.egg-info/requires.txt +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/foamlib.egg-info/top_level.txt +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/pyproject.toml +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/setup.cfg +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/tests/test_basic.py +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/tests/test_dictionaries.py +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/tests/test_flange.py +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/tests/test_flange_async.py +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/tests/test_pitz.py +0 -0
- {foamlib-0.1.13 → foamlib-0.1.15}/tests/test_pitz_async.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: foamlib
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.15
|
4
4
|
Summary: A Python interface for interacting with OpenFOAM
|
5
5
|
Author-email: "Gabriel S. Gerlero" <ggerlero@cimec.unl.edu.ar>
|
6
6
|
Project-URL: Homepage, https://github.com/gerlero/foamlib
|
@@ -54,7 +54,7 @@ Requires-Dist: numpy<2,>=1; extra == "docs"
|
|
54
54
|
[](https://github.com/psf/black)
|
55
55
|
[](https://pypi.org/project/foamlib/)
|
56
56
|
[](https://pypi.org/project/foamlib/)
|
57
|
-
|
57
|
+
[](https://hub.docker.com/r/gerlero/foamlib/)
|
58
58
|
|
59
59
|
**foamlib** provides a simple, modern and ergonomic Python interface for interacting with [OpenFOAM](https://www.openfoam.com).
|
60
60
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
[](https://github.com/psf/black)
|
8
8
|
[](https://pypi.org/project/foamlib/)
|
9
9
|
[](https://pypi.org/project/foamlib/)
|
10
|
-
|
10
|
+
[](https://hub.docker.com/r/gerlero/foamlib/)
|
11
11
|
|
12
12
|
**foamlib** provides a simple, modern and ergonomic Python interface for interacting with [OpenFOAM](https://www.openfoam.com).
|
13
13
|
|
@@ -32,7 +32,7 @@ from pyparsing import (
|
|
32
32
|
QuotedString,
|
33
33
|
Word,
|
34
34
|
common,
|
35
|
-
|
35
|
+
printables,
|
36
36
|
)
|
37
37
|
|
38
38
|
FoamDimensionSet = namedtuple(
|
@@ -100,7 +100,7 @@ _ITEM <<= (
|
|
100
100
|
_FIELD | _LIST | _DIMENSIONED | _DIMENSIONS | common.number | _YES | _NO | _TOKEN
|
101
101
|
)
|
102
102
|
|
103
|
-
_TOKENS = (
|
103
|
+
_TOKENS = (QuotedString('"', unquote_results=False) | Word(printables))[
|
104
104
|
1, ...
|
105
105
|
].set_parse_action(lambda s, loc, tks: " ".join(tks))
|
106
106
|
|
@@ -286,9 +286,7 @@ class FoamDictionary(MutableMapping[str, Union[FoamValue, "FoamDictionary"]]):
|
|
286
286
|
self._cmd(["-remove"], key=key)
|
287
287
|
|
288
288
|
def __iter__(self) -> Iterator[str]:
|
289
|
-
|
290
|
-
if not key.startswith('"'):
|
291
|
-
yield key
|
289
|
+
yield from self._cmd(["-keywords"]).splitlines()
|
292
290
|
|
293
291
|
def __len__(self) -> int:
|
294
292
|
return len(list(iter(self)))
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: foamlib
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.15
|
4
4
|
Summary: A Python interface for interacting with OpenFOAM
|
5
5
|
Author-email: "Gabriel S. Gerlero" <ggerlero@cimec.unl.edu.ar>
|
6
6
|
Project-URL: Homepage, https://github.com/gerlero/foamlib
|
@@ -54,7 +54,7 @@ Requires-Dist: numpy<2,>=1; extra == "docs"
|
|
54
54
|
[](https://github.com/psf/black)
|
55
55
|
[](https://pypi.org/project/foamlib/)
|
56
56
|
[](https://pypi.org/project/foamlib/)
|
57
|
-
|
57
|
+
[](https://hub.docker.com/r/gerlero/foamlib/)
|
58
58
|
|
59
59
|
**foamlib** provides a simple, modern and ergonomic Python interface for interacting with [OpenFOAM](https://www.openfoam.com).
|
60
60
|
|
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
|
File without changes
|
File without changes
|
File without changes
|