pyClamAV

pyclamav is a virus checking module for Python that uses libclamav.
Download

pyClamAV Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Alexandre Norman
  • Publisher web site:
  • http://xael.org/norman/python/pyclamd/

pyClamAV Tags


pyClamAV Description

pyclamav is a virus checking module for Python that uses libclamav. pyClamAV program is a python binding to libclamav written in C. By using pyClamAV, you can add virus detection capabilities to your python software in an efficient and easy way.Intallation:You need to have clamav and libclamav installed with clamav.h header file. You also need to have python installed. The simplest way to compile this package is: - Run 'python setup.py build' - As root run 'python setup.py install' It should be done.Usage:From python :Python 2.3.3 (#1, Mar 21 2004, 00:29:15) on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import pyclamav>>> ret=pyclamav.scanfile('/tmp/virus')>>> print ret(1, 'Worm.Sober.G')>>> ret=pyclamav.scanthis("Buffer to test blalblabla...")>>> print ret(0, '')>>> print pyclamav.get_numsig()34861>>> print pyclamav.get_version()('0.86.1', 898, 1117257063)>>> print pyclamav.version()0.3.0>>> print pyclamav.scanfile('/tmp') # /tmp is a directoryTraceback (most recent call last): File "", line 1, in ?ValueError: Argument is not a filenameWhat's New in This Release:· This version is compatible with clamav release 0.93.


pyClamAV Related Software