Skip to main content

.csv-.json transformator

Project description

c2j - it`s a .csv-.json transformer python-package

How to install

pip install c2j

Guide

from c2j.transform import csv_json, json_csv

# You can transform .csv-file into .json-file
csv_json(csv_path)  # csv_path – path to .csv-file

# You can transform .json-file into .csv-file
json_csv(json_path)  # json_path – path to .json-file

Example of usage

from c2j.transform import csv_json, json_csv

csv_json('my_csv.csv') # transform .csv to .json
json_csv('my_json.json')  # transform .json to .csv

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

c2j-1.0.0.tar.gz (2.3 kB view hashes)

Uploaded Source

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