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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Egg

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

Uploaded Python 3

File details

Details for the file noumena_cli-1.0.0-py3.7.egg.

File metadata

  • Download URL: noumena_cli-1.0.0-py3.7.egg
  • Upload date:
  • Size: 1.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for noumena_cli-1.0.0-py3.7.egg
Algorithm Hash digest
SHA256 b5362f6ec47a6bef51939d045d9c73050644055aebe6fddcc01e6853e362cafe
MD5 b80e0781616b19b71eac58c7a66fa9c7
BLAKE2b-256 ad3c67903423b76739d0ee3346c55f2f8b3edf153e56115119aa07e91ffe2ad2

See more details on using hashes here.

File details

Details for the file noumena_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: noumena_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for noumena_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97a53880b0b9d0f4bfd581c2fa23e1e513e6e2b1794f5c5f7c164eac29f8140d
MD5 1e133099f438d24eed8ca656bcba23af
BLAKE2b-256 a4bcb767d632c7171ab970ad29dce309d8636921eea35212ffa27f03628b18d8

See more details on using hashes here.

Supported by

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