flamapy 2.1.0.dev2__tar.gz → 2.5.0.dev0__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: flamapy
3
- Version: 2.1.0.dev2
3
+ Version: 2.5.0.dev0
4
4
  Summary: Flamapy feature model is a distribution of the flama framework containing all plugins required to analyze feature models. It also offers a richer API and a complete command line interface and documentation.
5
5
  Author-email: Flamapy <flamapy@us.es>
6
6
  License-Expression: GPL-3.0-or-later
@@ -8,10 +8,10 @@ Project-URL: Homepage, https://github.com/flamapy/flamapy-feature-model
8
8
  Requires-Python: >=3.9
9
9
  Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
- Requires-Dist: flamapy-fw~=2.1.0.dev2
12
- Requires-Dist: flamapy-fm~=2.1.0.dev2
13
- Requires-Dist: flamapy-sat~=2.1.0.dev2
14
- Requires-Dist: flamapy-bdd~=2.1.0.dev2
11
+ Requires-Dist: flamapy-fw~=2.5.0.dev0
12
+ Requires-Dist: flamapy-fm~=2.5.0.dev0
13
+ Requires-Dist: flamapy-sat~=2.5.0.dev0
14
+ Requires-Dist: flamapy-bdd~=2.5.0.dev0
15
15
  Provides-Extra: dev
16
16
  Requires-Dist: pytest; extra == "dev"
17
17
  Requires-Dist: pytest-mock; extra == "dev"
@@ -64,6 +64,18 @@ class FLAMAFeatureModel:
64
64
  logger.error("Error: %s", exception)
65
65
  return None
66
66
 
67
+ def language_level(self) -> Union[None, Any]:
68
+ """Return the UVL language level."""
69
+
70
+ try:
71
+ result = self.discover_metamodel.use_operation(
72
+ self.fm_model, "FMLanguageLevel"
73
+ ).get_result()
74
+ return result
75
+ except FlamaException as exception:
76
+ print(f"Error: {exception}")
77
+ return None
78
+
67
79
  def average_branching_factor(self) -> Union[None, float]:
68
80
  """
69
81
  This refers to the average number of child features that a parent feature has in a
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flamapy
3
- Version: 2.1.0.dev2
3
+ Version: 2.5.0.dev0
4
4
  Summary: Flamapy feature model is a distribution of the flama framework containing all plugins required to analyze feature models. It also offers a richer API and a complete command line interface and documentation.
5
5
  Author-email: Flamapy <flamapy@us.es>
6
6
  License-Expression: GPL-3.0-or-later
@@ -8,10 +8,10 @@ Project-URL: Homepage, https://github.com/flamapy/flamapy-feature-model
8
8
  Requires-Python: >=3.9
9
9
  Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
- Requires-Dist: flamapy-fw~=2.1.0.dev2
12
- Requires-Dist: flamapy-fm~=2.1.0.dev2
13
- Requires-Dist: flamapy-sat~=2.1.0.dev2
14
- Requires-Dist: flamapy-bdd~=2.1.0.dev2
11
+ Requires-Dist: flamapy-fw~=2.5.0.dev0
12
+ Requires-Dist: flamapy-fm~=2.5.0.dev0
13
+ Requires-Dist: flamapy-sat~=2.5.0.dev0
14
+ Requires-Dist: flamapy-bdd~=2.5.0.dev0
15
15
  Provides-Extra: dev
16
16
  Requires-Dist: pytest; extra == "dev"
17
17
  Requires-Dist: pytest-mock; extra == "dev"
@@ -0,0 +1,11 @@
1
+ flamapy-fw~=2.5.0.dev0
2
+ flamapy-fm~=2.5.0.dev0
3
+ flamapy-sat~=2.5.0.dev0
4
+ flamapy-bdd~=2.5.0.dev0
5
+
6
+ [dev]
7
+ pytest
8
+ pytest-mock
9
+ prospector
10
+ mypy
11
+ coverage
@@ -4,17 +4,17 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "flamapy"
7
- version = "2.1.0.dev2"
7
+ version = "2.5.0.dev0"
8
8
  description = "Flamapy feature model is a distribution of the flama framework containing all plugins required to analyze feature models. It also offers a richer API and a complete command line interface and documentation."
9
9
  readme = "README.md"
10
10
  license = "GPL-3.0-or-later"
11
11
  authors = [{ name = "Flamapy", email = "flamapy@us.es" }]
12
12
  requires-python = ">=3.9"
13
13
  dependencies = [
14
- "flamapy-fw~=2.1.0.dev2",
15
- "flamapy-fm~=2.1.0.dev2",
16
- "flamapy-sat~=2.1.0.dev2",
17
- "flamapy-bdd~=2.1.0.dev2",
14
+ "flamapy-fw~=2.5.0.dev0",
15
+ "flamapy-fm~=2.5.0.dev0",
16
+ "flamapy-sat~=2.5.0.dev0",
17
+ "flamapy-bdd~=2.5.0.dev0",
18
18
  ]
19
19
 
20
20
  [project.optional-dependencies]
@@ -1,11 +0,0 @@
1
- flamapy-fw~=2.1.0.dev2
2
- flamapy-fm~=2.1.0.dev2
3
- flamapy-sat~=2.1.0.dev2
4
- flamapy-bdd~=2.1.0.dev2
5
-
6
- [dev]
7
- pytest
8
- pytest-mock
9
- prospector
10
- mypy
11
- coverage
File without changes
File without changes
File without changes
File without changes