Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    pyClamd 0.2.2

    Download button

    No screenshots available
    Downloads: 453  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alexandre Norman | More programs
    LGPL / FREE
    July 13th, 2010, 07:53 GMT [view history]
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    pyClamd description

    Python interface to Clamd (Clamav daemon)

    pyClamd library is a python interface to Clamd (Clamav daemon). By using pyClamd, you can add virus detection capabilities to your python software in an efficient and easy way.

    Instead of pyClamav which uses libclamav, pyClamd may be used by a closed source product.

    Usage:

    From python :
    Python 2.3.5 (#2, Sep 4 2005, 22:01:42)
    [GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import pyclamd
    >>> pyclamd.init_network_socket('localhost', 3310)
    >>> print pyclamd.version()
    ClamAV 0.88.3/1598/Thu Jul 13 13:38:16 2006
    >>> ret = pyclamd.scan_file('/tmp/eicar.com')
    >>> print ret
    {'/tmp/eicar.com': 'Eicar-Test-Signature'}
    >>> ret = pyclamd.scan_file('/tmp/no_virus.txt')
    >>> print ret
    None
    >>> ret = pyclamd.scan_stream(open('/tmp/eicar.com').read())
    >>> print ret
    {'stream': 'Eicar-Test-Signature FOUND'}

    Product's homepage

    Requirements:

    · Python
    · Clam AntiVirus

    What's New in This Release: [ read full changelog ]

    · This release fixes an error with deprecated string exceptions.
    · It adds optional timeout to avoid blocking socket operations.
    · The license is now LGPL.

      


    TAGS:

    python interface | Clamd library | Python library | pyClamd | Python | interface



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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