Skip to content

implementing the logic for basic features of Splitwise in Python

License

Notifications You must be signed in to change notification settings

vishalnandagopal/splitwise

Repository files navigation

Splitwise (Unofficial) implementation

attempt at implementing the logic for basic features of Splitwise in Python, including settling transactions and "simplify debts" (video).

Running the app

  1. Clone the repository
$ git clone https://github.com/vishalnandagopal/splitwise.git
  1. Install Python and Pip.
  • Download Python and install it.
  • Make sure both Python and Pip are installed using python --version / python3 --version and pip --version / pip3 --version
  1. Install pipenv
$ python -m pip install -U  pipenv
  1. Let pipenv install from the Pipfile
  • This will also automatically create a virtual environment and run it, if it does not exist.
$ pipenv install

This project also uses mypy for type-checking in Python.

Install that using

$ python -m pip install -U mypy

and run your file (file.py) using mypy file.py or type check the classes module using mypy classes.

TODO:

  • web UI using flask.

About

implementing the logic for basic features of Splitwise in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published