Metadata-Version: 2.2
Name: weighted-cardinality-estimation
Version: 0.0.2
Summary: Fast weighted cardinality sketches in C++ with Python bindings.
Author-Email: Mateusz Pelechaty <sshozye@gmail.com>
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: C++
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Provides-Extra: asv
Requires-Dist: asv; extra == "asv"
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Provides-Extra: dev
Requires-Dist: cibuildwheel; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Requires-Dist: numpy; extra == "dev"
Requires-Dist: scikit_build_core; extra == "dev"
Description-Content-Type: text/markdown

# weighted-cardinality-estimation

# Przykład użycia

    from weighted_cardinality_estimation import ExpSketch

    sketch = ExpSketch(400, list(range(400)))
    sketch.add("elem1", 5)
    print(sketch.estimate())

# To install in repo use

```bash
python -m pip install -e . --no-deps --no-build-isolation -vvv
pytest
```