Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

transform_xlsx

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transform_xlsx

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

TransformXlsx

TransformXlsx - Complex Excel input to Organised output in simple data structures. This gem can be used to parse relationwise complex excel sheets. The idea is to provide memory efficient and quick way to parse huge excel sheets.

Installation

Add this line to your application's Gemfile:

gem 'transform_xlsx'

And then execute:

$ bundle

Or install it yourself as:

$ gem install transform_xlsx

Usage

For parsing xlsx files with XxY kind of 2Dimensional data,

convert = TransformXlsx::TwoDimensional.new(file_path, sheet_number, start_row_number)

convert.to_hash convert.to_json

For parsing xlsx files with 1Dimensional table data,

convert = TransformXlsx::SingleDimensional.new(file_path, sheet_number, start_row_number)

convert.to_hash convert.to_json

Coming Soon: Parsing hierarchical data

Contributing

  1. Fork it
  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 new Pull Request

FAQs

Package last updated on 14 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc