pyclamav is a module makes it possible to use the free libclamav virus scanning library within Python.
|Tags||Software Development Libraries Python Modules Utilities|
|Operating Systems||POSIX Linux|
Please use pyclamd (https://freecode.com/projects/pyclamd) which is really better.
Release Notes: This version is compatible with clamav release 0.93.
Release Notes: Support for clamav 0.90. Due to the removal of cl_scanbuff from libclamav, pyclamav.scanthis() had to be removed. Using pyclamd instead of pyclamav is strongly encouraged.
Release Notes: A Python exception was added for when an error occurs with the virus database. The /usr/local/lib path was added to setup to avoid stupid compilation path errors with libclamav not found.
Release Notes: An OpenBSD 3.8 compilation error caused by stat64 not being defined was fixed.
Release Notes: Some compilation warnings were corrected. pyclamav now raises exceptions when something wrong occurs. When scanfile is used with a directory given as an argument, a ValueError exception is raised rather than returning (0,''). Doctrings are now working. "pyclamav.get_version" was corrected to return the daily date and version. This has been tested with clamav 0.86.1. A get_version method was added to get the version of libclamav. Python prior to 2.3 is supported.