yuce/pyswip
PySwip is a Python-Prolog interface that enables querying SWI-Prolog in your Python programs.
Leverages SWI-Prolog's shared library via ctypes for zero-compilation installation, eliminating native build dependencies. Offers multiple query interfaces—from high-level `Prolog.query()` for straightforward fact retrieval to low-level foreign function registration for embedding Python callbacks directly in Prolog rules. Supports both dynamic assertions and loading external knowledge bases from .pl files.
545 stars and 13,869 monthly downloads. Used by 1 other package. Available on PyPI.
Stars
545
Forks
105
Language
Python
License
MIT
Category
Last pushed
Feb 15, 2026
Monthly downloads
13,869
Commits (30d)
0
Reverse dependents
1
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/yuce/pyswip"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
lab-v2/pyreason
An explainable inference software supporting annotated, real valued, graph based and temporal logic
TweetyProjectTeam/TweetyProject
TweetyProject is a collection of Java libraries that implement approaches to different areas of...
pushkar/ABAGAIL
The library contains a number of interconnected Java packages that implement machine learning...
amrinderarora/ai
Classical AI algorithms. Cutting edge, since 1960s. Amrinder Arora
leoprover/scala-tptp-parser
A parser for the TPTP logic languages for automated theorem proving written in Scala