A Python utility that converts ProcessViewMessages Excel data into JSON files.
This tool automatically processes the ProcessViewMessages.xlsm Excel file and generates corresponding JSON files for each sheet, organizing the output by category (AVA, UFA, VILOFOSS).
- Python 3.x
ProcessViewMessages.xlsmfile in the parent directory
Required file structure:
PROCESSVIEW MESSAGES/
├── ProcessViewMessages.xlsm
├── JSON Generator/
│ ├── JsonGenerator.py
│ ├── requirements.txt
│ └── run_env.py
└── JSON FILES/ (generated)
├── AVA.json
├── UFA.json
└── VILOFOSS.json
- Ensure
ProcessViewMessages.xlsmis in the correct location - Run the generator:
python JsonGenerator.py
If you need an executable version:
-
Install pyinstaller:
pip install pyinstaller
-
Create the executable:
pyinstaller --onefile --windowed JsonGenerator.py
Note: The executable creation process may take 5-20 minutes due to dependencies.
Main dependencies:
- polars
- openpyxl
See requirements.txt for the complete list.