{"id":15713691,"url":"https://github.com/d1ceward/xlsx-parser","last_synced_at":"2025-05-05T20:56:37.360Z","repository":{"id":47816087,"uuid":"221193975","full_name":"d1ceward/xlsx-parser","owner":"d1ceward","description":"Crystal wrapper for parsing .xlsx spreadsheets","archived":false,"fork":false,"pushed_at":"2025-03-02T16:46:08.000Z","size":193,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T23:41:12.410Z","etag":null,"topics":["crystal-lang","excel","spreadsheet","xslx"],"latest_commit_sha":null,"homepage":"https://d1ceward.github.io/xlsx-parser","language":"Crystal","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/d1ceward.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-12T10:44:42.000Z","updated_at":"2024-08-01T16:01:35.000Z","dependencies_parsed_at":"2024-10-24T10:52:03.553Z","dependency_job_id":"764c2dbf-ea12-432f-a58b-20a80c5e0cfb","html_url":"https://github.com/d1ceward/xlsx-parser","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d1ceward%2Fxlsx-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d1ceward%2Fxlsx-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d1ceward%2Fxlsx-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d1ceward%2Fxlsx-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d1ceward","download_url":"https://codeload.github.com/d1ceward/xlsx-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252576941,"owners_count":21770720,"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":["crystal-lang","excel","spreadsheet","xslx"],"created_at":"2024-10-03T21:32:55.313Z","updated_at":"2025-05-05T20:56:37.323Z","avatar_url":"https://github.com/d1ceward.png","language":"Crystal","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xlsx-parser (v1.2.0)\n![GitHub Workflow Status (event)](https://github.com/d1ceward/xlsx-parser/actions/workflows/main.yml/badge.svg?branch=master)\n[![GitHub issues](https://img.shields.io/github/issues/d1ceward/xlsx-parser)](https://github.com/d1ceward/xlsx-parser/issues)\n[![GitHub license](https://img.shields.io/github/license/d1ceward/xlsx-parser)](https://github.com/d1ceward/xlsx-parser/blob/master/LICENSE)\n\nCrystal wrapper for parsing .xlsx spreadsheets\n\n:rocket: Suggestions for new improvements are welcome in the issue tracker.\n\nNote: Work with Cystal versions `\u003e= 0.36.0, \u003c 2.0.0`\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     xlsx-parser:\n       github: d1ceward/xlsx-parser\n       version: 1.2.0\n   ```\n\n2. Run `shards install`\n\n## Usage\n\n### With IO\n```crystal\nrequire \"xlsx-parser\"\n\nfile_io = File.new(\"./my_super_spreadsheet.xlsx\")\nbook = XlsxParser::Book.new(file_io)\n```\n\n### With file path\n```crystal\nrequire \"xlsx-parser\"\n\nbook = XlsxParser::Book.new(\"./my_super_spreadsheet.xlsx\")\n```\n\n### Print rows content\n```crystal\n# Iterate on each row of the first sheet\nbook.sheets[0].rows.each do |row|\n  puts row #=\u003e { \"A1\" =\u003e \"Col A Row 1\", \"B1\" =\u003e \"Col B Row 1\" }\nend\n\n# Second sheet\nbook.sheets[1]\n\nbook.close\n```\n\nDocumentation available here : https://d1ceward.github.io/xlsx-parser/\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/d1ceward/xlsx-parser. By contributing you agree to abide by the Code of Merit.\n\n1. Fork it (\u003chttps://github.com/d1ceward/xlsx-parser/fork\u003e)\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 a new Pull Request\n\n## Contributors\n\n- [d1ceward](https://github.com/d1ceward) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd1ceward%2Fxlsx-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd1ceward%2Fxlsx-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd1ceward%2Fxlsx-parser/lists"}