PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Logic Programming Python Packages

Python packages with the GitHub topic logic-programming. Sorted by monthly downloads, with stars and forks.
pythological
minikanren

An extensible, lightweight relational/logic programming DSL written in pure Python

1.1M 251 22
pythological
logical-unification

Straightforward unification in Python that's extensible via generic functions.

1.1M 53 7
potassco
clingo

🦉 A grounder and solver for logic programs.

152K 847 102
yuce
pyswip

PySwip is a Python-Prolog interface that enables querying SWI-Prolog in your Python programs.

21K 548 105
simon-kohaut
pyresin

Reactive probabilistic logic programming with Reactive Circuits: exact, incremental inference over asynchronous data streams.

8K 2 0
synalinks
synalog

Logic programming for AI agents: Datalog-family language compiling to optimized SQL

7K 12 0
MesTTo
pymetta

MeTTa, Hyperon's AGI language, based on PeTTa semantics with significant extensions.

5K 0 1
lab-v2
pyreason

An explainable inference software supporting annotated, real valued, graph based and temporal logic

4K 353 41
evgskv
logica

Logica is a logic programming language that compiles to SQL. It runs on DuckDB, Google BigQuery, PostgreSQL and SQLite.

3K 2K 113
andrewgoodchild
tiny-datalog

Datalog as an executable textbook — one readable engine and supporting lessons.

2K 1 0
knowsys
nemo-python

A fast in-memory rule engine

2K 306 21
potassco
clingo-funasp

🦉 A grounder and solver for logic programs.

1K 847 102
LukasZahradnik
neuralogic

PyNeuraLogic lets you use Python to create Differentiable Logic Programs

1K 313 25
Auctalis
nocturnusai

Verified knowledge for AI agents. Compress context, extract and store facts, define rules, and ask questions — get deterministic answers with proof, not LLM guesses. Connect agents via MCP, Python SDK, TypeSc

816 3 0
bramucas
xclingo

A tool for explainability and debugging in Answer Set Programming.

726 17 6
markomanninen
calchylus

Lambda Calculus with Hy - Docs: http://calchylus.readthedocs.io/

575 3 0
BrainyBlaze
pyxlog

XLOG is a GPU-native logic programming language for unified symbolic reasoning. GPU-accelerated Datalog engine with probabilistic inference, inductive logic programmimg, and neural-symbolic integration.

519 5 0
mnoorfawi
pytholog

Python library that enables using prolog syntax and logic programming in python

482 131 22
ShiJbey
drolta

A Datalog-inspired query language for expressive queries against SQLite databases in Python

387 0 0
rikarazome
prolog-reasoner

SWI-Prolog as a logic calculator for LLMs — MCP server and Python library

267 12 1
reasoned-ai
pynorm

Neural Logic Programming Language

252 9 1
thesofakillers
iclingo

🔴🟢🔵 clingo kernel for Jupyter

192 7 1
RenatoGeh
pasp-plp

Differentiable probabilistic answer set programming

173 32 5
linkml
linkml-datalog

Translates LinkML schemas into Datalog programs and executes them using Souffle, enabling advanced validation and inference over instance data. ALPHA.

168 21 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology