ReForma 0.1.2__tar.gz → 0.1.3__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.4
2
2
  Name: ReForma
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Python bindings for the RePA/ReForma probabilistic automaton tool
5
5
  Author-email: Joshua Dourado <joshuadourado@ua.pt>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ReForma
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: Python bindings for the RePA/ReForma probabilistic automaton tool
5
5
  Author-email: Joshua Dourado <joshuadourado@ua.pt>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ReForma"
7
- version = "0.1.2"
7
+ version = "0.1.3"
8
8
  description = "Python bindings for the RePA/ReForma probabilistic automaton tool"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -77,7 +77,7 @@ class SimulationState:
77
77
 
78
78
 
79
79
  @dataclass
80
- class reformaModel:
80
+ class ReFormaModel:
81
81
  """
82
82
  Holds the source code of a loaded reforma model and metadata.
83
83
  """
@@ -85,12 +85,12 @@ class reformaModel:
85
85
  name: str = ""
86
86
 
87
87
  @classmethod
88
- def from_file(cls, path: str) -> "reformaModel":
88
+ def from_file(cls, path: str) -> "ReFormaModel":
89
89
  with open(path, "r", encoding="utf-8") as f:
90
90
  source = f.read()
91
91
  name = path.split("/")[-1].replace(".r", "")
92
92
  return cls(source=source, name=name)
93
93
 
94
94
  @classmethod
95
- def from_string(cls, source: str, name: str = "inline") -> "reformaModel":
95
+ def from_string(cls, source: str, name: str = "inline") -> "ReFormaModel":
96
96
  return cls(source=source, name=name)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes