
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
alanfe-puc-ds-csv-converter
Advanced tools
A simple module to make easy conversions between two type of files: `csv` and `json`.
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.
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
python3 -m alanfe-puc-ds-csv-converter convert --help
FAQs
A simple module to make easy conversions between two type of files: `csv` and `json`.
We found that alanfe-puc-ds-csv-converter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.