Python project which evaluates Query and fetches data from an In memory database