A simple module to make easy conversions between two type of files: `csv` and `json`.
Project description
IConverter
A simple module to make easy conversions between two type of files: csv
and json
.
It was created for a postgraduate assignment that had as objective to validate our knowledge about the use of basic structures of Python and the process of creating and publishing a Python module.
Usage and Examples
To use this module you need to install that end use the convert script of this module:
pip install alanfe-puc-ds-csv-converter
python3 -m alanfe-puc-ds-csv-converter convert
You will set some arguments of this script like: output path (using -o or -ouput) and input path(using -i or -input). After that automatically it will parse all files in this path and will save it in output path.
python3 -m alanfe-puc-ds-csv-converter convert -i /input/ -o /output/
# OR
python3 -m alanfe-puc-ds-csv-converter convert -i /input/teste.csv -o /output/
It will detect if files are csv or json and will convert them to another format, in the case o csv, will be converted to json and json, csv.
To more information about this function we cant use the help command:
python3 -m alanfe-puc-ds-csv-converter convert --help
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
Built Distribution
Hashes for alanfe_puc_ds_csv_converter-0.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2b5c0f9127800fe903b41573b7e816cfdf5139204194cef3ae4cc06b618d801 |
|
MD5 | 32303e7f2d2b55ffedf1e9555e9cfc2f |
|
BLAKE2b-256 | 485d4bd671639a8dcb077b0a2205cdffdb6ef00ba2d5d4b48079dd402e8ef5fc |
Hashes for alanfe_puc_ds_csv_converter-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e60d6a1a93862cf82f342bf8966b5669d69430170d5c99bf629f67691ccde89 |
|
MD5 | b9dad9b0eaeaa93117ba776e989728f5 |
|
BLAKE2b-256 | 027ea316f64742edcfb5d98866d443186a8dfe6f6b768739d7740283678cef2e |