All Projects → liu2guang → libcsv

liu2guang / libcsv

Licence: LGPL-2.1 license
libcsv is a small, simple and fast CSV library written in pure ANSI C89 that can read and write CSV data. | libcsv是用纯ANSI C89编写的小型、简单、快速的CSV库,支持读写CSV数据.

Programming Languages

c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to libcsv

dwin
基于RT-Thread物联网操作系统的dwin串口屏幕快速开发库!
Stars: ✭ 49 (+113.04%)
Mutual labels:  env, rtthread
MultiButton
A compact and easy to use event-driven button driver module. | 一个小巧易用的事件驱动按钮驱动模块.
Stars: ✭ 78 (+239.13%)
Mutual labels:  env, rtthread
phpunit-extensions
📦 Some cool extensions for PHPUnit
Stars: ✭ 28 (+21.74%)
Mutual labels:  csv
cubetl
CubETL - Framework and tool for data ETL (Extract, Transform and Load) in Python (PERSONAL PROJECT / SELDOM MAINTAINED)
Stars: ✭ 21 (-8.7%)
Mutual labels:  csv
DataProfiler
What's in your data? Extract schema, statistics and entities from datasets
Stars: ✭ 843 (+3565.22%)
Mutual labels:  csv
vite-plugin-environment
Easily expose environment variables in Vite.js
Stars: ✭ 57 (+147.83%)
Mutual labels:  env
flowtorch
flowTorch - a Python library for analysis and reduced-order modeling of fluid flows
Stars: ✭ 47 (+104.35%)
Mutual labels:  csv
ottosocial
👍 ottosocial is a CLI to schedule tweets via CSV
Stars: ✭ 23 (+0%)
Mutual labels:  csv
bcdata
An R package for searching & retrieving data from the B.C. Data Catalogue
Stars: ✭ 68 (+195.65%)
Mutual labels:  env
municipios-br
Dados em formato aberto sobre municípios e unidades federativas do Brasil.
Stars: ✭ 58 (+152.17%)
Mutual labels:  csv
DaFlow
Apache-Spark based Data Flow(ETL) Framework which supports multiple read, write destinations of different types and also support multiple categories of transformation rules.
Stars: ✭ 24 (+4.35%)
Mutual labels:  csv
import-cli-simple
This the meta package for Pacemaker Community, a Symfony based CLI application that provides import functionality for products, categories, attributes, and attribute-sets. The default format is CSV, adapters for XML are also available. The application can be declaratively extended by additional operations, which can be used to reassemble and exe…
Stars: ✭ 69 (+200%)
Mutual labels:  csv
dotenv validator
This gem check if required env variables are present and its format using the .env and .env.sample files from Dotenv.
Stars: ✭ 33 (+43.48%)
Mutual labels:  env
tabular-stream
Detects tabular data (spreadsheets, dsv or json, 20+ different formats) and emits normalized objects.
Stars: ✭ 34 (+47.83%)
Mutual labels:  csv
node-emails-from-csv
A simple NodeJS aplication that helps sending emails for events. Uses CSV files for target users.
Stars: ✭ 18 (-21.74%)
Mutual labels:  csv
csv2xlsx
Fast and simple opensource command line tool to convert CSV do XLSX
Stars: ✭ 38 (+65.22%)
Mutual labels:  csv
CsvTextFieldParser
A simple CSV parser based on Microsoft.VisualBasic.FileIO.TextFieldParser.
Stars: ✭ 40 (+73.91%)
Mutual labels:  csv
FileConvert
Converts between file formats such as CSV and Parquet
Stars: ✭ 14 (-39.13%)
Mutual labels:  csv
Workout
A simple iOS app that accesses Health data to export workout data to CSV for any use.
Stars: ✭ 39 (+69.57%)
Mutual labels:  csv
badsv
The official BaDSV specification and CLI. Ascend from your puny DSV files!
Stars: ✭ 50 (+117.39%)
Mutual labels:  csv

libcsv pkg

Build Status release

1、介绍

1.1、CSV格式

CSV文件(Comma-separated values), 就是逗号分隔的数据文件, 常用于数据集成的数据交换部分标准部分. CSV没有正式标准,但是国际互联网工程任务组(IETF)给推荐标准RFC 4180描述了CSV文件的结构.

1.2、libcsv介绍

libcsv是用纯ANSI C89编写的小型、简单、快速的CSV库,可以读写CSV数据。它提供了一个简单的接口,使用回调函数来处理解析的字段和行,并且可以解析不正确格式化的CSV文件.

1.3、常见CSV格式配置

MS-DOS-style lines that end with (CR/LF) characters (optional for the last line)
Jiger: {使用回车换行(两个字符)作为行分隔符,最后一行数据可以没有这两个字符。}

An optional header record (there is no sure way to detect whether it is present, so care is required when importing).
Jiger:{标题行是否需要,要双方显示约定}.

Each record "should" contain the same number of comma-separated fields.
Jiger:{每行记录的字段数要相同,使用逗号分隔。} 逗号是默认使用的值,双方可以约定别的。
Any field may be quoted (with double quotes).

Jiger:{任何字段的值都可以使用双引号括起来}. 为简单期间,可以要求都使用双引号。
Fields containing a line-break, double-quote, and/or commas should be quoted. (If they are not, the file will likely be impossible to process correctly).
Jiger:{字段值中如果有换行符,双引号,逗号的,必须要使用双引号括起来。这是必须的。}

A (double) quote character in a field must be represented by two (double) quote characters.
Jiger:{如果值中有双引号,使用一对双引号来表示原来的一个双引号}

1.4、依赖

  • 依赖 libc 组件.
  • 依赖 dfs 文件系统.
  • 依赖 env 工具.
  • RT-Thread 3.0+,对 bsp 无依赖
  • demo程序依赖 optpaser (getopt-like for rtt)在线包.

注: 该仓库基于libcsv-3.0.3 【源仓库地址】版本进行移植.

1.5、demo程序

libcsv目前提供了一个验证csv文件是否合法的例程.

2、获取方式

请使用 ENV 工具辅助下载:

包的路径为:RT-Thread online package -> miscellaneous packages -> libcsv

  RT-Thread online packages --->
      miscellaneous packages --->
          [*] libcsv: a small, simple and fast CSV library written in pure ANSI C89. ---> 
                libcsv version(v1.0.0) ---> 
          [*]   libcsv demo example

保存 menuconfig 配置后使用 pkgs --update 命令下载软件包

注:demo是测试例程, 帮助理解库的使用.

3、使用说明

注意: 使用说明见源码下的libcsv_development_manual.pdf手册. 后期会整理翻译成中文文档.

4、注意事项

libcsv库移植到RT-Thread过程中只对代码格式和目录格式做调整.

5、许可方式

GNU Library or Lesser General Public License version 2.0 (LGPLv2). 更多关于许可信息请浏览COPYING.LESSER文件和源作者仓库的许可声明, 或者直接联系原作者本人.

6、联系方式 & 感谢

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].