Skip to main content

A utility to transform CSV files into structured JSON

Project description

A command-line utility to convert CSV files to JSON.


Requires: Python 3

You should really consider using virtual environments when installing any Python software. See for more information on virtual environments.

To use virtual environments with pycsvjson, do something like:

` pip install virtualenv virtualenv -p $(which python3) .ve source .ve/bin/activate `

To install this package: pip install pycsvjson


pycsvjson csvfile mappingfile –output outfile

For pretty, human-readable versions of JSON, use the –pretty option:

pycsvjson file.csv mapping.json –output outfile.json –pretty

For extended options: pycsvjson –help

For more information on what a mapping file is, see


This software should be considered Alpha.


This project is released under the MIT License.

Project details

Download files

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

Source Distribution

pycsvjson-0.0.5.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

pycsvjson-0.0.5-py2.py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page