Skip to main content

JSON Mapper

Project description

jmr

PyPI GitHub

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)

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

jmr-1.0.0.tar.gz (1.3 kB view hashes)

Uploaded Source

Built Distribution

jmr-1.0.0-py3-none-any.whl (2.1 kB view hashes)

Uploaded Python 3

Supported by

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