xlsx-parser

Crystal wrapper for parsing .xlsx spreadsheets spreadsheet xslx excel
0.1.2 released

xlsx-parser (v0.1.2)

Crystal wrapper for parsing .xlsx spreadsheets

:warning: Warning : This shard is still in development, this may have lots of bugs !

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      xlsx-parser:
        github: D1ceWard/xlsx-parser
        version: 0.1.2
    
  2. Run shards install

Usage

require "xlsx-parser"

file_io = File.new("./my_super_spreadsheet.xlsx")
book = XlsxParser::Book.new(file_io)

book.sheets[0].rows.each do |row|
  # Print row content
  puts row
end

book.close

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/D1ceWard/xlsx-parse. By contributing you agree to abide by the Code of Merit.

  1. Fork it (https://github.com/D1ceWard/xlsx-parser/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

xlsx-parser:
  github: d1ceward/xlsx-parser
  version: ~> 0.1.2
License MIT
Crystal 0.31.1

Authors

  • D1ceWard

Dependencies 0

Development Dependencies 1

  • ameba 0.10.1
    {'github' => 'veelenga/ameba', 'version' => '0.10.1'}

Dependents 0

Last synced .
search fire star recently