Metadata-Version: 2.4
Name: krrood
Version: 26.11.0
Summary: A python package for Knowledge Representation and Reasoning systems based on Object Oriented Design: every krrood-* distribution.
Author-email: Abdelrhman Bassiouny <abassiou@uni-bremen.de>, Tom Schierenbeck <tom_sch@uni-bremen.de>
License-Expression: LGPL-3.0-only
Project-URL: Homepage, https://cram2.github.io/cognitive_robot_abstract_machine/krrood/intro.html
Project-URL: Source, https://github.com/cram2/cognitive_robot_abstract_machine
Project-URL: Bug Tracker, https://github.com/cram2/cognitive_robot_abstract_machine/issues
Project-URL: Changelog, https://github.com/cram2/cognitive_robot_abstract_machine/blob/main/CHANGELOG.md
Keywords: Knowledge-representation,reasoning,ontology,orm,query-langauge,database,python
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: krrood-core==26.11.0
Requires-Dist: krrood-serialization==26.11.0
Requires-Dist: krrood-code-generation==26.11.0
Requires-Dist: krrood-symbolic-math==26.11.0
Requires-Dist: krrood-rustworkx-utils==26.11.0
Requires-Dist: krrood-eql==26.11.0
Requires-Dist: krrood-planning==26.11.0
Requires-Dist: krrood-ormatic==26.11.0
Requires-Dist: krrood-probabilistic==26.11.0
Requires-Dist: krrood-rdr==26.11.0
Requires-Dist: krrood-ontomatic==26.11.0
Requires-Dist: krrood-development-tools==26.11.0
Requires-Dist: krrood-random-events==26.11.0
Requires-Dist: krrood-probabilistic-models==26.11.0
Requires-Dist: black
Requires-Dist: owlrl
Requires-Dist: pygraphviz>=1.7
Requires-Dist: pyparsing>=3.2.3
Requires-Dist: ucimlrepo>=0.0.7
Requires-Dist: pdbpp
Requires-Dist: pydot
Requires-Dist: graphviz
Provides-Extra: dev
Requires-Dist: pytest<8.0.0,>=7.0.0; extra == "dev"
Requires-Dist: mypy>=1.8; extra == "dev"
Requires-Dist: matplotlib; extra == "dev"
Requires-Dist: igraph; extra == "dev"
Requires-Dist: pyyaml; extra == "dev"
Provides-Extra: visualization
Requires-Dist: krrood-rustworkx-utils[visualization]==26.11.0; extra == "visualization"
Dynamic: license-file

# KRROOD
KRROOD stands for Knowlege Representation & Reasoning Through Object Oriented Design. This project aims to provide a
unified way to represent and reason about knowledge in Python using the principles of object oriented design.

This project also is consistent with many of the ideas mentioned in the book
[Knowledge Representation and Reasoning](https://www.oreilly.com/library/view/knowledge-representation-and/9781558609327/).
And of course the books about object oriented design.

## Installation

```bash
pip install krrood
```
`krrood` installs every krrood distribution. Each part can also be installed on its own,
and every part keeps its `krrood.*` import path:

| distribution | modules |
|---|---|
| `krrood-core` | `krrood.class_diagrams`, `krrood.exceptions`, `krrood.patterns`, `krrood.singleton`, `krrood.source_analysis`, `krrood.symbol_graph`, `krrood.utils`, `krrood.bounds` |
| `krrood-serialization` | `krrood.adapters` |
| `krrood-code-generation` | `krrood.code_generation` |
| `krrood-symbolic-math` | `krrood.symbolic_math` |
| `krrood-rustworkx-utils` | `krrood.rustworkx_utils` |
| `krrood-eql` | `krrood.entity_query_language`, `krrood.inheritance_path_length` |
| `krrood-planning` | `krrood.planning` |
| `krrood-ormatic` | `krrood.ormatic` |
| `krrood-probabilistic` | `krrood.parametrization` |
| `krrood-rdr` | `krrood.ripple_down_rules` |
| `krrood-ontomatic` | `krrood.ontomatic` |
| `krrood-development-tools` | `krrood.development_tools` and the `krrood` command |
| `krrood-random-events` | `krrood.random_events` |
| `krrood-probabilistic-models` | `krrood.probabilistic_models` |

The graph visualizers need the `visualization` extra:
```bash
pip install "krrood[visualization]"
```

## Entity Query Language (EQL)

EQL is a relational query language that is pythonic, and intuitive.

The interface side of EQL is inspired by [euROBIN](https://www.eurobin-project.eu/) entity query language white paper.

## Ormatic

## PyCharm plugin

**Python Role Lens**, a PyCharm/IntelliJ plugin that teaches the IDE about krrood's `Role`
delegation pattern (completion, type inference, and Go-to-Declaration on delegated attributes),
lives at [`plugins/pycharm/pyroles-pycharm/`](plugins/pycharm/pyroles-pycharm/). It is a
self-contained Gradle project, built and published to the JetBrains Marketplace independently of
the Python workspace.

## Documentation

Read the documentation [here](https://cram2.github.io/cognitive_robot_abstract_machine/krrood/intro.html).
