LOPA is a Graphical User Interface (GUI) used to evaluate high-consequence scenarios determining if the combination of probability of occurrence and severity of consequences meets a company’s risk tolerance.
LOPA is written in Python 3
Please install and set up the following packages first. Ugrade if you find the package already installed:
-
Download Python 3. It is advisable to install the package as an administrator. Click on the 'Add path' checkbox before moving on to the next step of the installation process. Run this command in your terminal to see the version you have installed.
python -V
-
Download pip and follow the instructions in the link as an installation guide.
-
SQLite3 (Ensure it is installed).
-
It is advisable to use Tkinter in a virtual environment. The README uses virtualenvwrapper to create this virtual environment. You could use any virtualenv package of your choice but for Windows, install this wrapper with:
py -m pip install virtualenvwrapper-win
-
Create a new virtual environment:
mkvirtualenv <envname>
-
Change your directory to the directory of the virtual environment
-
Activate the virtual environment with:
<envname>\Scripts\activate
-
Install requirements in the virtual environment created:
pip install -r requirements.txt
-
Run server to ensure everything is running properly.
python lopa.py
-
Deactivate the virtual environment with:
deactivate
- Tkinter - GUI
- Pillow - Imaging Library
- SQLite - Database
- PyInstaller - Package
You can download LOPA Here
- @seun-beta - Software Development
- @seun-beta - Software Development
- @seun-beta - Software Development
- Hat tip to anyone whose code was used
- Inspiration
- References
