$npx skillfedfor your agent

clamav-client

Python client library for the ClamAV antivirus.

With conditionsPyPI SecurityReleased Mar 2026145.1K downloads / moGPL-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — clamav_client-0.7.2-py3-none-any.whl
v0.7.2 · released 2026-03-05 · Python >=3.9

Yes, if you need Python-based ClamAV integration and already run clamd. The package has low install friction, no runtime dependencies, active maintenance, and a copyleft license that is manageable in most contexts. No known vulnerabilities. The main constraint is the external clamd requirement—without a running ClamAV daemon, the library cannot function.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running clamd daemon instance (ClamAV antivirus service) accessible via TCP or Unix socket before the client can connect.
  • Low install friction with no runtime dependencies.
  • The package is actively maintained with a recent release and supports current Python versions (3.9+).

License · maintenance · safety

GPL-2.0 (copyleft) — Licensed under GPL-2.0 (copyleft). Any software linking this library must comply with copyleft obligations—distribute source code and apply the same license to derivative works.

last release 2026-03-05 (162 days) · last repo commit 2026-03-05 · 16 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 145,113 downloads/mo, #11,134 on PyPI

Verify before relying

pip install clamav-client

from clamav_client import get_scanner

scanner = get_scanner()
result = scanner.scan_file('/path/to/file')
  • Whether the package works with ClamAV versions other than those tested by maintainers.
  • Performance characteristics when scanning large files or directories.
  • Specific error handling and retry behavior for network failures to clamd.
Same gist for agents: .md · .json

What it is and what it does

clamav-client is a Python wrapper around the ClamAV antivirus engine's clamd daemon. It provides both a low-level client interface (via the clamd module) for direct daemon communication over TCP or Unix sockets, and a high-level scanner interface that abstracts over both clamd and the clamscan command-line tool. The package is a maintained fork of an earlier clamd library, adding type hints and testing against supported Python versions.

You use it when you need to integrate antivirus scanning into a Python application—typically to check uploaded files, monitor directories, or validate content before processing. The library handles the socket communication and protocol details, leaving you to focus on scan logic and result handling. It requires an external ClamAV installation with the clamd daemon running; it does not bundle or manage the antivirus engine itself.

Use it for

  • Scan uploaded files in a web application before storing them to disk.
  • Integrate malware detection into a document processing pipeline.
  • Monitor a directory for infected files using clamd or clamscan.
  • Build a file quarantine system that checks content before restoration.
  • Validate attachments in an email or messaging system.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need Python-based ClamAV integration and already run clamd.

The package has low install friction, no runtime dependencies, active maintenance, and a copyleft license that is manageable in most contexts. No known vulnerabilities. The main constraint is the external clamd requirement—without a running ClamAV daemon, the library cannot function.

Install

clamav-client on PyPI

Before you install

Low install friction with no runtime dependencies. The package is actively maintained with a recent release and supports current Python versions (3.9+). Repository shows steady activity.

Requires a running clamd daemon instance (ClamAV antivirus service) accessible via TCP or Unix socket before the client can connect.

License in practice

Licensed under GPL-2.0 (copyleft). Any software linking this library must comply with copyleft obligations—distribute source code and apply the same license to derivative works.

Quickstart

pip install clamav-client

from clamav_client import get_scanner

scanner = get_scanner()
result = scanner.scan_file('/path/to/file')

Verify before relying

  • Whether the package works with ClamAV versions other than those tested by maintainers.
  • Performance characteristics when scanning large files or directories.
  • Specific error handling and retry behavior for network failures to clamd.

Package facts

LicenseGPL-2.0 copyleft
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 162 days since the last release
Last repo commit
First released
Downloads145,113 / month, #11,134 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: clamav_client-0.7.2-py3-none-any.whl

Tags

Capabilities
clamav python clientclamd daemon connectorantivirus file scanner pythonclamav tcp unix socketmalware detection python library
Topics
antivirusmalware-detection

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “clamav python client”

  • clamav-clientA Python client library for the ClamAV antivirus engine that connects…
  • pyClamdpyClamd provides a Python interface to the Clamd daemon, enabling…
  • cvdupdateDownloads and maintains a local ClamAV antivirus database mirror,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also clamd · cvdupdate · pyClamd · cart · pymemcache · pmd-pytcp · openccu-loom-client · requests-unixsocket2 · daemonize · ipfshttpclient