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

tolq-parsers-csv

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tolq-parsers-csv

  • 0.3.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

CSV

This parser parses csv to and from the Tolq api format.

Installation

Add this line to your application's Gemfile:

gem 'tolq-parsers-csv'

And then execute:

  $ bundle

Or install it yourself as:

  $ gem install tolq-parsers-csv

Usage

To parse to the tolq format:

csv = File.open('mycsv.csv', 'rb', &:read)
parser = Tolq::Parsers::csv::Parser.new(quality: 'standard')
parser.parse(csv)

And to unparse from the tolq format back to csv:

unparser = Tolq::Parsers::CSV::Unparser.new
unparser.unparse(tolq_api_response)

Development

Pointers:

  • Keep in-code documentation up to date, document all public methods, and use YARD
  • Write y'r tests
  • Keep readme up to date
  • Make PRs, not war

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/tolq/parsers/csv. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

FAQs

Package last updated on 02 Mar 2017

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