Hello everyone,
here is the package for One Click verify on any Linux system that runs Nautilus 3.6 or higher.
To install, simply run SmartChain_Verify_Installer.sh
To use the tool, right click any file, hover over "Scripts", and select SmartChain Verify.sh
If you do not have Nautilus on your Linux system, you may use oneclick.py on its own. The only dependencies are requests and Tkinter, but most systems should have Tkinter installed.
python oneclick.py <filename> <-c>
Filename is the path to the file which you wish to verify, and -c is an optional flag to produce output purely in the command line, rather than displaying a GUI. Running the -c flag will also return the JSON verification data associated with verifying a file, for use in other applications which require verification.
oneclick.py may be imported in the following manner in order to be used in other Python applications:
from oneclick import OCV
OCV().getDataFromFile('filepath')
That code will return False if the file is not verified, and the JSON data associated with the file if it is verified.
I do plan on submitting oneclick to PyPI once I have the time to do so. Once it has been submitted to PyPI, that implies SmartChain file verification will be available to anyone running a Linux server.
Feedback and improvement suggestions are welcome.
Best regards,
-Tim M.
TM2013