{"id":17911239,"url":"https://github.com/toddtreece/harmonized_tariff","last_synced_at":"2025-04-03T09:28:22.822Z","repository":{"id":56875864,"uuid":"9760004","full_name":"toddtreece/harmonized_tariff","owner":"toddtreece","description":"A utility for converting the Harmonized Tariff Schedule from hts.usitc.gov to JSON, SQL, and XML.","archived":false,"fork":false,"pushed_at":"2013-05-01T00:27:02.000Z","size":4224,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T05:01:32.723Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"hts.usitc.gov","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/toddtreece.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-29T23:04:32.000Z","updated_at":"2015-09-25T07:19:28.000Z","dependencies_parsed_at":"2022-08-20T22:00:38.465Z","dependency_job_id":null,"html_url":"https://github.com/toddtreece/harmonized_tariff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fharmonized_tariff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fharmonized_tariff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fharmonized_tariff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toddtreece%2Fharmonized_tariff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toddtreece","download_url":"https://codeload.github.com/toddtreece/harmonized_tariff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246975435,"owners_count":20862905,"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":"2024-10-28T19:37:27.077Z","updated_at":"2025-04-03T09:28:22.805Z","avatar_url":"https://github.com/toddtreece.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HarmonizedTariff\n\nA utility for converting the Harmonized Tariff Schedule from [hts.usitc.gov](http://www.usitc.gov/tata/hts/_1300_delimited.htm) to JSON, SQL, and XML.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'harmonized_tariff'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install harmonized_tariff\n\n## Usage\n\n    $ hts --help\n    Usage: bundle exec bin/hts [options]\n\n    Specific options:\n        -s, --source [PATH]              Set source file\n        -o, --output [PATH]              Set destination folder path\n            --type [TYPE]                Select output format (json, xml, sql, gz (gzipped sql))\n        -v, --verbose                    Print output to screen\n\n    Common options:\n        -h, --help                       Show this message\n            --version                    Show version\n\n**Example 1:** use the provided source file ([2013](http://www.usitc.gov/tata/hts/_1300_delimited.htm)) and output it as gzipped SQL to the Desktop\n\n    $ hts --output ~/Desktop --type gz\n    Outputting converted gzipped SQL to: /Users/todd/Desktop/hts.gz\n\n**Example 2:** use a different source file ([2012](http://www.usitc.gov/tata/hts/_1201_delimited.htm)) and output it as XML to the Desktop\n\n    $ hts --source ~/Desktop/1201_HTS_delimited.txt --output ~/Desktop --type xml\n    Outputting converted XML to: /Users/todd/Desktop/hts.xml\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fharmonized_tariff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoddtreece%2Fharmonized_tariff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoddtreece%2Fharmonized_tariff/lists"}