Skip to main content

Python bindings for fbool: Boolean function analysis with entanglement, entropy, sensitivity and circuit complexity

Project description

fbool for Python

Python bindings for fbool, a toolkit for analysing Boolean functions through truth tables, partitions, entanglement metrics, sensitivity, spectral properties, certificates, and exact 5-variable circuit data.

from fbool import FBool

f = FBool.majority(5)

print(f.entanglement())
print(f.spectral_entropy())
print(f.minimal_gates())

The package requires Python 3.11 or newer and is backed by the Rust fbool crate.

Install from PyPI:

uv add fbool
pip install fbool

Documentation: https://edugzlez.github.io/fbool/

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

fbool-0.2.0-cp311-abi3-win_amd64.whl (7.0 MB view details)

Uploaded CPython 3.11+Windows x86-64

fbool-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

fbool-0.2.0-cp311-abi3-macosx_11_0_arm64.whl (7.2 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

File details

Details for the file fbool-0.2.0-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: fbool-0.2.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fbool-0.2.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 465eee58ee5a9452b677c138aba5b482016ad97e38e64d5e8ce5626efb1d6347
MD5 6c55a1a2a26b4a1b6553a273267c447d
BLAKE2b-256 74cbfefe8b695a2b5b70874721f9d458ba417e736212640758993a2686837094

See more details on using hashes here.

Provenance

The following attestation bundles were made for fbool-0.2.0-cp311-abi3-win_amd64.whl:

Publisher: publish.yml on edugzlez/fbool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fbool-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for fbool-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d57833eab87dcc42b46f8f69e256458291457500f3e6667a52b54bf1e392d0c1
MD5 fbbae1456797b470d1f044ee2ccdcf57
BLAKE2b-256 af4fea53bd21988a98e5bccbd8a25e36ddfdc501689c178c32a2c1bd76e847b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for fbool-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish.yml on edugzlez/fbool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fbool-0.2.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for fbool-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 967a22ae86f71b576502394ef69c621065aa5c55aa92723c4fa85c7f79403e5a
MD5 ef7237551163b4ce7c0e104d1308cdfe
BLAKE2b-256 71f4675d4f922e01e6abd7e68a2dfdab8f7f5c29db75bff502b6be0d10ab643e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fbool-0.2.0-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on edugzlez/fbool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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