Skip to main content

idp-engine is a reasoning engine for knowledge represented using the FO(·) language. FO(·) (aka FO-dot) is First Order logic, with various extensions to make it more expressive: types, equality, arithmetic, inductive definitions, aggregates, and intensional objects. The idp-engine uses the Z3 SMT solver as a back-end.

It is developed by the Knowledge Representation group at KU Leuven in Leuven, Belgium, and made available under the GNU LGPL v3 License.

See more information at www.IDP-Z3.be.

Installation

idp_engine can be installed from pypi.org, e.g. using pip:

   pip install idp_engine

Get started

The following code illustrates how to run inferences on a knowledge base.

    from idp_engine import IDP, model_expand
    kb = IDP.parse("path/to/file.idp")
    T, S = kb.get_blocks("T, S")
    for model in model_expand(T,S):
        print(model)

For more information, please read the documentation.

Contribute

Contributions are welcome! The repository is on GitLab.

Metadata

Release files for idp-engine 0.12.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for idp-engine 0.12.1
File Size Uploaded
idp_engine-0.12.1.tar.gz 110.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for idp-engine 0.12.1
File Interpreter ABI Platform
idp_engine-0.12.1-py3-none-any.whl Python 3 none any Details

Total release size: 236.9 kB

Release files / idp_engine-0.12.1.tar.gz

Download URL idp_engine-0.12.1.tar.gz
Size 110.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fc3380cd4eaf179fcf9494399062da66da3f05e1d3381be7fad1ec81a8809f1f
BLAKE2b-256 checksum
How to use checksums
58f3b1856c9a2a689352367fcaecb96f1f3fb10e5689e42f95ba3d35134dbc8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.5 Linux/7.0.10-arch1-1

Release files / idp_engine-0.12.1-py3-none-any.whl

Download URL idp_engine-0.12.1-py3-none-any.whl
Size 126.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ff7e87f6bec8745e920776e19cc32cd1dfed72cbe131931290f7f5497095899
BLAKE2b-256 checksum
How to use checksums
2dacf4dd47d2cd75b999e29f57fb06b4ef50e0de58c095722699729106397676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.5 Linux/7.0.10-arch1-1

Release history Release notifications | RSS feed

This release

0.12.1 This release

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.10.9

2 release files

0.10.4

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page