skillfed

PyBoolector

Python wrapper around the Boolector SMT solver

pyboolector v3.2.4.19342042739 115.1K downloads/30d#12,267 on PyPI359
Permissive license Abandoned released

What it is and what it does

pyboolector is a Python binding for Boolector, an SMT solver specialized in reasoning about fixed-size bit-vectors, arrays, and uninterpreted functions. It exposes Boolector's API to Python, allowing developers to programmatically construct satisfiability problems, assert constraints, and query solutions. The solver supports incremental solving via push and pop commands and solving under assumptions, making it useful for applications that need to explore multiple related constraint scenarios.

However, Boolector is no longer actively developed—the project is archived, with active development and maintenance having stopped. The description explicitly states that Boolector was succeeded by Bitwuzla. While pyboolector remains installable and functional, it represents a legacy tool; developers considering it should be aware that bug fixes and feature improvements will not be forthcoming.

Use it for:

  • Formal verification of hardware designs by encoding bit-vector constraints and checking satisfiability.
  • Automated testing and constraint-based test case generation for systems with bit-level operations.
  • Symbolic execution engines that need to solve path constraints over bit-vectors and arrays.
  • Academic research on SMT solving, satisfiability, and constraint satisfaction problems.
  • Legacy system integration where existing Boolector-based workflows need Python bindings.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python wrapper around Boolector, a Satisfiability Modulo Theories (SMT) solver for bit-vectors, arrays, and uninterpreted functions supporting SMT-LIB logics.

No, unless you are maintaining legacy code that already depends on pyboolector. The package is functional but the underlying Boolector project is archived and no longer maintained. For new projects requiring SMT solving over bit-vectors, the description recommends Bitwuzla as the active successor. If you must use pyboolector for existing work, be aware that security updates and bug fixes are unlikely.

Install

pyboolector on PyPI

pip

pip install pyboolector

uv

uv add pyboolector

poetry

poetry add pyboolector

Installing PyBoolector

Before you install

Medium install friction due to compiled wheels; prebuilt binaries available for Python 3.8–3.14 on Linux and macOS arm64, but the underlying project is archived and no longer maintained—active development has ceased.

License in practice

Licensed under MIT (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install pyboolector

import pyboolector
# Create solver instance and add constraints
# See examples/api/python/api_usage_examples.py in the Boolector repository

Boolector is archived and no longer actively maintained; the project recommends migrating to Bitwuzla for ongoing support.

Verify before relying

  • Which SAT solver backends (CaDiCaL, CryptoMiniSat, Lingeling, MiniSAT, PicoSAT) are included in prebuilt wheels.
  • Whether incremental solving via push/pop and solving under assumptions is fully functional in the Python API.
  • Current stability and compatibility of pyboolector with modern constraint-solving workflows.
  • Specific API surface and usage patterns available through the Python binding.

Package facts

License not declared (permissive)
Python support not specified
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance abandoned — 274 days since the last release
Last repo commit (repository archived)
First released
Downloads 115,147/month — #12,267 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyboolector-3.2.4.19342042739-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pyboolector-3.2.4.19342042739-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; pyboolector-3.2.4.19342042739-cp310-cp310-manylinux_2_34_x86_64.whl; pyboolector-3.2.4.19342042739-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pyboolector-3.2.4.19342042739-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; pyboolector-3.2.4.19342042739-cp311-cp311-manylinux_2_34_x86_64.whl; pyboolector-3.2.4.19342042739-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pyboolector-3.2.4.19342042739-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; pyboolector-3.2.4.19342042739-cp312-cp312-manylinux_2_34_x86_64.whl; pyboolector-3.2.4.19342042739-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pyboolector-3.2.4.19342042739-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; pyboolector-3.2.4.19342042739-cp313-cp313-manylinux_2_34_x86_64.whl; pyboolector-3.2.4.19342042739-cp314-cp314-macosx_15_0_arm64.whl; pyboolector-3.2.4.19342042739-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pyboolector-3.2.4.19342042739-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; pyboolector-3.2.4.19342042739-cp38-cp38-manylinux_2_34_x86_64.whl; pyboolector-3.2.4.19342042739-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; pyboolector-3.2.4.19342042739-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; pyboolector-3.2.4.19342042739-cp39-cp39-manylinux_2_34_x86_64.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python Modules

Tags

SMT solver pythonsatisfiability modulo theoriesbit-vector solverconstraint solvingformal verificationSAT solver wrappersymbolic reasoning
smt-solverformal-verificationarchived

More Python Modules packages