Skip to content

vdmitriyev/msconsconverter

Repository files navigation

About

Converts MSCONS (EDIFACT) to CSV.

Installation (TestPyPI)

pip install --index-url https://test.pypi.org/simple/ --upgrade msconsconverter

Usage: CLI

python -m msconsconverter convert --input-directory tests/data --output-directory tests/data/output
  • Convert by providing a directory with data as input in a verbose/debug mode
python -m msconsconverter convert --debug --input-directory tests/data --output-directory tests/data/output
  • Convert by providing a file with data as input in a verbose/debug mode
python -m msconsconverter convert --debug --input-file tests/data/MSCONS_TL_SAMPLE01.txt --output-directory tests/data/output
  • Get help
python -m msconsconverter convert --help

Usage: CLI --help example

Development: HowTo

Dependencies: Overview

  • Python > 3.7
  • requirements.txt

Dependencies: Clone and Install Dependencies

  • Clone repo
git clone https://github.com/vdmitriyev/msconsconverter
  • Install dependencies or use scripts/cmdInitiateEnv.bat
pip install -r requirements.txt
pip install -r requirements-dev.txt

Run Tests

python -m pytest -s

Materials on MSCONS (EDIFACT)

License

MIT License

About

Converts MSCONS (EDIFACT) to CSV

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •