Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
fields
.gitignore
Makefile
README.md
test_fields.py

README.md

Fields for Python

Fields for Python is a Python binding to Fields, the fast C library for reading CSV and other tabular text formats.

Fields for Python is implemented using Python's ctypes module and depends on Fields' shared library. It serves as the host for Fields' tests and as an example of a language binding to Fields.

Usage

The API is similar to Python's csv module:

>>> import fields
>>> for record in fields.reader('a,b\nc'):
...     print record
...
...
['a', 'b']
['c']

License

Fields for Python is released under the same license as Fields.

Something went wrong with that request. Please try again.