JCSV (JSON2CSV and CSV2JSON converter)
Project developed in the Python for Data Science course - Artificial intelligence PUC-MG
Requirements
- python ^3.7
Install
pip install jcsv
or
pip3 install jcsv
Usage
- convert csv to json
csv2json --input /path/to/csv/files --output /path/to/json/files --delimiter ,
- convert json to csv
json2csv --input /path/to/json/files --output /path/to/csv/files --delimiter ,
Default
- input = "./"
- output = "./"
- delimiter = ","
Help
csv2json --help
Usage: csv2json [OPTIONS]
Options:
-i, --input TEXT Path where to find CSV files to be contered to JSON.
-o, --output TEXT Path where the converted files will be saved.
-d, --delimiter TEXT Separator used to split files.
--help Show this message and exit.
json2csv --help
Usage: json2csv [OPTIONS]
Options:
-i, --input TEXT Path where to find JSON files to be contered to CSV.
-o, --output TEXT Path where the converted files will be saved.
-d, --delimiter TEXT Separator used to split files.
--help Show this message and exit.
Release files for jcsv 0.2.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jcsv-0.2.19.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jcsv-0.2.19-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / jcsv-0.2.19.tar.gz
| Download URL | jcsv-0.2.19.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8a6bd97406cf70a7f1af822336ab7107eee90102ee8b25945d289ae346f61d3
|
|
BLAKE2b-256 checksum How to use checksums |
507a96070825c01200a657a7e37eb04fef231845d01664bbae66915c4bdf13e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.7.10 Windows/10
|
Release files / jcsv-0.2.19-py3-none-any.whl
| Download URL | jcsv-0.2.19-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98af6b7bbc2eacca4f19eeb0b78c6b04214cc823de8e1634f19a6566dbd804b2
|
|
BLAKE2b-256 checksum How to use checksums |
d1deb847250bc8b5c3b5e99d030b0423fa4b407c36b0b4c896d3a6bb67a600f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.7.10 Windows/10
|