$npx skillfedfor your agent

problog

ProbLog2: Probabilistic Logic Programming toolbox

Worth itPyPI Artificial IntelligenceReleased Mar 2026302.5K downloads / moApache Software LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — problog-2.2.10-py3-none-any.whl
v2.2.10 · released 2026-03-18 · 1 runtime deps: setuptools

Yes. ProbLog is actively maintained, has no known vulnerabilities, installs with low friction, and is licensed permissively. It fills a specific niche in probabilistic logic programming with a mature codebase (first released in 2015) and clear documentation. Install it if you need to combine logic programming with probabilistic reasoning; skip it if you're looking for general-purpose Bayesian inference or constraint solving.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction; ships as a pure Python wheel with only setuptools as a runtime dependency.
  • Actively maintained with a release 149 days ago.

License · maintenance · safety

Apache Software License (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes.

last release 2026-03-18 (149 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 302,512 downloads/mo, #7,821 on PyPI

Verify before relying

pip install problog

from problog.program import PrologString
from problog.engine import DefaultEngine

program = PrologString("""
0.5::heads.
query(heads).
""")

result = DefaultEngine().prepare(program).evaluate()
  • Whether the package supports Java embedding as claimed in the description excerpt
  • Whether CSV and SQLite integration work out-of-the-box or require optional dependencies
  • Performance characteristics for large-scale probabilistic programs
Same gist for agents: .md · .json

What it is and what it does

ProbLog is a Python package for probabilistic logic programming that lets you write logic programs where facts can be annotated with probabilities. It solves inference problems by converting programs and queries into weighted Boolean formulas, then using algorithms from graphical models and knowledge compilation to compute answers. The package handles tasks like computing marginal probabilities given evidence and learning from partial interpretations.

You can represent knowledge bases as Prolog/Datalog facts, CSV files, SQLite tables, or Python functions. It's designed for situations where you need to encode both complex interactions between components and the inherent uncertainties in real-world data. The package is actively maintained, supports Python 3.8 through 3.12, and installs cleanly with minimal dependencies.

Use it for

  • Build probabilistic reasoning systems that combine logical rules with uncertain facts to compute outcome probabilities
  • Learn probabilistic logic programs from partial interpretations or labeled examples in AI/ML workflows
  • Model real-world systems with both deterministic rules and probabilistic components (e.g., sensor fusion, diagnosis)
  • Perform inference over knowledge bases stored in Prolog, CSV, or SQLite with probability annotations
  • Reduce probabilistic inference to weighted model counting for integration with knowledge compilation solvers

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

ProbLog is actively maintained, has no known vulnerabilities, installs with low friction, and is licensed permissively. It fills a specific niche in probabilistic logic programming with a mature codebase (first released in 2015) and clear documentation. Install it if you need to combine logic programming with probabilistic reasoning; skip it if you're looking for general-purpose Bayesian inference or constraint solving.

Install

problog on PyPI

Before you install

Low install friction; ships as a pure Python wheel with only setuptools as a runtime dependency. Actively maintained with a release 149 days ago.

License in practice

Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes.

Quickstart

pip install problog

from problog.program import PrologString
from problog.engine import DefaultEngine

program = PrologString("""
0.5::heads.
query(heads).
""")

result = DefaultEngine().prepare(program).evaluate()

Verify before relying

  • Whether the package supports Java embedding as claimed in the description excerpt
  • Whether CSV and SQLite integration work out-of-the-box or require optional dependencies
  • Performance characteristics for large-scale probabilistic programs

Package facts

LicenseApache Software License permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
setuptools
MaintenanceActively maintained 149 days since the last release
First released
Downloads302,512 / month, #7,821 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PrologProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/Engineering :: Artificial Intelligence

Evidence: problog-2.2.10-py3-none-any.whl

Tags

Capabilities
probabilistic logic programmingprolog with probabilitiesweighted model countingprobabilistic inferencelogic program uncertaintybayesian logic programmingknowledge compilation
Topics
logic-programmingprobabilistic-inferenceknowledge-representation
PyPI keywords
prologprobabilisticlogic

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “probabilistic logic programming”

  • problogProbLog is a probabilistic logic programming toolbox that combines…
  • pyro-pplPyro is a deep probabilistic programming library built on PyTorch…
  • numpyroNumPyro is a probabilistic programming library that uses JAX for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also tensorflow-probability · pyAgrum-nightly · pyjpt · pyro-ppl · pgmpy · tfp-nightly · preliz · properscoring · numpyro · pymc3

Further reading