ripple-down-rules 0.4.82__tar.gz → 0.4.83__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.
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/PKG-INFO +1 -1
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/pyproject.toml +1 -1
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/prompt.py +7 -3
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/PKG-INFO +1 -1
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/LICENSE +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/README.md +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/setup.cfg +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/__init__.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datasets.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datastructures/__init__.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datastructures/callable_expression.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datastructures/case.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datastructures/dataclasses.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datastructures/enums.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/experts.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/failures.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/helpers.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/rdr.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/rdr_decorators.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/rules.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/__init__.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/gui.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/ipython_custom_shell.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/object_diagram.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/template_file_creator.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/utils.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/SOURCES.txt +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/dependency_links.txt +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/requires.txt +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/top_level.txt +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_json_serialization.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_object_diagram.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_on_mutagenic.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_rdr.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_rdr_alchemy.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_rdr_decorators.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_rdr_world.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_relational_rdr.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_relational_rdr_alchemy.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_sql_model.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_template_file_creator.py +0 -0
- {ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/test/test_utils.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ripple_down_rules
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.83
|
4
4
|
Summary: Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning.
|
5
5
|
Author-email: Abdelrhman Bassiouny <abassiou@uni-bremen.de>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|
6
6
|
|
7
7
|
[project]
|
8
8
|
name = "ripple_down_rules"
|
9
|
-
version = "0.4.
|
9
|
+
version = "0.4.83"
|
10
10
|
description = "Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning."
|
11
11
|
readme = "README.md"
|
12
12
|
authors = [{ name = "Abdelrhman Bassiouny", email = "abassiou@uni-bremen.de" }]
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/prompt.py
RENAMED
@@ -2,7 +2,11 @@ import ast
|
|
2
2
|
import logging
|
3
3
|
from _ast import AST
|
4
4
|
|
5
|
-
|
5
|
+
try:
|
6
|
+
from PyQt6.QtWidgets import QApplication
|
7
|
+
except ImportError:
|
8
|
+
QApplication = None
|
9
|
+
|
6
10
|
from colorama import Fore, Style
|
7
11
|
from pygments import highlight
|
8
12
|
from pygments.formatters.terminal import TerminalFormatter
|
@@ -11,7 +15,7 @@ from typing_extensions import Optional, Tuple
|
|
11
15
|
|
12
16
|
from ..datastructures.callable_expression import CallableExpression, parse_string_to_expression
|
13
17
|
from ..datastructures.dataclasses import CaseQuery
|
14
|
-
from ..datastructures.enums import PromptFor
|
18
|
+
from ..datastructures.enums import PromptFor
|
15
19
|
from .gui import RDRCaseViewer
|
16
20
|
from .ipython_custom_shell import IPythonShell
|
17
21
|
from ..utils import make_list
|
@@ -90,7 +94,7 @@ class UserPrompt:
|
|
90
94
|
prompt_str = f"Give conditions on when can the rule be evaluated for:"
|
91
95
|
case_query.scope.update({'case': case_query.case})
|
92
96
|
shell = None
|
93
|
-
if
|
97
|
+
if self.viewer is None:
|
94
98
|
prompt_str = self.construct_prompt_str_for_shell(case_query, prompt_for, prompt_str)
|
95
99
|
shell = IPythonShell(header=prompt_str, prompt_for=prompt_for, case_query=case_query,
|
96
100
|
code_to_modify=code_to_modify)
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ripple_down_rules
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.83
|
4
4
|
Summary: Implements the various versions of Ripple Down Rules (RDR) for knowledge representation and reasoning.
|
5
5
|
Author-email: Abdelrhman Bassiouny <abassiou@uni-bremen.de>
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datastructures/case.py
RENAMED
File without changes
|
File without changes
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/datastructures/enums.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/rdr_decorators.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules/user_interface/gui.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/SOURCES.txt
RENAMED
File without changes
|
File without changes
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/requires.txt
RENAMED
File without changes
|
{ripple_down_rules-0.4.82 → ripple_down_rules-0.4.83}/src/ripple_down_rules.egg-info/top_level.txt
RENAMED
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
|