data-converter

Convert most data file to other file formats


License
MIT
Install
pip install data-converter==0.0.5

Documentation

Data Converter

WIP…DO NOT USE YET

Convert data files between different formats

Install

Python: pip install data-converter
Brew: coming soon...

Ways to use

Command line

$ data-converter -h
usage: data-converter [-h] -t TO input_file

Convert data files

positional arguments:
  input_file      File to convert from

optional arguments:
  -h, --help      show this help message and exit
  -t TO, --to TO  Format to convert to

Import in python

import data_converter

# Convert csv to json file
output_path = data_converter.convert("~/some/data/file.csv", "json")

Currently supported file types

  • json
  • csv