jmr
jmr
is mappable JSON object.
Installation
Using pip
$ pip install git+https://github.com/hinatades/jmr.git
or using pip with PyPI: https://pypi.python.org/pypi/jmr
$ pip install jmr
Usage
import jmr
json_data = {}
jmr = JSONMapper(json_data)
Example
map json keys with CSV
new_input_data = jmr.map_keys_with_csv(
'MAPPING_CSV_PATH',
'MAPPING_PKL_PATH',
[1, 0]
)
Author
@hinatades (hnttisk@gmail.com)