Skip to main content

library for an easier interaction with the VirusTotal v3 API

Project description

VirusTotalPy

Open-source Python library for an easier interaction with the VirusTotal v3 API

Features

The latest Version 1.0 lets you analyse and scan a list of IPs, URLs and files up to 650MB.

Installation

Method 1:

pip install virustotalpy
Method 2:

git clone https://github.com/maxmmueller/virustotalpy.git
Method 3:

Download the latest Release

Usage

In order to use the API you need to sign up for a VirusTotal account and create an API key.

View API key

Code example:

from virustotalpy import Scanner

# replace this with your actual api key and username
API_KEY = "YOUR-API-KEY"
USER_NAME = "YOUR-VIRUSTOTAL-USERNAME"

scanner = Scanner(API_KEY, USER_NAME)

data = [
    "https://www.example.com",
    "192.168.0.1",
    "test.exe"
]

result = scanner.scan(data)
print(result)

Learn more

Contributing

Contributions to this project are welcome!

If you encounter any problems, find a bug or have feature requests, please open an issue.

Licence

Maximilian Müller 2021-2023 Apache License 2.0

Project details


Download files

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

Source Distribution

virustotalpy-1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

virustotalpy-1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file virustotalpy-1.0.tar.gz.

File metadata

  • Download URL: virustotalpy-1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for virustotalpy-1.0.tar.gz
Algorithm Hash digest
SHA256 e90105aac07584dcc3f821182ab2f1e767074d3d517d8a39b35b09e0428761e9
MD5 e18f79e716d2f8c30872323a22fcf1c7
BLAKE2b-256 7ff2e5c6d96e886b654a9f9b7e65b238ccf8d9fda66cafde94c99fcdb8bd8d9a

See more details on using hashes here.

File details

Details for the file virustotalpy-1.0-py3-none-any.whl.

File metadata

  • Download URL: virustotalpy-1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for virustotalpy-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95681a489cde6adcb83ca32314c550804bfeae293b0baed87f6ba1190f26b402
MD5 1ee8351854987493f28bb4c3bda8b2ca
BLAKE2b-256 103263046be80bb82aa4558015f52567df4b108f52ffca217067eb6cc98cff02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page