Requirements:
- Python v3.0 or above
git clone https://github.com/<username>/HALO
The input and output file names will be given as arguments to the executable program, which is haloSoftware.py.
To run the program use the following command.
python3 HALO/src/haloSoftware.py <input_file> <output_file>
The <output_file> represents the name and path of the output file.
The <input_file> represents the name and path of the input file.
The input file must consist operations with the following format.
Operation | Input Format | OutPut |
---|---|---|
Register | register user <username_> <password_> <password_> | None |
Login | login <username_> <password_> | None |
Logout | logout | None |
Operation | Input Format | OutPut |
---|---|---|
Create | create type <type_name> <no_of_field> <field_1> <fied_2> | None |
Delete | delete type <type_name> | None |
Inherit | inherit type <target_type> <source_type> <additional_fields> | None |
List | list type | <type_1> <type_2> ... |
Operation | Input Format | OutPut |
---|---|---|
Create | create record <type_name> <field_1> <fied_2> | None |
Delete | delete record <type_name> | None |
Update | update record <type_name> <field_2_value> <field_3_value> | None |
Search | search record <type_name> | <field_1_value> <field_2_value> ... |
List | list record <type_name> | <record1_field1_value> <record1_field2_value> ... <record2_field1_value> <record2_field2_value> ... ... |
Filter | filter record <type_name> <condition_> | <record1_field1_value> <record1_field2_value> ... <record2_field1_value> <record2_field2_value> ... ... |