Skip to main content

Convert csv to json. Publishing only for learning purposes at PUC.

Project description

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. `` `

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

cesar-puc-csv-converter-0.2.0.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

cesar_puc_csv_converter-0.2.0-py3-none-any.whl (7.4 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