Sign inSign up

benesee/dccxmljsonconvgui

By benesee

•Updated over 1 year ago

this image contains code from https://gitlab1.ptb.de/digitaldynamicmeasurement/dcc_XMLJSONConvGUI

Image
Data science
0

247

benesee/dccxmljsonconvgui repository overview

⁠Dcc XMLJSONConvGUI

This is a simple GUI for converting XML to JSON DCC⁠ and vice versa and vice versa. It uses the xmltodict and json libraries to convert the files. The Gui looks like This: doc/DCCJsonConfScreanShot.png

⁠Usage

Edit XML or JSON in the Text Areas / Tree Views and click the Convert button to convert the data to the other format. To Download the converted file click the Download button.

⁠Installation

There are two ways to install/deploy the application:

  1. Using the docker container
  2. Using the python package and running the application locally
⁠Using the docker container

To use the docker container, you need to have docker installed on your machine. If you don't have docker installed, you can download it from here⁠. Once you have docker installed, you can run the following commands to pull the repository and biuld docker image and run the container:

docker pull benesee/dccxmljsonconvgui:latest
docker run --name dcc-xmljsonconv-gui -d dcc-xmljsonconv-gui

To access the application, open your browser and go to http://localhost:5008/dccxmljsonconvgui/

The DCC XMLJSONConverter REST APi is also available at http://localhost:8000/

⁠Using the python package and running the application locally

To run the application locally, you need to have python installed on your machine. If you don't have python installed, you can download it from here⁠. Once you have python installed, you can run the following commands to download the package install all dependencies and run the application:

git clone https://gitlab1.ptb.de/digitaldynamicmeasurement/dcc_XMLJSONConvGUI.git
cd dcc_XMLJSONConvGUI
pip install -r requirements.txt
chmod +x ./start_server.sh
./start_server.sh

To access the application, open your browser and go to http://localhost:5008/dccxmljsonconvgui/

The DCC XMLJSONConverter REST Api is also available at http://localhost:8000/

Tag summary

Content type

Image

Digest

sha256:b4356071e…

Size

567.3 MB

Last updated

over 1 year ago

docker pull benesee/dccxmljsonconvgui