{"id":29227108,"url":"https://github.com/shuque/retirement_balance","last_synced_at":"2025-07-03T09:09:59.319Z","repository":{"id":295453282,"uuid":"990152884","full_name":"shuque/retirement_balance","owner":"shuque","description":"Retirement balance calculator","archived":false,"fork":false,"pushed_at":"2025-05-25T16:03:23.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-05-25T17:19:47.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shuque.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,"zenodo":null}},"created_at":"2025-05-25T15:58:58.000Z","updated_at":"2025-05-25T16:03:26.000Z","dependencies_parsed_at":"2025-05-26T14:04:49.450Z","dependency_job_id":null,"html_url":"https://github.com/shuque/retirement_balance","commit_stats":null,"previous_names":["shuque/retirement_balance"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shuque/retirement_balance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fretirement_balance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fretirement_balance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fretirement_balance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fretirement_balance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shuque","download_url":"https://codeload.github.com/shuque/retirement_balance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shuque%2Fretirement_balance/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263296638,"owners_count":23444499,"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":[],"created_at":"2025-07-03T09:09:58.445Z","updated_at":"2025-07-03T09:09:59.041Z","avatar_url":"https://github.com/shuque.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# retirement_balance\nRetirement balance calculator\n\nThis program was generated by Cursor AI in response to my prompts (based\non other retirement calculator scripts I've written for myself in the\npast).\n\n## Usage\n\n```\nusage: retirement_balance.py [-h] --current-age CURRENT_AGE --final-age\n                             FINAL_AGE --current-balance CURRENT_BALANCE\n                             --yearly-contribution YEARLY_CONTRIBUTION\n                             --yearly-return YEARLY_RETURN --retirement-age\n                             RETIREMENT_AGE --withdrawal-rate WITHDRAWAL_RATE\n                             --retirement-return RETIREMENT_RETURN --tax-rate\n                             TAX_RATE --withdrawal-increase\n                             WITHDRAWAL_INCREASE\n\nCalculate retirement balance projections\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --current-age CURRENT_AGE\n                        Current age\n  --final-age FINAL_AGE\n                        Target final age for projections\n  --current-balance CURRENT_BALANCE\n                        Current retirement account balance\n  --yearly-contribution YEARLY_CONTRIBUTION\n                        Amount contributed per year\n  --yearly-return YEARLY_RETURN\n                        Expected yearly return rate during accumulation as a\n                        percentage (e.g., 7 for 7%)\n  --retirement-age RETIREMENT_AGE\n                        Age at which to start withdrawals\n  --withdrawal-rate WITHDRAWAL_RATE\n                        Annual withdrawal rate as a percentage (e.g., 4 for\n                        4%)\n  --retirement-return RETIREMENT_RETURN\n                        Expected yearly return rate during retirement as a\n                        percentage (e.g., 4 for 4%)\n  --tax-rate TAX_RATE   Tax rate on withdrawals as a percentage (e.g., 22 for\n                        22%)\n  --withdrawal-increase WITHDRAWAL_INCREASE\n                        Annual increase in withdrawal amount as a percentage\n                        (e.g., 2 for 2%)\n\n```\n\n## Sample Output\n\n```\n$ ./retirement_balance.py --current-age 30 --final-age 95 --current-balance 100000 --yearly-contribution 20000 --yearly-return 7 --retirement-age 65 --withdrawal-rate 4 --retirement-return 4 --tax-rate 22 --withdrawal-increase\n\nRetirement Balance Projections:\nCurrent Age: 30\nFinal Age: 95\nCurrent Balance: $100,000.00\nYearly Contribution: $20,000.00\nYearly Return: 7.0%\nRetirement Age: 65\nWithdrawal Rate: 4.0%\nRetirement Return: 4.0%\nTax Rate: 22.0%\nWithdrawal Increase: 2.0%\n\n Age            Balance          Yearly         Monthly       After Tax\n----------------------------------------------------------------------\n  30    $    100,000.00    $      0.00    $      0.00    $      0.00\n  31    $    128,400.00    $      0.00    $      0.00    $      0.00\n  32    $    158,788.00    $      0.00    $      0.00    $      0.00\n  33    $    191,303.16    $      0.00    $      0.00    $      0.00\n  34    $    226,094.38    $      0.00    $      0.00    $      0.00\n  35    $    263,320.99    $      0.00    $      0.00    $      0.00\n  36    $    303,153.46    $      0.00    $      0.00    $      0.00\n  37    $    345,774.20    $      0.00    $      0.00    $      0.00\n  38    $    391,378.39    $      0.00    $      0.00    $      0.00\n  39    $    440,174.88    $      0.00    $      0.00    $      0.00\n  40    $    492,387.12    $      0.00    $      0.00    $      0.00\n  41    $    548,254.22    $      0.00    $      0.00    $      0.00\n  42    $    608,032.02    $      0.00    $      0.00    $      0.00\n  43    $    671,994.26    $      0.00    $      0.00    $      0.00\n  44    $    740,433.86    $      0.00    $      0.00    $      0.00\n  45    $    813,664.23    $      0.00    $      0.00    $      0.00\n  46    $    892,020.72    $      0.00    $      0.00    $      0.00\n  47    $    975,862.17    $      0.00    $      0.00    $      0.00\n  48    $  1,065,572.52    $      0.00    $      0.00    $      0.00\n  49    $  1,161,562.60    $      0.00    $      0.00    $      0.00\n  50    $  1,264,271.98    $      0.00    $      0.00    $      0.00\n  51    $  1,374,171.02    $      0.00    $      0.00    $      0.00\n  52    $  1,491,762.99    $      0.00    $      0.00    $      0.00\n  53    $  1,617,586.40    $      0.00    $      0.00    $      0.00\n  54    $  1,752,217.45    $      0.00    $      0.00    $      0.00\n  55    $  1,896,272.67    $      0.00    $      0.00    $      0.00\n  56    $  2,050,411.76    $      0.00    $      0.00    $      0.00\n  57    $  2,215,340.58    $      0.00    $      0.00    $      0.00\n  58    $  2,391,814.42    $      0.00    $      0.00    $      0.00\n  59    $  2,580,641.43    $      0.00    $      0.00    $      0.00\n  60    $  2,782,686.33    $      0.00    $      0.00    $      0.00\n  61    $  2,998,874.37    $      0.00    $      0.00    $      0.00\n  62    $  3,230,195.58    $      0.00    $      0.00    $      0.00\n  63    $  3,477,709.27    $      0.00    $      0.00    $      0.00\n  64    $  3,742,548.92    $      0.00    $      0.00    $      0.00\n  65    $  3,864,890.25    $161,037.09    $ 13,419.76    $ 10,467.41\n  66    $  3,855,228.03    $164,257.84    $ 13,688.15    $ 10,676.76\n  67    $  3,841,894.15    $167,542.99    $ 13,961.92    $ 10,890.29\n  68    $  3,824,676.07    $170,893.85    $ 14,241.15    $ 11,108.10\n  69    $  3,803,351.38    $174,311.73    $ 14,525.98    $ 11,330.26\n  70    $  3,777,687.47    $177,797.96    $ 14,816.50    $ 11,556.87\n  71    $  3,747,441.05    $181,353.92    $ 15,112.83    $ 11,788.01\n  72    $  3,712,357.69    $184,981.00    $ 15,415.08    $ 12,023.77\n  73    $  3,672,171.38    $188,680.62    $ 15,723.39    $ 12,264.24\n  74    $  3,626,604.00    $192,454.23    $ 16,037.85    $ 12,509.53\n  75    $  3,575,364.84    $196,303.32    $ 16,358.61    $ 12,759.72\n  76    $  3,518,150.05    $200,229.39    $ 16,685.78    $ 13,014.91\n  77    $  3,454,642.07    $204,233.97    $ 17,019.50    $ 13,275.21\n  78    $  3,384,509.11    $208,318.65    $ 17,359.89    $ 13,540.71\n  79    $  3,307,404.44    $212,485.03    $ 17,707.09    $ 13,811.53\n  80    $  3,222,965.90    $216,734.73    $ 18,061.23    $ 14,087.76\n  81    $  3,130,815.11    $221,069.42    $ 18,422.45    $ 14,369.51\n  82    $  3,030,556.91    $225,490.81    $ 18,790.90    $ 14,656.90\n  83    $  2,921,778.56    $230,000.62    $ 19,166.72    $ 14,950.04\n  84    $  2,804,049.06    $234,600.64    $ 19,550.05    $ 15,249.04\n  85    $  2,676,918.38    $239,292.65    $ 19,941.05    $ 15,554.02\n  86    $  2,539,916.61    $244,078.50    $ 20,339.88    $ 15,865.10\n  87    $  2,392,553.20    $248,960.07    $ 20,746.67    $ 16,182.40\n  88    $  2,234,316.05    $253,939.27    $ 21,161.61    $ 16,506.05\n  89    $  2,064,670.63    $259,018.06    $ 21,584.84    $ 16,836.17\n  90    $  1,883,059.04    $264,198.42    $ 22,016.54    $ 17,172.90\n  91    $  1,688,899.01    $269,482.39    $ 22,456.87    $ 17,516.36\n  92    $  1,481,582.93    $274,872.04    $ 22,906.00    $ 17,866.68\n  93    $  1,260,476.77    $280,369.48    $ 23,364.12    $ 18,224.02\n  94    $  1,024,918.97    $285,976.87    $ 23,831.41    $ 18,588.50\n  95    $    774,219.33    $291,696.41    $ 24,308.03    $ 18,960.27\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuque%2Fretirement_balance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshuque%2Fretirement_balance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshuque%2Fretirement_balance/lists"}