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 gabriel-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

gabriel-puc-csv-converter-0.2.0.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gabriel_puc_csv_converter-0.2.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file gabriel-puc-csv-converter-0.2.0.tar.gz.

File metadata

  • Download URL: gabriel-puc-csv-converter-0.2.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.7 Windows/10

File hashes

Hashes for gabriel-puc-csv-converter-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5133a244f76f5a52fef6d72e63ed3d94124407553da7b854d04b136cd6aaa699
MD5 9f4525b6a9ce30672dfbaaf9777fdea7
BLAKE2b-256 d73d2282223cfc1a59a667b1111928bf4837ad4dbe0356af7801ac3bdd4414e5

See more details on using hashes here.

File details

Details for the file gabriel_puc_csv_converter-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gabriel_puc_csv_converter-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4def753bccc894d90da61a02bc49f18afe9add452b60b5c8bdfc5ef1061712a6
MD5 c6ed4dd61a70f4dae2a596bb7f0fc6e5
BLAKE2b-256 57d09965823b9cd34239c1aed8d12229499b2527e3a123577fcb8a6609dc2098

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page