Skip to main content


Project description

================================= DIARIO Python SDK

|Pypi Version|

DIARIO bridges a natural gap that antiviruses do not usually match. DIARIO is not intended to replace antiviruses, but to cover the gap with fresh samples: DIARIO is especially good detecting them. DIARIO helps detect fresh malware without compromising your privacy or sharing content.

.. |Pypi Version| image:: :target:



Install diario package using pip::

pip install diario

Minimal usage

  • Create a DIARIO object with the "Application ID" and "Secret" previously obtained

.. code-block:: python

from diario import Diario
api = Diario("APP_ID_HERE", "SECRET_KEY_HERE")

'host' and 'port' default parameters are set to and 443.

  • Call to DIARIO Server to do searches, upload and analyze documents, ...

.. code-block:: python

response ='23203f9264161714cdb8d2f474b9b641e6a735f8cea4098c40a3cab87439d749')
  • After every API call, get DIARIO response data and errors and handle them

.. code-block:: python

response_data =
response_error = response.error

REST API specification

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for diario, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size diario-0.2.0-py3-none-any.whl (14.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size diario-0.2.0.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page