{ "info": { "author": "Ronie Martinez", "author_email": "ronmarti18@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Office/Business :: Financial :: Accounting", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# amortization\n\nPython library for calculating amortizations and generating amortization schedules\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
LicenseVersion
Travis CIAppVeyor
CoverageWheel
StatusDownloads
Supported versionsImplementation
\n\n## Demo\n\n[Amortization Calculator](https://apps.easyaspy.org/amortization-calculator)\n\n## Install\n\n```bash\npip install amortization\n```\n\n### To build using Cython\n\n```bash\npip install cython\npip install amortization\n```\n\n## Usage\n\n### Python\n\n#### Amortization Amount\n\n```python\nfrom amortization.amount import calculate_amortization_amount\n\namount = calculate_amortization_amount(150000, 0.1, 36)\n```\n\n### Amortization Schedule\n\n```python\nfrom amortization.schedule import amortization_schedule\n\nfor number, amount, interest, principal, balance in amortization_schedule(150000, 0.1, 36):\n print(number, amount, interest, principal, balance)\n```\n\n### Amortization Schedule (using tabulate)\n\n```python\nfrom amortization.schedule import amortization_schedule\nfrom tabulate import tabulate\n\ntable = (x for x in amortization_schedule(150000, 0.1, 36))\nprint(\n tabulate(\n table,\n headers=[\"Number\", \"Amount\", \"Interest\", \"Principal\", \"Balance\"],\n floatfmt=\",.2f\",\n numalign=\"right\"\n )\n)\n```\n\n### Command line\n\n```bash\namortize -h\nusage: amortize [-h] -P PRINCIPAL -n PERIOD -r INTEREST_RATE [-s]\n\nPython library for calculating amortizations and generating amortization\nschedules\n\noptional arguments:\n -h, --help show this help message and exit\n -s, --schedule Generate amortization schedule\n\nrequired arguments:\n -P PRINCIPAL, --principal PRINCIPAL\n Principal amount\n -n PERIOD, --period PERIOD\n Total number of periods\n -r INTEREST_RATE, --interest-rate INTEREST_RATE\n Interest rate per period\n```\n\n```bash\namortize -P 150000 -n 36 -r 0.1 -s\n```\n\n## Dependencies\n\n- [tabulate](https://bitbucket.org/astanin/python-tabulate)\n\n## Author\n\n[Ronie Martinez](mailto:ronmarti18@gmail.com)\n\n## References\n\n- [Packaging and distributing projects](https://packaging.python.org/guides/distributing-packages-using-setuptools/)\n- [Using TestPyPI](https://packaging.python.org/guides/using-testpypi/)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/roniemartinez/amortization/tarball/0.3.0", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/roniemartinez/amortization", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "amortization", "package_url": "https://pypi.org/project/amortization/", "platform": "", "project_url": "https://pypi.org/project/amortization/", "project_urls": { "Download": "https://github.com/roniemartinez/amortization/tarball/0.3.0", "Homepage": "https://github.com/roniemartinez/amortization" }, "release_url": "https://pypi.org/project/amortization/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Python library for calculating amortizations and generating amortization schedules", "version": "0.3.0" }, "last_serial": 5272927, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "cf9d3d174c2e8ce356cb3f996b735e09", "sha256": "3a42c995ba6527c35333e9972039c318ed80f4e5b3f01b86175995a7ec9c4440" }, "downloads": -1, "filename": "amortization-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cf9d3d174c2e8ce356cb3f996b735e09", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4412, "upload_time": "2019-05-05T05:22:28", "url": "https://files.pythonhosted.org/packages/72/f2/a5a3bd7d2ffbd1249202c225850bda6567e418d817281c84337622265bb2/amortization-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c13d4f8cfa860f79c3df879965d03a9", "sha256": "2fc1da76ea93588d38dad42acff0d950c8676c286b9719f05b9e3e0bbe56b534" }, "downloads": -1, "filename": "amortization-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0c13d4f8cfa860f79c3df879965d03a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3298, "upload_time": "2019-05-05T05:22:29", "url": "https://files.pythonhosted.org/packages/96/60/1ddfece040c526ddf8f5d9c02a249d9fd88d2ac338cb64379092207595eb/amortization-0.1.0.tar.gz" } ], "0.1.0rc1": [ { "comment_text": "", "digests": { "md5": "3259d281f91ffe3fed66893b6593ac58", "sha256": "7ea09b6217bd279c0dbac752914ac46a1ac8e47c580e88dd903c491ea1f2be2c" }, "downloads": -1, "filename": "amortization-0.1.0rc1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3259d281f91ffe3fed66893b6593ac58", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4173, "upload_time": "2019-05-04T19:44:37", "url": "https://files.pythonhosted.org/packages/50/59/576a58f3e6a9f570edf60f71fe99fb0925a5e39588e6eea28ccab776059c/amortization-0.1.0rc1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4ae2d44f08a909a810b4a7fdb3ee647b", "sha256": "480343d307a0e009ebee593b50e01a04549bd4cbee11e9ef6842ad0190377a1c" }, "downloads": -1, "filename": "amortization-0.1.0rc1.tar.gz", "has_sig": false, "md5_digest": "4ae2d44f08a909a810b4a7fdb3ee647b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2889, "upload_time": "2019-05-04T19:44:41", "url": "https://files.pythonhosted.org/packages/7b/a8/c4609cafa93f88e3f41a4f70743e6ed1df8bafa5686ff0da4174572b0bfb/amortization-0.1.0rc1.tar.gz" } ], "0.1.0rc2": [ { "comment_text": "", "digests": { "md5": "6d9f45310d3526d92b1bd59529533261", "sha256": "ed10b486f43608f447f24d269e0b6b9c10c9aefcb8a093737f7073c6914491ee" }, "downloads": -1, "filename": "amortization-0.1.0rc2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6d9f45310d3526d92b1bd59529533261", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4218, "upload_time": "2019-05-04T19:44:39", "url": "https://files.pythonhosted.org/packages/b6/9b/cc775a693ffa85bef886cdc779585a8a7b97d402f5d03ed19e61cb325772/amortization-0.1.0rc2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a642774adfd89f0703e08fa83a010d0a", "sha256": "60a24da9e53bd6f8754db4947212e2567fc98ebd6314bec0caf18ac287dded46" }, "downloads": -1, "filename": "amortization-0.1.0rc2.tar.gz", "has_sig": false, "md5_digest": "a642774adfd89f0703e08fa83a010d0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2944, "upload_time": "2019-05-04T19:44:43", "url": "https://files.pythonhosted.org/packages/f9/76/bb85166b25e7ea6ca84d8f21c15312051a1e39c68ce6a0c8c779eebaf631/amortization-0.1.0rc2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f86df5fff7dfd8ecf78860f21082aaca", "sha256": "8c92caf6a74ad497f83a3aea40252e75e762caacba57bde2fe8ad7429bcd441a" }, "downloads": -1, "filename": "amortization-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f86df5fff7dfd8ecf78860f21082aaca", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5292, "upload_time": "2019-05-06T17:20:56", "url": "https://files.pythonhosted.org/packages/0e/27/fa2a1967b65e4d87975405f9e6187b86b1eb4a581a047e33a921c386a102/amortization-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c67215e7a07a13331cb381f3ce54f0b", "sha256": "141c347134980945d7192f0733320af63402d200afb215d9bb41c0c6f2fe6589" }, "downloads": -1, "filename": "amortization-0.2.0.tar.gz", "has_sig": false, "md5_digest": "5c67215e7a07a13331cb381f3ce54f0b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3429, "upload_time": "2019-05-06T17:20:57", "url": "https://files.pythonhosted.org/packages/ba/9c/614afeb7e711da04007bf70982908251895e74557cf5c63484af3fe71ec6/amortization-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "df6be3eacf2e870d9a22724d7c307b3d", "sha256": "52c1fd05d6b45027cc106a698f8cdb1132e6da678cd3e8c74c8bcdf0581ea889" }, "downloads": -1, "filename": "amortization-0.3.0.tar.gz", "has_sig": false, "md5_digest": "df6be3eacf2e870d9a22724d7c307b3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3600, "upload_time": "2019-05-15T15:07:18", "url": "https://files.pythonhosted.org/packages/99/fb/9d357e055d33238fecef69fc3caaa680a9ae2c354eb1dd8289a11a62870c/amortization-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df6be3eacf2e870d9a22724d7c307b3d", "sha256": "52c1fd05d6b45027cc106a698f8cdb1132e6da678cd3e8c74c8bcdf0581ea889" }, "downloads": -1, "filename": "amortization-0.3.0.tar.gz", "has_sig": false, "md5_digest": "df6be3eacf2e870d9a22724d7c307b3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3600, "upload_time": "2019-05-15T15:07:18", "url": "https://files.pythonhosted.org/packages/99/fb/9d357e055d33238fecef69fc3caaa680a9ae2c354eb1dd8289a11a62870c/amortization-0.3.0.tar.gz" } ] }