-------------------------------------------------------------------------- pyClamd - an interface for using clamd daemon from ClamAV in Python author : Alexandre Norman - 2006 -------------------------------------------------------------------------- This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. See http://www.gnu.org/licenses/lgpl-3.0.txt. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -------------------------------------------------------------------------- CHANGELOG ========= 2006-07-15 v0.1.1 AN: - released version 2007-10-09 v0.2.0 PL: - fixed error with deprecated string exceptions - added optional timeout to sockets to avoid blocking operations 2010-07-11 v0.2.1 AN: - change all raise exception (was deprecated), license change to LGPL ----------------------------------------------------------------------------- TODO: - improve tests for Win32 platform (avoid to write EICAR file to disk, or protect it somehow from on-access AV, inside a ZIP/GZip archive isn't enough) - use SESSION/END commands to launch several scans in one session (for example provide session mode in a Clamd class) - add support for RAWSCAN and MULTISCAN commands ? ? Maybe use os.abspath to ensure scan_file uses absolute paths for files