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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
465eee58ee5a9452b677c138aba5b482016ad97e38e64d5e8ce5626efb1d6347
|
|
| MD5 |
6c55a1a2a26b4a1b6553a273267c447d
|
|
| BLAKE2b-256 |
74cbfefe8b695a2b5b70874721f9d458ba417e736212640758993a2686837094
|
Provenance
The following attestation bundles were made for fbool-0.2.0-cp311-abi3-win_amd64.whl:
Publisher:
publish.yml on edugzlez/fbool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fbool-0.2.0-cp311-abi3-win_amd64.whl -
Subject digest:
465eee58ee5a9452b677c138aba5b482016ad97e38e64d5e8ce5626efb1d6347 - Sigstore transparency entry: 1395369224
- Sigstore integration time:
-
Permalink:
edugzlez/fbool@c13ee42ca3dae21bbc58e59dea307beae9186923 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/edugzlez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c13ee42ca3dae21bbc58e59dea307beae9186923 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fbool-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: fbool-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 7.2 MB
- Tags: CPython 3.11+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d57833eab87dcc42b46f8f69e256458291457500f3e6667a52b54bf1e392d0c1
|
|
| MD5 |
fbbae1456797b470d1f044ee2ccdcf57
|
|
| BLAKE2b-256 |
af4fea53bd21988a98e5bccbd8a25e36ddfdc501689c178c32a2c1bd76e847b9
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fbool-0.2.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
d57833eab87dcc42b46f8f69e256458291457500f3e6667a52b54bf1e392d0c1 - Sigstore transparency entry: 1395369209
- Sigstore integration time:
-
Permalink:
edugzlez/fbool@c13ee42ca3dae21bbc58e59dea307beae9186923 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/edugzlez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c13ee42ca3dae21bbc58e59dea307beae9186923 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fbool-0.2.0-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: fbool-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 7.2 MB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
967a22ae86f71b576502394ef69c621065aa5c55aa92723c4fa85c7f79403e5a
|
|
| MD5 |
ef7237551163b4ce7c0e104d1308cdfe
|
|
| BLAKE2b-256 |
71f4675d4f922e01e6abd7e68a2dfdab8f7f5c29db75bff502b6be0d10ab643e
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fbool-0.2.0-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
967a22ae86f71b576502394ef69c621065aa5c55aa92723c4fa85c7f79403e5a - Sigstore transparency entry: 1395369240
- Sigstore integration time:
-
Permalink:
edugzlez/fbool@c13ee42ca3dae21bbc58e59dea307beae9186923 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/edugzlez
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c13ee42ca3dae21bbc58e59dea307beae9186923 -
Trigger Event:
push
-
Statement type: