smarter_csv

(β˜… 1,551)

Fastest end-to-end CSV ingestion for Ruby (with C acceleration). SmarterCSV auto-detects formats, applies smart defaults, and returns Rails-ready hashes for seamless use with ActiveRecord, Sidekiq, parallel jobs, and S3 pipelines β€” even for messy user-uploaded real-world data.

  • .gitignore
  • .rspec
  • .rubocop.yml
  • .rvmrc
  • .travis.yml
  • CHANGELOG.md
  • CONTRIBUTORS.md
  • Gemfile
  • LICENSE.txt
  • Rakefile
  • README.md
  • smarter_csv.gemspec
  • UPGRADING.md

# Installation Guide

1. Get the code
git clone https://github.com/tilo/smarter_csv

Downloads the entire project code from GitHub to your computer.

cd smarter_csv

Moves into the project folder you just downloaded.

2. Ruby

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Ruby Ruby is required to use the bundle command.
$ bundle

Type this command into your terminal and run it.

SMARTER_CSV_PERFORMANCE=tuned bundle install # same, under Bundler

Installs the Ruby libraries listed in the Gemfile.

βœ… If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).

Pulled directly from this repo's README.

// repository documentation