Skip to main content

Data format translation program

Project description

noumena-cli - Data format translation program

Description

Command line utility which will read CSV files and PRN files from stdin and, based on a command line option, print either JSON or HTML to stdout, so that it would work as part of a command pipeline.

Identical input content (i.e the data in the file, minus the formatting characters) should produce identical output - irrespective of whether the input data format was CSV or PRN. Non ASCII characters should be handled and rendered correctly. No content should be lost in translation and all output should be readable when encoded to UTF-8.

How to install and run

python src\noumena_cli\cli_noumena.py json --input-format prn < src\noumena_cli\Workbook2.prn python src\noumena_cli\cli_noumena.py json --input-format csv < src\noumena_cli\Workbook2.csv

python src\noumena_cli\cli_noumena.py html --input-format prn < src\noumena_cli\Workbook2.prn python src\noumena_cli\cli_noumena.py html --input-format csv < src\noumena_cli\Workbook2.csv

python -m pip install --upgrade pip setuptools wheel python -m pip install --user --upgrade twine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

noumena_cli-1.0.0-py3.7.egg (1.8 kB view hashes)

Uploaded Source

noumena_cli-1.0.0-py3-none-any.whl (2.0 kB view hashes)

Uploaded Python 3

Supported by

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