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

Uploaded Source

Built Distribution

mortgage_boi-0.0.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mortgage-boi-0.0.3.tar.gz
  • Upload date:
  • Size: 2.5 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.3.tar.gz
Algorithm Hash digest
SHA256 aadd0b116ef30c886998dd58ed4ae0ee6bb68c2a0057bff8056dc29365293d7e
MD5 7bd8c7a726a26a90d2b4018fb7d447c2
BLAKE2b-256 05950b850d76bfc58d2289cd1af78b5f9018c42aa8ebe7c4d3e9026fcdff785f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mortgage_boi-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d771fc0908426767b099147583ac20d25349542f8f7481d7634b24573510017
MD5 d15d863b06a0432977657731ac85b24e
BLAKE2b-256 ac662759f8b0dd8853390193a6185e36e272ac94ad9c8a8f2db7a35f0145515e

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