Metadata-Version: 2.1
Name: rustyfim
Version: 0.1.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.6
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

rusty-py-fim enables you to run fpgrowth in Python

## Setup

```bash
pip install maturin
maturin develop
```

## Running FIM in python

```py
from rustyfim import fpgrowth

res = fpgrowth(min_support=0.3, transactions=[[1,2,3],[2,3,4],[3,4,10],[3,4,20]])
```

Result:

```
First pass took 0 ms, num_transactions=4.
Total runtime: 1 ms
[([3], 4), ([3, 4], 3), ([4], 3)]
```

## Build wheel

```bash
maturin build
```

