$npx skillfedfor your agent

python-sat

A Python library for prototyping with SAT oracles

With conditionsPyPI MathematicsReleased Aug 2026281.8K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — python_sat-1.9.dev14-cp310-cp310-macosx_10_9_x86_64.whl · python_sat-1.9.dev14-cp310-cp310-macosx_11_0_arm64.whl · python_sat-1.9.dev14-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
v1.9.dev14 · released 2026-08-14 · 1 runtime deps: six

Yes, if you need to prototype SAT-based algorithms or build tools that rely on SAT solving. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Medium install friction from native compilation is a minor trade-off for access to modern solvers. Not recommended if you only need a pure-Python SAT solver or have no need for low-level solver integration.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a C compiler and build tools to compile native wheels for your platform during installation.
  • Medium install friction due to compiled wheel distributions across multiple Python versions and platforms.
  • The package is actively maintained with a recent release and a stable repository.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.

last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 460 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 281,820 downloads/mo, #8,092 on PyPI

Verify before relying

pip install python-sat

import python_sat

# Create and solve a SAT problem
# See https://pysathq.github.io for detailed usage examples
  • Which specific SAT solvers are bundled or available through the package
  • Whether the package supports incremental solving workflows
  • Performance characteristics compared to calling solvers directly
  • Concrete API examples for cardinality and pseudo-Boolean encodings
Same gist for agents: .md · .json

What it is and what it does

PySAT is a Python wrapper around state-of-the-art Boolean satisfiability solvers, designed for researchers and developers who need to prototype algorithms that rely on SAT solving. It abstracts the complexity of calling low-level solver implementations by providing a simple Python interface, and includes support for cardinality and pseudo-Boolean constraint encodings. The package is intended for building higher-level tools—MaxSAT solvers, MUS/MCS extractors, or domain-specific applications—that repeatedly invoke a SAT oracle as part of their logic.

The library depends only on six and is actively maintained. Installation requires compilation of native wheels, which are available across macOS, Linux, and Windows architectures. It has no known security vulnerabilities and carries a permissive MIT license.

Use it for

  • Prototype a MaxSAT solver that iteratively calls a SAT oracle to find optimal assignments
  • Extract minimal unsatisfiable subsets or minimal correction sets from constraint problems
  • Encode cardinality constraints and solve combinatorial optimization problems in Python
  • Build a verification or model-checking tool that relies on SAT solving as a core component
  • Experiment with SAT-based algorithms for planning, scheduling, or configuration problems

Worth the install?

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

With conditions

Yes, if you need to prototype SAT-based algorithms or build tools that rely on SAT solving.

The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Medium install friction from native compilation is a minor trade-off for access to modern solvers. Not recommended if you only need a pure-Python SAT solver or have no need for low-level solver integration.

Install

python-sat on PyPI

Before you install

Medium install friction due to compiled wheel distributions across multiple Python versions and platforms. The package is actively maintained with a recent release and a stable repository.

Requires a C compiler and build tools to compile native wheels for your platform during installation.

License in practice

MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions.

Quickstart

pip install python-sat

import python_sat

# Create and solve a SAT problem
# See https://pysathq.github.io for detailed usage examples

Verify before relying

  • Which specific SAT solvers are bundled or available through the package
  • Whether the package supports incremental solving workflows
  • Performance characteristics compared to calling solvers directly
  • Concrete API examples for cardinality and pseudo-Boolean encodings

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
six
MaintenanceActively maintained 0 days since the last release
Last repo commit
First released
Downloads281,820 / month, #8,092 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: python_sat-1.9.dev14-cp310-cp310-macosx_10_9_x86_64.whl; python_sat-1.9.dev14-cp310-cp310-macosx_11_0_arm64.whl; python_sat-1.9.dev14-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; python_sat-1.9.dev14-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; python_sat-1.9.dev14-cp310-cp310-musllinux_1_2_aarch64.whl; python_sat-1.9.dev14-cp310-cp310-musllinux_1_2_x86_64.whl; python_sat-1.9.dev14-cp310-cp310-win_amd64.whl; python_sat-1.9.dev14-cp311-cp311-macosx_10_9_x86_64.whl; python_sat-1.9.dev14-cp311-cp311-macosx_11_0_arm64.whl; python_sat-1.9.dev14-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; python_sat-1.9.dev14-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; python_sat-1.9.dev14-cp311-cp311-musllinux_1_2_aarch64.whl; python_sat-1.9.dev14-cp311-cp311-musllinux_1_2_x86_64.whl; python_sat-1.9.dev14-cp311-cp311-win_amd64.whl; python_sat-1.9.dev14-cp312-cp312-macosx_10_13_x86_64.whl; python_sat-1.9.dev14-cp312-cp312-macosx_11_0_arm64.whl; python_sat-1.9.dev14-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; python_sat-1.9.dev14-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; python_sat-1.9.dev14-cp312-cp312-musllinux_1_2_aarch64.whl; python_sat-1.9.dev14-cp312-cp312-musllinux_1_2_x86_64.whl

Tags

Capabilities
SAT solver pythonboolean satisfiability libraryMaxSAT solverMUS extractorconstraint satisfaction pythonSAT oracle wrappercardinality encoding
Topics
sat-solvingconstraint-satisfactionresearch-tool

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 › “SAT solver python”

  • python-satPySAT wraps modern Boolean satisfiability solvers and provides…
  • z3-solverZ3 is a theorem prover and SMT (satisfiability modulo theories)…
  • pycosatProvides efficient Python bindings to PicoSAT, a C-based Boolean…

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

More Mathematics packages

networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
kiwisolver Worth it
PyPI · Mathematics · released Mar 2026

kiwisolver is a Python binding to a fast C++ implementation of the Cassowary constraint solver, enabling you to solve systems of linear constraints and inequalities.

Install it if you need to solve constraint systems; skip it if you only need simple linear algebra.

BSD-3-Clausecompiled wheel · 3.10+
205.5Mdownloads / mo
sympy Worth it
PyPI · Scientific/Engineering · released Apr 2025

SymPy is a Python library for symbolic mathematics, performing algebraic manipulation, calculus, equation solving, and mathematical expression simplification without numerical approximation.

BSD-3-Clausepure Python · 3.9+
196.4Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
torch With conditions
PyPI · Software Development · released Jul 2026

PyTorch provides GPU-accelerated tensor computation and automatic differentiation for building and training deep neural networks in Python.

Apache-2.0 AND Apache-2.0 WITH LLVM-exception AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND MITcompiled wheel · 3.10+
102.5Mdownloads / mo
onnxruntime Worth it
PyPI · Software Development · released Jul 2026

onnxruntime loads and executes Open Neural Network Exchange (ONNX) models with a focus on inference performance across CPUs and accelerators.

Install it if you have ONNX models to run in production or development.

MITcompiled wheel · 3.11+
89.3Mdownloads / mo

See also pycosat · simplesat · PyBoolector · python-constraint · cvc5 · qpsolvers · claripy · clingo · z3-solver · ortools