Skip to main content

================================= 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:: https://img.shields.io/pypi/v/diario.svg :target: https://pypi.python.org/pypi/diario

Prerequisites

Installation

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 diario-elevenlabs.e-paths.com and 443.

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

.. code-block:: python

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

.. code-block:: python

response_data = response.data
response_error = response.error

REST API specification

Metadata

Release files for diario 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for diario 0.2.1
File Size Uploaded Provenance Actions
diario-0.2.1.tar.gz 13.7 kB Without provenance Details for diario-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for diario 0.2.1
File Interpreter ABI Platform Actions
diario-0.2.1-py3-none-any.whl Python 3 none any Details for diario-0.2.1-py3-none-any.whl

Total release size: 28.1 kB

Release files / diario-0.2.1.tar.gz

Download URL diario-0.2.1.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2825f56c038327de65314489f522d49a48da237bdd11c72d79430e088ce60a17
BLAKE2b-256 checksum
How to use checksums
b147de76e1967d8526fd0817e20d2c0e533d9049a35a62f3239f4dcc2b5cc696
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / diario-0.2.1-py3-none-any.whl

Download URL diario-0.2.1-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23e44cdaea43ea37055c4c38ffaad555ada769468a15fff16c12712ceefa79b5
BLAKE2b-256 checksum
How to use checksums
e171ea24087f110706a0858bca9dffa00fb9b8e3101a2ce4c6e1da00696c8ec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for diario 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page