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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file jmr-1.0.0.tar.gz.

File metadata

  • Download URL: jmr-1.0.0.tar.gz
  • Upload date:
  • Size: 1.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for jmr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5ccf1aab19e0da7f8cacf4517cf2fd3a3d490277a1908c8da06e2bfe17b3d167
MD5 a4b47377a40d004c9a46d75675f8cbbc
BLAKE2b-256 51d57a56292500ec01be4deffcd376cb51fef36a7f1bc00b7cb51fa16ef4de03

See more details on using hashes here.

File details

Details for the file jmr-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: jmr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for jmr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b955046cdaf8d212f3fff6605ad69e4215d37f1ed31524ccb909bf719d5a5cc7
MD5 96e8f056ccd96f64ceaa1a41029c2f07
BLAKE2b-256 15bdec04f80794f80a18a1546f1b80e1f6337a2bc1f984c03810f0ae10f89516

See more details on using hashes here.

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