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.

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

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

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

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

Hashes for pycsvjson-0.0.5.tar.gz
Algorithm Hash digest
SHA256 cd836744af878d7d7e459adf7605c774524906ae6066ab78a9afed9ae3084d3f
MD5 872330bde98432d5854d2ffd3173866a
BLAKE2b-256 cabfa1cbc4b41f2d9838d0cc0f16d360a4b1e171985ef2f23dbabd03549ffd92

See more details on using hashes here.

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

Hashes for pycsvjson-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0be4ea668f5f366b34ff25017050a86993648f04af64584a3fa15932fed2f35a
MD5 61bdabda8b6e1e8c87351cd6dd39a38a
BLAKE2b-256 4c12fe140b63191d506947fb3036882a3f3f1f95e7534ecac7c49f041b81039b

See more details on using hashes here.

Supported by

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