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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycsvjson-0.0.5.tar.gz.
File metadata
- Download URL: pycsvjson-0.0.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd836744af878d7d7e459adf7605c774524906ae6066ab78a9afed9ae3084d3f
|
|
| MD5 |
872330bde98432d5854d2ffd3173866a
|
|
| BLAKE2b-256 |
cabfa1cbc4b41f2d9838d0cc0f16d360a4b1e171985ef2f23dbabd03549ffd92
|
File details
Details for the file pycsvjson-0.0.5-py2.py3-none-any.whl.
File metadata
- Download URL: pycsvjson-0.0.5-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0be4ea668f5f366b34ff25017050a86993648f04af64584a3fa15932fed2f35a
|
|
| MD5 |
61bdabda8b6e1e8c87351cd6dd39a38a
|
|
| BLAKE2b-256 |
4c12fe140b63191d506947fb3036882a3f3f1f95e7534ecac7c49f041b81039b
|