Python SDK

Detectant Python SDK
Detectant is a malware scanning API with support for Python
Scan files for malware from synchronous or asynchronous Python applications.
Install
Set your API key in the environment:
Create a client
Scan one file
The call completes after the file has been analyzed and returns its scan result.
Scan a batch
Upload between 1 and 20 files. Results are returned in the same order as the inputs.
Async client
Use AsyncDetectant in an async application:
Requests retry transient failures twice by default. Configure timeout and max_retries when creating the client.
Source
The SDK is generated with Fern and maintained at Detectant/python-sdk.

