New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

patchwork_csv_utils

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

patchwork_csv_utils

0.1.20
Version published
Maintainers
1
Created

CsvUtils

  • dedup: Given 2 CSV files, this gem will create a third CSV file that contains rows from the first CSV file that are not present in the second CSV file.
  • xls to csv: Given an XLS file, this gem will create a CSV file with the specified name.

Installation

gem install patchwork_csv_utils

Usage

require 'csv_utils'
CsvUtils.dedup('file1.csv', 'file2.csv', 'output.csv', ['mandatory_headers'])
CsvUtils.to_csv('file1.xls', 'output_file1.csv', ['request_ids_to_skip'], ['mandatory_headers'], ['status_exclusions'])
CsvUtils.transform_csv('file1.xls', 'output_file1.csv', ['request_ids_to_skip'], ['mandatory_headers'], ['status_exclusions'])

Release

  • to release a new version, update the version number in lib/patchwork_csv_utils/version.rb
  • push the changes to github and then create a tag with the version number
git tag -a v0.1.0 -m "v0.1.0"
git push origin --tags

Contributing

Bug reports and pull requests are welcome on GitHub at http://github.com/patchworkhealth/csv_utils.

FAQs

Package last updated on 05 Dec 2024

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