A project demonstrating the use of Finite Automata concepts to solve real-life problems by simulating a security device.
Mitansh Chaudhari
License: Public Domain - Anyone can use, modify, or incorporate code from this software into their applications.
This program simulates a security device, similar to those found in homes and offices. It uses a combination of user-entered strings and random number-generated strings to simulate locking and unlocking mechanisms.
The project is divided into two parts:
SecurityEngine.py: Core functionality.test_security_engine.py: Unit tests for SecurityEngine.py.InterfaceSecurityEngine.py: User interface for interacting with SecurityEngine.py.RanNumGen.py: Core functionality.test_ranNumGen.py: Unit tests for RanNumGen.py.InterfaceRanNumGen.py: User interface for interacting with RanNumGen.py.git clone https://github.com/MitChaudhari/Security_Device.git
python3 --version
If not installed, download from Python Official Website.
app folder:
cd Security_Device/app
python InterfaceSecurityEngine.py
python InterfaceRanNumGen.py
Ensure pip and coverage are installed:
python3 -m pip install coverage
app folder:
cd Security_Device/app
SecurityEngine.py:
coverage run test_security_engine.py
coverage report
RanNumGen.py:
coverage run test_ranNumGen.py
coverage report

