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

Uploaded Source

File details

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

File metadata

  • Download URL: c2j-1.0.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for c2j-1.0.0.tar.gz
Algorithm Hash digest
SHA256 794f58a7f73f9584f737e261564f2eb6bf3f4eaf4ee99f5bb2bc01fa6747dd08
MD5 e054108f66707f274e22e960165574a9
BLAKE2b-256 32ffa3ef9e62fcf0aca864c8f48733bb73372915e9b9e1fe178e6e57d886b745

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