SupplySync is a Python application designed to streamline supply chain management by automating the processing of batch files into handheld terminal (HHT) transmission files, following the MEDITECH Materials Management (MM) Interface Specifications.
- Automated File Parsing: Converts
.txt
batch files into.HHT
files for MEDITECH integration. - Directory Monitoring: Automatically detects new files and processes them in real-time.
- System Tray Integration: A system tray icon provides quick access to application settings and information.
- Configurable: Easy configuration management via a
.ini
file. - Logging: Comprehensive logging for monitoring and troubleshooting.
- Python 3.7 or higher
- pip (Python package manager)
- Clone the repository:
git clone https://github.com/brandonhenness/SupplySync.git
- Navigate to the project directory:
cd SupplySync
- Install dependencies:
pip install -r requirements.txt
- Start the application:
python app/main.py
- Inventory usage batch files from the ARRAY module need to be saved to the
data/BATCH
directory. The application will automatically detect these files and process them. - Once processed, an
.HHT
file will be created in thedata/HHT
directory. - Use the HHT menu in the MEDITECH MM module to process the
.HHT
file and import the supply information into the MM module.
The application includes a system tray icon for managing settings, toggling the console, and viewing information.
The configuration file is located at data/SupplySync.ini
and contains:
[DEFAULT]
mainDir = /path/to/project
userCode = ARRAY.INTM
departmentCode = 01.7020
downloadDir = /path/to/BATCH
processedDir = /path/to/PROCESSED
uploadDir = /path/to/HHT
hhtFile = /path/to/HHT/SupplySync.hht
Edit the file to customize directories or other settings as needed.
Dependencies are listed in requirements.txt
:
pystray
Pillow
watchdog
- Ensure Python and all dependencies are installed.
- Run the application and monitor logs in the
logs
directory for errors.
SupplySync is licensed under the GNU General Public License v3.0.
- Brandon Henness
- Email: brhenness@ghcares.org
Thank you for using SupplySync! Feel free to contribute by submitting issues or pull requests to improve the project.