Skip to main content

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.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

mortgage_boi-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mortgage-boi-0.0.1.tar.gz.

File metadata

  • Download URL: mortgage-boi-0.0.1.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

Hashes for mortgage-boi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1a1011670e45c24a68447cac8fb15c351f507add971c6ce2df8e8429abd0de93
MD5 b46694ae6f29797067d3da457d35cd3c
BLAKE2b-256 4233443e886cdedb2845592be46bbccd44bdc91cb1f7a406a2a60d1f5e2c4ade

See more details on using hashes here.

Provenance

File details

Details for the file mortgage_boi-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mortgage_boi-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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

Hashes for mortgage_boi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a367f52b2b7034e7316f535cba57aa745760ae6c50e42f313a8f3517b77fc391
MD5 13be12242679606799244eb5873eed79
BLAKE2b-256 62d1f5371d33d5286f9507ef52e1562133d195767df807657afe5e7f1d127c35

See more details on using hashes here.

Provenance

Supported by

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