Skip to main content

Pythonic interface for the Bitwuzla SMT solver

Project description

bitwuzla-pythonic

Pythonic interface for the Bitwuzla SMT solver.

Installation

pip install bitwuzla-pythonic

Usage

Same as z3py / cvc5.pythonic

from bitwuzla_pythonic import *

s = Solver()
a = BitVec('a', 32)
b = BitVec('b', 32)

s.add((a * b ^ 1337) == 291710820)

assert s.check() == sat
m = s.model()
print(m)
# [a = 4003257763, b = 4294967295]

Acknowledgements

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitwuzla_pythonic-1.0.0.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bitwuzla_pythonic-1.0.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file bitwuzla_pythonic-1.0.0.tar.gz.

File metadata

  • Download URL: bitwuzla_pythonic-1.0.0.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bitwuzla_pythonic-1.0.0.tar.gz
Algorithm Hash digest
SHA256 22fe2dd93c6de81fa56a953c0ccacfd4c7ade6cbc6ee8f5a766cbe7762e3c9cd
MD5 0517ac6526117b8e9794d92307666086
BLAKE2b-256 f276efca721d08c734fefcdc1b2cf5b61e30ee213c516927d2426f7625859dcf

See more details on using hashes here.

File details

Details for the file bitwuzla_pythonic-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bitwuzla_pythonic-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for bitwuzla_pythonic-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8b5aa72c76bd9f07d60f771640154c94fcef15e626d4774faf4ce2e9f35abbd
MD5 6a82ba186df4bc257ee0c8ceb17e2bd8
BLAKE2b-256 d8b1d2557f3126d114016554caf2402053723cf568526bc1a607a006d41f3fc9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page