A utility to transform CSV files into structured JSON
Project description
A command-line utility to convert CSV files to JSON.
Installation
Requires: Python 3
You should really consider using virtual environments when installing any Python software. See http://docs.python-guide.org/en/latest/dev/virtualenvs/#virtualenvironments-ref 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
Quickstart
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 https://github.com/pudo/jsonmapping
Status
This software should be considered Alpha.
License
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
Built Distribution
Hashes for pycsvjson-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5116fe9bac5df6d52e2cef0a7b878ce5745f105e90c4c4f4aa6813b16684f14e |
|
MD5 | edb672b34358711a4810a6790c496725 |
|
BLAKE2b-256 | 75d28be191946eef70a01fcd6316415fff71c86674d9fc55e800fc173b850585 |