Metadata-Version: 2.4
Name: fbool
Version: 0.2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Mathematics
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Requires-Dist: numpy>=2.2.5
Summary: Python bindings for fbool: Boolean function analysis with entanglement, entropy, sensitivity and circuit complexity
Keywords: boolean,entanglement,information-theory,circuit-complexity,logic
Home-Page: https://github.com/edugzlez/fbool
Author-email: Eduardo González-Vaquero <edugon07@ucm.es>, Ricardo Maurizio Paul <rpaul01@ucm.es>
License: MIT
Requires-Python: >=3.11
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# 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.

```python
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:

```bash
uv add fbool
pip install fbool
```

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

