gdata-vaas is a Python library for the VaaS-API.
Project description
gdata-vaas
An SDK to easily utilize G DATA VaaS.
Verdict-as-a-Service (VaaS) is a service that provides a platform for scanning files for malware and other threats. It allows easy integration in your application. With a few lines of code, you can start scanning files for malware.
ATTENTION: This library is currently under heavy construction!
What does the SDK do?
It gives you as a developer a functions to talk to G DATA VaaS. It wraps away the complexity of the API into 2 basic functions.
for_sha256
If you calculate the sha256 for a file, you can request that sha256 against G DATA VaaS. It's the fastest way to get a verdict from our service.
for_file
You can also ask for a file itself. You will still get the benefit of a fast verdict via Sha256 because the SDK will do that for you first. But additionally, if we don't know the file, the file will get uploaded and (automatically) analyzed by us.
How to use
Install
pip3 install gdata-vaas
Import
from vaas import Vaas
Example: Request a verdict for file
async with Vaas() as vaas:
await vaas.connect_with_client_credentials(
CLIENT_ID,
CLIENT_SECRET,
TOKEN_URL,
VAAS_URL,
SSL_VERIFICATION
)
path = "/path/to/file"
verdict = await vaas.for_file(path)
I'm interested in VaaS
You need credentials to use the service in your application. If you are interested in using VaaS, please contact us.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gdata_vaas-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 552ad0744832fb3a6cf97a4d74480e4a21be3937d42794758a52f9dfe276effa |
|
MD5 | 6fc4e122012e276ad2983c8a2222658b |
|
BLAKE2b-256 | f5b8cec9e7abae35988c294ed389629d5e206af310693815dffb728b223efc7c |