clamd
Clamd is a python interface to Clamd (Clamav daemon).
Decision gist · record as of 2026-08-14
Yes, if you need a simple Python interface to ClamAV and can tolerate dormant maintenance. The package is lightweight, dependency-free, and works for basic scanning tasks. However, verify compatibility with your ClamAV daemon version and Python release first, and be aware that no active development means bugs or incompatibilities will not be fixed upstream.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running ClamAV daemon (clamd) to be installed and started separately on the system; the Python module is only a client interface.
- Installation is straightforward with no runtime dependencies.
- However, the package is dormant—last release was 2014-08-21 and last commit 2024-01-04—so expect no active maintenance or updates.
License · maintenance · safety
UNKNOWN (copyleft) — Released under LGPL (copyleft), which requires that derivative works and modifications remain under the same license; acceptable for most projects but review your own licensing obligations before use.
last release 2014-08-21 (4376 days) · last repo commit 2024-01-04 · 93 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,212,955 downloads/mo, #4,210 on PyPI
Alternatives
Verify before relying
import clamd
cd = clamd.ClamdUnixSocket()
cd.ping()
cd.scan('/path/to/file')- Whether the package works reliably with modern ClamAV daemon versions given the last release was 2014.
- Current Python version compatibility (requires_python is unspecified in the fact sheet).
- Whether Unix socket and TCP connection modes both remain functional.
What it is and what it does
clamd is a lightweight Python wrapper around the ClamAV antivirus daemon, enabling you to send files and byte streams to a running clamd service for malware scanning. It communicates with the daemon via Unix sockets or TCP and returns scan results indicating whether threats were found. The package has no runtime dependencies and is designed to be portable across operating systems.
You use it by instantiating a connection object (Unix socket or TCP), then calling methods like scan(), instream(), ping(), and version() to interact with the daemon. It is not a standalone scanner—it requires you to install and run the ClamAV daemon separately on your system or network. The package is dormant, with no releases since 2014, so it may not be tested against recent ClamAV versions or Python releases.
Use it for
- Integrate antivirus scanning into a web application to check uploaded files before storage or processing.
- Build a file monitoring service that scans new files in a directory for malware in real time.
- Add malware detection to a data pipeline or ETL process to quarantine suspicious content.
- Scan email attachments or downloaded files in a desktop application before user access.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a simple Python interface to ClamAV and can tolerate dormant maintenance.
The package is lightweight, dependency-free, and works for basic scanning tasks. However, verify compatibility with your ClamAV daemon version and Python release first, and be aware that no active development means bugs or incompatibilities will not be fixed upstream.
Install
clamd on PyPI
Before you install
Installation is straightforward with no runtime dependencies. However, the package is dormant—last release was 2014-08-21 and last commit 2024-01-04—so expect no active maintenance or updates.
Requires a running ClamAV daemon (clamd) to be installed and started separately on the system; the Python module is only a client interface.
License in practice
Released under LGPL (copyleft), which requires that derivative works and modifications remain under the same license; acceptable for most projects but review your own licensing obligations before use.
Quickstart
import clamd
cd = clamd.ClamdUnixSocket()
cd.ping()
cd.scan('/path/to/file')
Verify before relying
- Whether the package works reliably with modern ClamAV daemon versions given the last release was 2014.
- Current Python version compatibility (requires_python is unspecified in the fact sheet).
- Whether Unix socket and TCP connection modes both remain functional.
Package facts
| License | UNKNOWN copyleft |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 4,376 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,212,955 / month, #4,210 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL) |
Evidence: clamd-1.0.2-py2.py3-none-any.whl
Tags
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 interface”
- clamdclamd is a Python interface to the ClamAV antivirus daemon, allowing…
- pyClamdpyClamd provides a Python interface to the Clamd daemon, enabling…
- clamav-clientA Python client library for the ClamAV antivirus engine that connects…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
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.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
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.
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.
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.
See also clamav-client · cvdupdate · pyClamd · cart · guarddog · daemonize · vt-py · picklescan · pymavlink · pytest-hot-reloading