{"id":24333119,"url":"https://github.com/kei178/pdftocsv","last_synced_at":"2026-05-27T05:03:07.106Z","repository":{"id":56887702,"uuid":"331665970","full_name":"kei178/pdftocsv","owner":"kei178","description":"This library offers a tool to enable you to convert PDF files to CSV-like data.","archived":false,"fork":false,"pushed_at":"2021-01-21T15:35:42.000Z","size":145,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-19T09:02:42.079Z","etag":null,"topics":["pdf","ruby","rubygems"],"latest_commit_sha":null,"homepage":"","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/kei178.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-21T15:14:46.000Z","updated_at":"2021-02-12T08:07:20.000Z","dependencies_parsed_at":"2022-08-21T00:50:46.057Z","dependency_job_id":null,"html_url":"https://github.com/kei178/pdftocsv","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/kei178%2Fpdftocsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kei178%2Fpdftocsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kei178%2Fpdftocsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kei178%2Fpdftocsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kei178","download_url":"https://codeload.github.com/kei178/pdftocsv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243047573,"owners_count":20227590,"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":["pdf","ruby","rubygems"],"created_at":"2025-01-18T03:13:13.741Z","updated_at":"2025-12-25T05:04:28.747Z","avatar_url":"https://github.com/kei178.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pdftocsv\n\nThis library offers a tool to enable you to convert PDF files to CSV-like data.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'pdftocsv'\n```\n\nAnd then execute:\n\n```\n$ bundle install\n```\n\nOr install it yourself as:\n\n```\n$ gem install pdftocsv\n```\n\n## Usage\n\n```ruby\nfile_path = 'example.pdf'\npages = Pdftocsv.parse(file_path)\n```\n\nPDF example: [example.pdf](https://github.com/kei178/pdftocsv/blob/main/spec/fixtures/files/example.pdf)\n\n```ruby\n# == Parsed data example\n# pages.each do |page|\n#   page.each { |rows| p rows }\n# end\n\n[\"Invoice\"]\n[\"DATE: [Enter date]\"]\n[\"INVOICE Invoice Number\"]\n[\"FROM:\", \"[Company Name]\", \"TO:\", \"[Client Name]\"]\n[\"[Email]\", \"[Client Email Address\"]\n[\"[Address 1]il Address\", \"[Address 1]\"]\n[\"[Address 2]\", \"[Address 2]ress 1\"]\n[\"[Phone]s 2\", \"[Phone] Address 2\"]\n[\"TERMS: T[Payment Terms]\"]\n[\"DUE:\", \"Due Datet Due Date]\"]\n[\"Item Description\", \"Quantity\", \"Price\", \"Amount\"]\n[\"Item1\", \"1.00\"]\n[\"$ 10.00\", \"$ 10.00\"]\n[\"Item2\", \"2.00\"]\n[\"$ 10.00\", \"$ 20.00\"]\n[\"Item3\"]\n[\"1.00\", \"$ 20.00\", \"$ 20.00\"]\n[\"Item4\", \"5.00\"]\n[\"$ 5.00\", \"$ 25.00\"]\n[\"Item5\", \"1.00\"]\n[\"$ 8.00\", \"$ 8.00\"]\n[\"$ 0.00\"]\n[\"$ 0.00\"]\n[\"$ 0.00\"]\n[\"$ 0.00\"]\n[\"$ 0.00\"]\n[\"Subtotal\", \"$ 83.00\"]\n[\"Tax\"]\n[\"BALANCE DUE\", \"$ 83.00\"]\n[\"Notes\"]\n[\"EClick here to add notes or terms of service.here\"]\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` 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## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/kei178/pdftocsv. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/kei178/pdftocsv/blob/main/CODE_OF_CONDUCT.md).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Pdftocsv project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/kei178/pdftocsv/blob/main/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkei178%2Fpdftocsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkei178%2Fpdftocsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkei178%2Fpdftocsv/lists"}