You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pycsvjson

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pycsvjson

A utility to transform CSV files into structured JSON

0.0.5
pipPyPI
Maintainers
1

pycsvjson

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts