{"id":34989645,"url":"https://github.com/serv/us_income_tax","last_synced_at":"2026-05-19T23:06:46.705Z","repository":{"id":271362265,"uuid":"913191299","full_name":"serv/us_income_tax","owner":"serv","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-12T01:18:51.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-28T14:39:46.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/serv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-07T07:56:53.000Z","updated_at":"2025-02-12T01:18:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"0cc07725-32e0-4060-8174-2e28152ecae2","html_url":"https://github.com/serv/us_income_tax","commit_stats":null,"previous_names":["serv/us_income_tax"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/serv/us_income_tax","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serv%2Fus_income_tax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serv%2Fus_income_tax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serv%2Fus_income_tax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serv%2Fus_income_tax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serv","download_url":"https://codeload.github.com/serv/us_income_tax/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serv%2Fus_income_tax/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33236882,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T15:49:41.270Z","status":"ssl_error","status_checked_at":"2026-05-19T15:49:22.917Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12-27T01:50:15.942Z","updated_at":"2026-05-19T23:06:46.699Z","avatar_url":"https://github.com/serv.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# USIncomeTax\n\nCalculate US Federal Income Tax\n\nWelcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/us_income_tax`. To experiment with that code, run `bin/console` for an interactive prompt.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add us_income_tax\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install us_income_tax\n\n## Usage\n\n```ruby\nyear = 2024 # Supports 2024 and 2025 only\ngross_income = 777777\ntype = :single # Supports :single, :married_filing_jointly, :married_filing_separately, :head_of_household\n\ncalculation_result = Calculator.calculate(year, gross_income, type)\n\ntax_brackets = calculation_result.brackets[calculation_result.year.to_s][calculation_result.type]\ntotal_tax = calculation_result.total_tax \nnet_income = calculation_result.net_income\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Links\n\n- [2024 and 2025 tax brackets and federal income tax rates](https://www.fidelity.com/learning-center/personal-finance/tax-brackets)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/serv/us_income_tax.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserv%2Fus_income_tax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserv%2Fus_income_tax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserv%2Fus_income_tax/lists"}