Metadata-Version: 2.1
Name: laptools
Version: 0.1.7
Summary: Fast constrained linear assignment problem (CLAP) solvers
Home-page: https://github.com/jdmoorman/laptools
Author: Jacob Moorman
Author-email: jacob@moorman.me
License: MIT License
Keywords: laptools
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research 
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Scientific/Engineering
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: scipy
Provides-Extra: all
Requires-Dist: numpy ; extra == 'all'
Requires-Dist: scipy ; extra == 'all'
Requires-Dist: codecov ; extra == 'all'
Requires-Dist: pytest ; extra == 'all'
Requires-Dist: pytest-cov ; extra == 'all'
Requires-Dist: pytest-raises ; extra == 'all'
Requires-Dist: sphinx (==1.8.5) ; extra == 'all'
Requires-Dist: pytest-runner ; extra == 'all'
Requires-Dist: pre-commit ; extra == 'all'
Requires-Dist: bumpversion (>=0.5.3) ; extra == 'all'
Requires-Dist: ipython (>=7.5.0) ; extra == 'all'
Requires-Dist: tox (>=3.5.2) ; extra == 'all'
Requires-Dist: twine (>=1.13.0) ; extra == 'all'
Requires-Dist: wheel (>=0.33.1) ; extra == 'all'
Requires-Dist: altair ; extra == 'all'
Requires-Dist: jupyterlab ; extra == 'all'
Requires-Dist: matplotlib ; extra == 'all'
Provides-Extra: dev
Requires-Dist: codecov ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-cov ; extra == 'dev'
Requires-Dist: pytest-raises ; extra == 'dev'
Requires-Dist: sphinx (==1.8.5) ; extra == 'dev'
Requires-Dist: pytest-runner ; extra == 'dev'
Requires-Dist: pre-commit ; extra == 'dev'
Requires-Dist: bumpversion (>=0.5.3) ; extra == 'dev'
Requires-Dist: ipython (>=7.5.0) ; extra == 'dev'
Requires-Dist: tox (>=3.5.2) ; extra == 'dev'
Requires-Dist: twine (>=1.13.0) ; extra == 'dev'
Requires-Dist: wheel (>=0.33.1) ; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx (==1.8.5) ; extra == 'docs'
Provides-Extra: interactive
Requires-Dist: altair ; extra == 'interactive'
Requires-Dist: jupyterlab ; extra == 'interactive'
Requires-Dist: matplotlib ; extra == 'interactive'
Provides-Extra: setup
Requires-Dist: pytest-runner ; extra == 'setup'
Provides-Extra: test
Requires-Dist: codecov ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: pytest-raises ; extra == 'test'

# laptools

[![PyPI Version](https://img.shields.io/pypi/v/laptools.svg)](https://pypi.org/project/laptools/)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/laptools.svg)](https://pypi.org/project/laptools/)
[![Build Status](https://github.com/jdmoorman/laptools/workflows/CI/badge.svg)](https://github.com/jdmoorman/laptools/actions)
[![Code Coverage](https://codecov.io/gh/jdmoorman/laptools/branch/master/graph/badge.svg)](https://codecov.io/gh/jdmoorman/laptools)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

Fast constrained linear assignment problem (CLAP) solvers for Python

---

## Installation
**Stable Release:** `pip install laptools`<br>
**Development Head:** `pip install git+https://github.com/jdmoorman/laptools.git`

## Quick Start

Import the the `clap` module from the package and define your cost matrix.

```python
>>> from laptools import clap
>>> costs = [[0, 0, 1],
...          [1, 0, 2]]

```

Solve the linear assignment problem with row 0 forcibly assigned to column 1.

```python
>>> clap.cost(0, 1, costs)
1

```

## Development
See [CONTRIBUTING.md](CONTRIBUTING.md) for information related to developing the code.


