Skip to main content

virustotal3

virustotal3 provides an easy way to use VirusTotal version 3 REST endpoints, including those exclusive to VirusTotal Enterprise such as Live Hunt, Retro Hunt and Zip Files that were not available in version 2.

Changelog

1.0.8

  • Merged pull request #8

Documentation

https://virustotal3.readthedocs.io/en/latest/

Usage example

import os
import virustotal3.enterprise

API_KEY = os.environ['VT_API']

livehunt = virustotal3.enterprise.Livehunt(API_KEY)

rulesets = livehunt.get_rulesets()

print(rulesets)

Features

  • Access to many more features than the ones provided by the v2 API such as Live Hunt, Retro Hunt, Zip Files, Relationships, etc.
  • Easy to use methods for all API endpoints (except Graphs).
  • Simplified upload and download of files.
    • The API requires the use of a different endpoint for files larger than 32MB. the File.upload() method calculates the file size and picks the approriate endpoint.
  • Written in Python 3.

Installation

Installing with pip pip install virustotal3

Install from repository python3 setup.py install

Contribute

Support

The v3 API is in beta and under active development. While most of the implementation was tested and works perfectly, breaking changes might be introduced by VirusTotal. This rarely occurs, but recently URL.get_comments() and URL.get_votes() stopped working. An issue is current opened with VirusTotal (96772) and they are working on it.

If you are having issues, first make sure it does not come from the API itself. I'm in no way associated with VirusTotal. If it's an API bug, contact VirusTotal directly. Otherwise, open a GitHub issue.

Release files for virustotal3 1.0.8

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

Source distribution (sdist)

Source distribution for virustotal3 1.0.8
File Size Uploaded
virustotal3-1.0.8.tar.gz 9.8 kB Details

Release files / virustotal3-1.0.8.tar.gz

Download URL virustotal3-1.0.8.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
84354b7ac806dcc15908baf57561a76a1bdf10973538e3ae233363a7ad6c41bb
BLAKE2b-256 checksum
How to use checksums
cebc0414cdc51397e3262e3aeac69baf05cda394387eaed06f8672795e8010d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.0.8 This release

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

2 release files

1.0.2

1 release file

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