Skip to main content

A project to converter JSON to CSV and CSV to JSON files.

Project description

A CSV <> JSON converter

A CSV to JSON and JSON to CSV converter.

Introduction

A project to learning porpuses.

What this project can do

1 - Read a csv file or a folder with csv's and convert them to JSON.

2 - Read a json file or a folder with json's and convert them to CSV.

This project is a program running on terminal, preferably install with pipx:

pipx install csv_converter_valtensir

Help

Usage: csv_converter [OPTIONS]

Options:
  -c, --convert TEXT    Format you want to convert. cc -> Convert CSV to JSON;
                        cj -> Convert JSON to CSV.
  -i, --input TEXT      Path where to find the files to convert.
  -o, --output TEXT     Path where the converted files will be saved.
  -d, --delimiter TEXT  Separator used to split the files.
  -p, --prefix TEXT     Prefix used to prepend to the name of the converted
                        file saved on disk.The suffix will be a number
                        starting from 0. ge: file_0
  --help                Show this message and exit.

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

csv_converter_valtensir-0.1.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

csv_converter_valtensir-0.1.2-py3-none-any.whl (3.8 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