PyBoolector
Python wrapper around the Boolector SMT solver
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 pyboolectoruv
uv add pyboolectorpoetry
poetry add pyboolectorInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
cvc5cvc5 is a satisfiability modulo theories (SMT)…
unclear · top 15,000 on PyPI
pycosatProvides efficient Python bindings to PicoSAT,…
permissive · top 15,000 on PyPI
python-satPySAT wraps modern Boolean satisfiability…
permissive · top 15,000 on PyPI
z3-solverZ3 is a theorem prover and SMT (satisfiability…
permissive · top 5,000 on PyPI
simplesatSolves package dependency resolution using…
permissive · top 15,000 on PyPI
pyvcgPyVCG generates verification conditions for SMT…
copyleft · top 15,000 on PyPI
claripyClaripy is an abstraction layer for constraint…
permissive · top 5,000 on PyPI
crosshair-toolCrossHair uses symbolic execution and SMT…
permissive · top 15,000 on PyPI
pybammsolverspybammsolvers provides a Python interface to…
unclear · top 15,000 on PyPI
optlangOptlang formulates and solves linear,…
permissive · top 15,000 on PyPI