Gerald Bauer
2018-10-09 15:28:11 UTC
Hello,
I've uploaded [version 1.0 of the new comma-separated values
csvreader library / gem [1] that lets you read tabular data in the
comma-separated values (csv) format the right way :-), that is, the
basic methods such as `Csv.read `or `CsvHash.read` use best practices
out-of-the-box with zero-configuration.
Under the hood the new library includes purpose-built "backend"
parsers (e.g. `ParserStd`, `ParserStrict`, `ParserTab`, etc.) so you
can handle
all the popular comma-separated values (csv) formats / dialects such
as MySQL (use `Csv.mysql.read`) or PostgreSQL (use
`Csv.postgres.read`) exports and more using unix-style escapes and
`\N` or unquoted empty values for null/nil and so on.
Data is the new gold :-) Happy data / gold mining with the new
csvreader library / gem (in ruby). Cheers. Prost.
PS: [What's wrong (broken) in the standard csv library? See the let's
count the ways article series [2].
[1]: https://github.com/csv11/csvreader
[2]: https://github.com/csv11/docs
Unsubscribe: <mailto:ruby-talk-***@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
I've uploaded [version 1.0 of the new comma-separated values
csvreader library / gem [1] that lets you read tabular data in the
comma-separated values (csv) format the right way :-), that is, the
basic methods such as `Csv.read `or `CsvHash.read` use best practices
out-of-the-box with zero-configuration.
Under the hood the new library includes purpose-built "backend"
parsers (e.g. `ParserStd`, `ParserStrict`, `ParserTab`, etc.) so you
can handle
all the popular comma-separated values (csv) formats / dialects such
as MySQL (use `Csv.mysql.read`) or PostgreSQL (use
`Csv.postgres.read`) exports and more using unix-style escapes and
`\N` or unquoted empty values for null/nil and so on.
Data is the new gold :-) Happy data / gold mining with the new
csvreader library / gem (in ruby). Cheers. Prost.
PS: [What's wrong (broken) in the standard csv library? See the let's
count the ways article series [2].
[1]: https://github.com/csv11/csvreader
[2]: https://github.com/csv11/docs
Unsubscribe: <mailto:ruby-talk-***@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>