mortgage-boi is a python package for calculating monthly mortgage cash flows.
pip install mortgage-boi ... import mortgage_boi as mbm mortgage = mbm.Mortgage(principal=100_000, apr=0.06) # monthly CF data mortgage.payments # specific monthly CF data mortgage.payments_interest
Creating a build
First, update the version number in setup.py.
Then, in the root folder:
python setup.py sdist bdist_wheel
In the root folder:
Uploading a build
python -m twine upload dist/*
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Installing the package
Useful information for building packages:
Running test suite
python -m unittest discover tests