The purpose of this app create a simple key-value store in Python. All data will be stored in memory for simplicity.
$ python -m keyvaluestore
๐Welcome to the Simple Storage System!๐
You can use the following commands:
BEGIN ๐ธ start a new transaction
SET Set a key-value pair.
UNSET Unset a key
GET Get the value associated with a key.
NUMEQUALTO Returns the number of keys that are
associated with the given value.
COMMIT ๐ธ commit the current transaction.
ROLLBACK ๐ธ rollback the current
transaction.
HELP ๐ธ show this help message
END ๐ธ end the program
[13:31:24] DEBUG Transactions: None script.py:24
Enter the command: (HELP):