Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

csvx: painless csv

Project description

A csv library that supports 2 and 3, does the unicode thing properly, and lets you read rows as ordered dictionaries so that the ordering stays correct by default.

Which makes things pretty easy.

Example. You’ve got a csv you want to sanitize by removing a column of passwords.

Here’s how that looks.

import csvx

with csvx.OrderedDictReader('unsanitized.csv') as csv_in:
    rows = list(csv_in)

for r in rows:
    del r['password']

with csvx.DictWriter('sanitized.csv') as csv_out:


Full documentation is at


Simply install with pip:

$ pip install csvx

Project details

Release history Release notifications

This version
History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
csvx-0.1.1459403998-py2.py3-none-any.whl (6.5 kB) Copy SHA256 hash SHA256 Wheel 3.5 Mar 31, 2016
csvx-0.1.1459403998.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None Mar 31, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page