A package for calculating mortgage data and cash flows
Project description
Description
mortgage-boi is a python package for calculating monthly mortgage cash flows.
Usage
pip install mortgage-boi
...
import mortgage_boi.mortgage as mbm
mortgage = mbm.Mortgage(principal=100_000, apr=0.06)
# monthly CF data
mortgage.payments
# specific monthly CF data
mortgage.payments_interest
Appendix
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
Prod:
python -m twine upload dist/*
Test:
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Installing the package
See https://packaging.python.org/tutorials/packaging-projects/
Useful information for building packages:
Running test suite
python -m unittest discover tests
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
mortgage-boi-0.0.2.tar.gz
(2.4 kB
view details)
Built Distribution
File details
Details for the file mortgage-boi-0.0.2.tar.gz
.
File metadata
- Download URL: mortgage-boi-0.0.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1c597439a5875286cd45e9caffbb14b71e68def82e0f8abbc0df28cd228437e |
|
MD5 | 37d9185bc5b2931b231103daa67b5aba |
|
BLAKE2b-256 | 4c17d2aee1d263c30810a0cc2f6329e1f668664eb1cd41b6084598fda603666f |
Provenance
File details
Details for the file mortgage_boi-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: mortgage_boi-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cc808b0a8445e9d568ef9cf15b421805471cdf66c8f7cde0a32586fb8261a1a |
|
MD5 | c91edb19576cbf6de29b78b70028926c |
|
BLAKE2b-256 | f9ac9a908242ea0b39f65a8cbf30cdec3d8a08b345976f7bab735baf3c2c2727 |