# iou
A python module using networkx, pyomo and ipopt to solve for the optimally minimum number of transactions to settle debts/expenses between friends.
<p align=”center”> <img src=”https://raw.githubusercontent.com/kdheepak89/iou/master/screenshots/screenshot1.png” width=”400” > </p>
## Install
pip install py-iou pip install py-iou –upgrade
### Dependencies
Install [ipopt](https://projects.coin-or.org/Ipopt)
If you have [Anaconda](https://www.continuum.io/downloads) or [Miniconda](https://conda.io/miniconda.html), you can install it using the following command.
`bash conda install -c conda-forge ipopt `
## Run
Run the following to find the optimal transactions using input from transactions.csv
iou –data iou/data/transactions.csv
OR
iou –data iou/data/transactions.csv –verbose
<p align=”center”> <img src=”https://raw.githubusercontent.com/kdheepak89/iou/master/screenshots/screenshot2.png” align=”center” width=”400” > </p>
Use help
iou –help
A transactions.csv file is required to find the optimal order
## Contribution
Feel free to submit a pull request.
Metadata
Release files for py-iou 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-iou-1.1.1.tar.gz | 6.6 kB | Without provenance | Details for py-iou-1.1.1.tar.gz |
Release files / py-iou-1.1.1.tar.gz
| Download URL | py-iou-1.1.1.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
12ed922486b6ecef23ce8efb1a58458edda546bd97f894af9fa796e5f8a803ef
|
|
BLAKE2b-256 checksum How to use checksums |
8246b5c90f93566d479b2166d57b5495cbf5b8f667d30bd9b38e0db520e86356
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for py-iou 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.