This is another of my old source code which i've recently updated.
This is useful if you need to search in VirusTotal or upload files to VirusTotal.
simplejson - https://pypi.python.org/pypi/simplejson/
python setup.py build
python setup.py install
--> Search a particular hash
--> Upload a file
--> Submit a URL for scanning
--> Search URL(s) to check on the scan status