Metadata-Version: 2.1
Name: fast-stats
Version: 1.0.0
Classifier: Programming Language :: Rust
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: numpy
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov[all]; extra == 'test'
Provides-Extra: test
License-File: LICENSE
Summary: A fast and simple library for calculating basic statistics
Keywords: numpy,stats,rust,fast
Author: Zach Coleman
Author-email: zacharywcoleman@gmail.com
License: Apache 2.0
Requires-Python: >=3.7
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: repository, https://github.com/zachcoleman/fast-stats

![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/zachcoleman/fast-stats/tests/main)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/fast-stats)
![PyPI - Wheel](https://img.shields.io/pypi/wheel/fast-stats)
[![License](https://img.shields.io/badge/license-Apache2.0-green)](./LICENSE)

# fast-stats
`fast-stats` is a fast and simple library for calculating basic statistics such as: precision, recall, and f1-score. The library also supports the calculation of confusion matrices. For examples, please look at the `benchmarks/` folder.

The project was developed using the [maturin](https://maturin.rs) framework.

## Installation
From PyPI:
```shell
pip install fast-stats
```

Build from source:
```
maturin build -r -i=path/to/python
pip install .../fast-stats/target/wheels/<whl file name>.whl
```

## Running Tests
Tests are run with `pytest`.

