Metadata-Version: 2.1
Name: pykda
Version: 0.1.0
Summary: 
Author: Joost Berkhout
Author-email: joost.berkhout@vu.nl
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: numpy (>=1.26.4,<2.0.0)
Requires-Dist: tarjan (>=0.2.4,<0.3.0)
Description-Content-Type: text/markdown

# pyKDA

pyKDA is a Python library for the Kemeny Decomposition Algorithm (KDA).

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install pyKDA.

```bash
pip install pyKDA
```

## Usage

```python
import pyKDA
import numpy as np

P = np.array(
    [
        [0.0, 0.52493781, 0.47506219],
        [0.0, 0.66666667, 0.33333333],
        [0.06666667, 0.33333333, 0.6],
        ]
    )
MC = MarkovChain(P)

print(MC.stationary_distribution())
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)

