Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    pyClamAV 0.4.1

    Download button

    No screenshots available
    Downloads: 610  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.0/5)
    4 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alexandre Norman | More programs
    GPL / FREE
    April 16th, 2008, 17:56 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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)
    [GCC 2.95.4 20011002 (Debian prerelease)] on linux2
    Type "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 directory
    Traceback (most recent call last):
    File "", line 1, in ?
    ValueError: Argument is not a filename

    What's New in This Release:

    · This version is compatible with clamav release 0.93.



    Product's homepage

      


    TAGS:

    virus checking | clamav library | virus checking module | pyClamAV | virus | checking

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM