Skip to main content

A python package to find optimal number of transactions betweeen friends

Project description

# 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

## 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py-iou-1.1.tar.gz (6.4 kB view details)

Uploaded Source

File details

Details for the file py-iou-1.1.tar.gz.

File metadata

  • Download URL: py-iou-1.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for py-iou-1.1.tar.gz
Algorithm Hash digest
SHA256 e33a51c43099e2e44867bf447c4cd7f056508644d7f74772876cc5ee67d23975
MD5 3ea498590ff587ef76eb9d3b64449140
BLAKE2b-256 3ab092b3810b402cd2ec9508de975fb2cecba1e8304be6c652be14f3e07c068c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page