foamlib 0.1.14__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foamlib
3
- Version: 0.1.14
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
@@ -1,4 +1,4 @@
1
- __version__ = "0.1.14"
1
+ __version__ = "0.1.15"
2
2
 
3
3
  from ._cases import FoamCase, AsyncFoamCase, FoamTimeDirectory, FoamCaseBase
4
4
  from ._dictionaries import (
@@ -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
- for key in self._cmd(["-keywords"]).splitlines():
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.14
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
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