clamav.connection - Connect to ClamAV

clamav.connection.get_clamd_socket() ClamdNetworkSocket | None

Return a socket that can be used to communicate with clamd over the network.

Returns:

None if CLAMAV_ENABLED is False, otherwise, the connection object