attempt at implementing the logic for basic features of Splitwise in Python, including settling transactions and "simplify debts" (video).
- Clone the repository
$ git clone https://github.com/vishalnandagopal/splitwise.git
- Install Python and Pip.
- Download Python and install it.
- Make sure both Python and Pip are installed using
python --version
/python3 --version
andpip --version
/pip3 --version
- Install pipenv
$ python -m pip install -U pipenv
- 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
.
- web UI using flask.