Skip to main content

DataExchange : A Python module to work on JSON.

Project description

DataExchange : A Python module to work on JSON.

DataExchange is a Reusable python app which provides many features to work on JSON.

Installation :

You can install DataExchange module from PyPI using pip.

pip install dataexchange

Configurations :

In order to use dataexchange module in python you need to import it.

from import JsonExchange  

Features :

1. Re-Name The Keys of JSON Data in Runtime

When JSON data in json file.

from import JsonExchange  
jsx = JsonExchange("JSON_File_Name.json")

2. Re-Name The Keys of JSON Data in Runtime

When JSON data come from requests object.

import requests  
from import JsonExchange  

req = requests.get("")  

jsx = JsonExchange(req.json())  
result = jsx.key_rename(keys={'matches': 'data'})  
print(type(result), result)  

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dataexchange, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size dataexchange-1.0.2.tar.gz (6.5 kB) File type Source Python version None Upload date Hashes View
Filename, size dataexchange-1.0.2-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page