Python modules and command line tools for accessing database of NGSV