Skip to main content

VirusTotalPy

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

Features

The latest Version 1.0.1 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

Release files for virustotalpy 1.0.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 virustotalpy 1.0.1
File Size Uploaded
virustotalpy-1.0.1.tar.gz 4.3 kB Details

Built distribution (wheel)

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

Total release size: 12.9 kB

Release files / virustotalpy-1.0.1.tar.gz

Download URL virustotalpy-1.0.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1bd6166ba2b36a322b9af72fd482557dac8cd4ecfc73dc91085eed19c0b3b8a4
BLAKE2b-256 checksum
How to use checksums
5fae6f85ed4b6d5e28c35a7f3ff78cdfc28263d0a37b8c4ded809a8bb34ba692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / virustotalpy-1.0.1-py3-none-any.whl

Download URL virustotalpy-1.0.1-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ca8448db90c770447e0f32b6e9dd5174f6d77d72c9948e40cea66b3a12d7ef1
BLAKE2b-256 checksum
How to use checksums
dc248169e14fa99ea6d0375665d8a556abea2dd5b7308df0ec038a26bdb16d8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0

2 release files

0.2.4

1 release file

0.2.3

1 release file

0.2.0

1 release file

0.1.1

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