Skip to main content

A Python library/command line to interact with VirusShare API v2.

Project description

PyVirusShare

A Python 3 library to interact with VirusShare API v2. The project is inspired from the latest update from VirusShare and the existed tool, vt-py; a client library for VirusTotal.

Installation

pip3 install virusshare

Usage

Library Usage Demo

from virusshare import VirusShare

v = VirusShare('<api_key>')

result = v.info('a1ac533baaf7de1dae53cf5b465aeca28a7f20bdfc79e5a0a39437dd728c231f')

print(result['data'])
"""
{
    "filetype": "PE32 executable (DLL) (console) Intel 80386 Mono/.Net assembly, for MS Windows",
    "md5": "985d5ff3a3ede247c561c0ea4cedd342",
    "exif": {
        "CharacterSet": "Unicode",
        "CodeSize": 291328,
        "Comments": "Mono.Security.dll",
        "CompanyName": "MONO development team",
        "EntryPoint": "0x2000",
        "FileDescription": "Mono.Security.dll",
        "FileFlags": "(none)",
        "FileFlagsMask": "0x003f",
        "FileOS": "Win32",
        "FileSize": "286 kB",
...
..
.
"""

Command Line Usage

$ PyVirusShare download -k <api_key> -hs <hash_string> -o <output_dir>

Documentation

TODO

[ ] Test on Linux [ ] Test on Windows [ ] Implement the functionalities with the list of hashes and its rate limit system.

License

This project is licensed under the terms of the MIT license.

Project details


Download files

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

Files for PyVirusShare, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size PyVirusShare-1.0.0-py3.7.egg (5.2 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size PyVirusShare-1.0.0.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page