./textproc/lua-ftcsv, Fast csv library written in pure Lua

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.4.0, Package name: lua54-ftcsv-1.4.0, Maintainer: pkgsrc-users

ftcsv is a fast csv library written in pure Lua.

It features two parsing modes, one for CSVs that can easily be loaded into
memory (up to a few hundred MBs depending on the system), and another for
loading files using an iterator - useful for manipulating large files or
processing during load.

It correctly handles most csv (and csv-like) files found in the wild, from
varying line endings (Windows, Linux, and OS9), UTF-8 BOM support, and odd
delimiters.

There are also various options that can tweak how a file is loaded, only
grabbing a few fields, renaming fields, and parsing header-less files!


Master sites:

Filesize: 19.224 KB

Version history: (Expand)


CVS history: (Expand)


   2024-09-11 21:17:57 by Yorick Hardy | Files touched by this commit (2) | Package updated
Log message:
textproc/lua-ftcsv: update to lua-ftcsv-1.4.0

Changelog:

1.4.0
=====

Features

  * Make delimiter optional while staying backwards compatible

Bufixes

  * Fixes a bug if you reuse the options table where the bufferSize
    can only be specified using 'parseLine' would pop up.

1.3.0
=====

Features

  * Added ability to encode with onlyRequiredQuotes to reduce the
    number of quotes in the output

Bugfixes

  * Fix bug with encoding options when parsing header-less files

1.2.2
=====

Bugfixes

  * Fixed bufferSize default value not being set with options present
   2022-03-06 10:29:28 by Nia Alarie | Files touched by this commit (4)
Log message:
textproc: add lua-ftcsv

ftcsv is a fast csv library written in pure Lua.

It features two parsing modes, one for CSVs that can easily be loaded into
memory (up to a few hundred MBs depending on the system), and another for
loading files using an iterator - useful for manipulating large files or
processing during load.

It correctly handles most csv (and csv-like) files found in the wild, from
varying line endings (Windows, Linux, and OS9), UTF-8 BOM support, and odd
delimiters.

There are also various options that can tweak how a file is loaded, only
grabbing a few fields, renaming fields, and parsing header-less files!