Skip to main content

It is a simple module to make easy conversions between two type of files: csv and json.
It has been 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 is necessary to install it and use the convert script of this module:

pip install alanfe-puc-ds-csv-converter
python3 -m alanfe-puc-ds-csv-converter convert

You will need to 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 them in the 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 the files are csv files or json files and will convert them to another format. In the case of csv files, they will be converted to json. In the case of json files, they will be converted to csv.
A good property of this module is the parallel processing. You can set --parallel or -p as true and the library's processing will happen in parallel

python3 -m alanfe-puc-ds-csv-converter convert -i /input/teste.csv -o /output/ --parallel true

To more information about this module execution we cant use the help command:
python3 -m alanfe-puc-ds-csv-converter convert --help

Metadata

Release files for alanfe-puc-ds-csv-converter 0.3.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alanfe-puc-ds-csv-converter 0.3.6
File Size Uploaded
alanfe_puc_ds_csv_converter-0.3.6.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for alanfe-puc-ds-csv-converter 0.3.6
File Interpreter ABI Platform
alanfe_puc_ds_csv_converter-0.3.6-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / alanfe_puc_ds_csv_converter-0.3.6.tar.gz

Download URL alanfe_puc_ds_csv_converter-0.3.6.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c48bdd4d12e68ecc034a28306959f7cf5c016efdc14d1c8b8fe272943d9bee20
BLAKE2b-256 checksum
How to use checksums
f09455e46b12bcc12568ad6e2f25cbbc18ad8b93d9b128ca13c410e9fed0042b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.8.10 Linux/5.4.0-91-generic

Release files / alanfe_puc_ds_csv_converter-0.3.6-py3-none-any.whl

Download URL alanfe_puc_ds_csv_converter-0.3.6-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb08e0c84a0d75cd1067629e7cf91d483d2d2dc27982c209a2d0d85e160bafe5
BLAKE2b-256 checksum
How to use checksums
057a1b516511f2a0a9aee57bae3f14aa5292afdcc06d8e6282f545756932c36a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.8.10 Linux/5.4.0-91-generic

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page