foamlib 0.4.0__tar.gz → 0.4.1__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 (24) hide show
  1. {foamlib-0.4.0 → foamlib-0.4.1}/PKG-INFO +1 -1
  2. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/__init__.py +1 -1
  3. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_files/_parsing.py +5 -1
  4. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib.egg-info/PKG-INFO +1 -1
  5. {foamlib-0.4.0 → foamlib-0.4.1}/LICENSE.txt +0 -0
  6. {foamlib-0.4.0 → foamlib-0.4.1}/README.md +0 -0
  7. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_cases/__init__.py +0 -0
  8. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_cases/_async.py +0 -0
  9. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_cases/_base.py +0 -0
  10. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_cases/_sync.py +0 -0
  11. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_cases/_util.py +0 -0
  12. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_files/__init__.py +0 -0
  13. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_files/_base.py +0 -0
  14. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_files/_files.py +0 -0
  15. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_files/_io.py +0 -0
  16. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_files/_serialization.py +0 -0
  17. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/_util.py +0 -0
  18. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib/py.typed +0 -0
  19. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib.egg-info/SOURCES.txt +0 -0
  20. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib.egg-info/dependency_links.txt +0 -0
  21. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib.egg-info/requires.txt +0 -0
  22. {foamlib-0.4.0 → foamlib-0.4.1}/foamlib.egg-info/top_level.txt +0 -0
  23. {foamlib-0.4.0 → foamlib-0.4.1}/pyproject.toml +0 -0
  24. {foamlib-0.4.0 → foamlib-0.4.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foamlib
3
- Version: 0.4.0
3
+ Version: 0.4.1
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,6 +1,6 @@
1
1
  """A Python interface for interacting with OpenFOAM."""
2
2
 
3
- __version__ = "0.4.0"
3
+ __version__ = "0.4.1"
4
4
 
5
5
  from ._cases import (
6
6
  AsyncFoamCase,
@@ -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 = Word(identchars + "$", printables, exclude_chars="{;}")
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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foamlib
3
- Version: 0.4.0
3
+ Version: 0.4.1
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
File without changes
File without changes