Metadata-Version: 2.1
Name: cesar-puc-csv-converter
Version: 0.2.0
Summary: Convert csv to json. Publishing only for learning purposes at PUC.
Home-page: https://github.com/cesarbruschetta/cesar-puc-csv-converter
License: MIT
Author: Cesar Augusto
Author-email: cesarabruschetta@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: click (>=8.0.1,<9.0.0)
Description-Content-Type: text/markdown

# File Converter

- CSV para conversor JSON.
- JSON para conversor CSV.

## Introdução

### O que este projeto pode fazer

- Leia um arquivo **csv** ou uma **pasta** com csv's e converta-os em **JSON**.
- Leia um arquivo **json** ou uma **pasta** com json's e converta-os em **CSV**.

Este projeto é um programa em execução no terminal, de preferência instalado com pipx:

`` `bash
pipx install clebs-puc-csv-converter
`` `

Para usar, basta digitar:

`` `bash
$ converter --help
`` `

Isso listará todas as opções disponíveis.

`` `
Usage: converter [OPTIONS] {csv|json}

  Convert Single file or list of CSV files to json or json to convert json
  files to csv.

Options:
  -i, --input TEXT            Path where the files will be loaded for conversion.
  -o, --output TEXT           Path where the converted files will be saved.
  -d, --delimiter [,|;|:|\t]  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.json.
  --help                      Show this message and exit.
`` `

