Python client library for the ClamAV antivirus.
Maintained. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install clamav-clientclamav-client
clamav-client is a portable Python module to use the ClamAV anti-virus engine
on Windows, Linux, MacOSX and other platforms. It requires a running instance
of the clamd daemon.
This is a fork of clamd (5c5e33b2) created by Thomas Grainger. It introduces type hints and tests exclusively against supported Python versions.
Basic usage
The clamav_client.clamd module offers a client for the clamd daemon,
supporting both TCP and Unix sockets.
The clamav_client.scanner module provides a high-level file scanner that works
with both clamd and clamscan. Use clamav_client.get_scanner() to configure
it.