https://github.com/cesbit/csvloader
Fast C-implementation for reading CSV data into Python
https://github.com/cesbit/csvloader
Last synced: about 2 months ago
JSON representation
Fast C-implementation for reading CSV data into Python
- Host: GitHub
- URL: https://github.com/cesbit/csvloader
- Owner: cesbit
- License: mit
- Created: 2016-10-04T20:23:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-15T10:50:59.000Z (about 9 years ago)
- Last Synced: 2025-09-25T09:22:43.409Z (6 months ago)
- Language: C
- Size: 14.6 KB
- Stars: 5
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE.txt
Awesome Lists containing this project
README
CSV Loader
==========
This is a fast C-implementation for parsing CSV data to Python.
Only one way parsing, from csv -> python, is possible at this moment but
maybe in some future we will also create an 'export-to-CSV' method.
>Note:
>-----
>This module is not a replacement for the Pyton CSV module and should only
>be used if you want to parse (rather strict) csv strings. We do not
>support reading from file directly or different dialects etc. Go for the
>[csv module](https://docs.python.org/3/library/csv.html) if you need more
>options.
Installation
------------
From PyPI (recommend)
```
pip install csvloader
```
From source code
```
python setup.py install
```
Example
-------
```python
import csvloader
data = csvloader.loads(
'''Name,Age
"vd Heijden, Iris",3''')
print(data) # [['Name', 'Age'], ['vd Heijden, Iris', 3]]
```