Python Sophos AntiVirus Interface (SAVI)
pysavi is a thorough, documented and GPL’d python interface to the Sophos Anti-Virus Interface (SAVI).
pysavi offers the nuances and power of the C API while minimizing its inconvenience. You may, for example, scan mundane files, file descriptors, in-memory buffers or user implemented stream-like objects. Callbacks allow fine-grained inspection and control of the scanning process, including error reporting. Of course, any engine setting may be tweaked.