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

Logic Python Packages

Python packages with the GitHub topic logic. Sorted by monthly downloads, with stars and forks.
timofurrer
tag-expressions

Python implementation of Shunting-yard Algorithm to evaluate logical tag expressions

109K 5 1
ywatanabe1989
scitex-clew

Verifiable knowledge graph for scientific experiments

10K 0 0
lab-v2
pyreason

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

4K 353 41
AbdelrhmanBassiouny
ripple-down-rules

A python implementation of the various ripple down rules versions, including Single Classification (SCRDR), Multi Classification (MCRDR), and Generalised Ripple Down Rules (GRDR).

3K 4 4
bradleypallen
pynmms

pyNMMS — An automated reasoner for the Non-Monotonic Multi-Succedent sequent calculus from Hlobil & Brandom 2025

2K 0 0
fvossel
unicode-fol-kit

Parse, translate, prove and model-check logic formulas in Unicode notation: first-order, modal, description and higher-order logic, one API over a dozen provers, and an MCP server

2K 0 0
knowsys
nemo-python

A fast in-memory rule engine

2K 306 21
sulcantonin
torchmodal

Differentiable modal logic for PyTorch: □ and ♢ as trainable layers over a Kripke structure, with sound interval bounds and a learnable accessibility relation. Oral @ NeSy 2026.

2K 7 1
AbdelrhmanBassiouny
entity-query-language

A relational query language that is pythonic and intuitive.

1K 4 1
freand76
digsim-logic-simulator

An interactive digital logic simulator with verilog support (Yosys)

1K 29 1
sasy-labs
sasy

History-aware AI-agent security policies written in logic (Datalog), enforced on every action

1K 2 0
QuMuLab
nnf

Manipulate NNF (Negation Normal Form) logical sentences

887 20 9
QuMuLab
bauhaus

Build logical theories for SAT solvers on the fly

770 8 2
chanind
tensor-theorem-prover

First-order logic theorem prover supporting unification with approximate vector similarity

745 14 1
chanind
amr-logic-converter

Convert Abstract Meaning Representation (AMR) into first-order logic

681 17 2
whitemech
flloat

From LTLf/LDLf To Automata

627 23 4
reity
circuit

Minimal pure Python library for building and working with logical circuits.

583 6 2
fvossel
unicode-logic-kit

Parse, translate, prove and model-check logic formulas in Unicode notation: first-order, modal, description and higher-order logic, one API over a dozen provers, and an MCP server

577 0 0
python3f
extra-boolean

Boolean data type has two possible truth values to represent logic.

432 0 1
chicolucio
truth-table-generator

truth-table-generator is a tool that allows to generate a truth table

389 75 21
pietrobarbiero
deep-logic

Logic Explained Networks is a python repository implementing explainable-by-design deep learning models.

383 53 10
digitalformallogic
mathesis

Python library for computational formal logic, formal semantics, and theorem proving

323 33 5
pietrobarbiero
torch-explain

PyTorch Explain: Interpretable Deep Learning in Python.

312 175 17
nthparty
circuitry

Embedded domain-specific combinator library for the abstract assembly and automated synthesis of logical circuits.

284 8 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology