{"id":21165719,"url":"https://github.com/croketillo/compoundercalc","last_synced_at":"2026-02-27T06:10:21.907Z","repository":{"id":246564693,"uuid":"821517557","full_name":"croketillo/compoundercalc","owner":"croketillo","description":"Compound interest calculator python module","archived":false,"fork":false,"pushed_at":"2024-06-28T20:44:25.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-21T13:49:25.561Z","etag":null,"topics":["compound","compound-interest","compound-interest-calculator"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/croketillo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-28T18:12:07.000Z","updated_at":"2024-06-28T20:44:28.000Z","dependencies_parsed_at":"2024-06-28T18:34:39.798Z","dependency_job_id":"2272a8e5-4635-4b1d-bd49-828e927de11c","html_url":"https://github.com/croketillo/compoundercalc","commit_stats":null,"previous_names":["croketillo/compoundercalc"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croketillo%2Fcompoundercalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croketillo%2Fcompoundercalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croketillo%2Fcompoundercalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croketillo%2Fcompoundercalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/croketillo","download_url":"https://codeload.github.com/croketillo/compoundercalc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239847374,"owners_count":19706938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compound","compound-interest","compound-interest-calculator"],"created_at":"2024-11-20T14:45:41.541Z","updated_at":"2025-10-16T16:17:22.499Z","avatar_url":"https://github.com/croketillo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compound Interest Calculator\n![PyPI - Downloads](https://img.shields.io/pypi/dm/compoundercalc?color=%2360EE59) ![Pepy Total Downlods](https://img.shields.io/pepy/dt/compoundercalc)\n\n\nThis package provides a `CompoundInterestCalculator` class for calculating compound interest for various financial scenarios.\n\n## Features\n\n- Calculate the total amount with compound interest over a period of time.\n- Determine the time needed to reach a target amount with compound interest.\n- Calculate the required recurring deposit to reach a target amount.\n- Calculate the required interest rate to reach a target amount.\n\n## Installation\n\nYou can install the package using pip:\n\n```bash\npip install compoundercalc\n```\n\n## Usage\n\n### Importing the Calculator\n\n```python\nfrom compoundercalc.compounder import CompoundInterestCalculator\n```\n\n### Creating an Instance\n\n```python\ncalc = CompoundInterestCalculator(initial_deposit=1000, recurring_deposit=150, num_recurring_per_year=12, interest_rate=0.08)\n```\n\n### Calculating the Final Amount\n\n```python\nresult = calc.final_amount(time_years=10)\nprint(f\"The final amount is: {result:.2f}\")\n```\n\n### Determining the Time to Reach a Target Amount\n\n```python\nyears, months, days = calc.time_goal(target_amount=100000)\nprint(f\"Time needed to reach the goal: {years} years, {months} months, and {days} days\")\n```\n\n### Calculating the Required Recurring Deposit\n\n```python\nrequired_deposit = calc.calc_recurring_deposit(target_amount=100000, total_years=10)\nprint(f\"The required recurring deposit is: {required_deposit:.2f}\")\n```\n\n### Calculating the Required Interest Rate\n\n```python\ntry:\n    required_rate = calc.calc_interest_rate(target_amount=100000, total_years=10)\n    print(f\"The required annual interest rate is: {required_rate:.4f}\")\nexcept ValueError as e:\n    print(e)\n```\n\n## Running Tests\n\nTo run the tests, use the following command:\n\n```bash\npython -m unittest discover -s test\n```\n\n## License\n\nThis project is licensed under GNU License. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroketillo%2Fcompoundercalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcroketillo%2Fcompoundercalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroketillo%2Fcompoundercalc/lists"}