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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: mortgage-boi-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 718acf90ba7ee3c79435e3d8add908345577a8e4c0c233c8bf4d6083c7dad33d
MD5 60e8cf4a67701ec1003be8264f2e4302
BLAKE2b-256 3eacd5a2db6ddcaba2a859914ad88d8ad87b40aabe52597c30593e7aa8ce5ab8

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mortgage_boi-0.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4a47259a1a07c842554846c61e13c124452a5a4e3a28ef6199ed39de330398d0
MD5 01da50a10d660fb8a364e19845d6c8b1
BLAKE2b-256 d8fe7accaadac9a92d56f0e9f736d8a52351de37cc0462281b9df2933a7b6976

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