Skip to main content

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 PyVirusShare

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",
...
..
.
"""
Method Example
Virustotal.info v.info('<hash_str>')
Virustotal.download v.download('<hash_str>', '/tmp')
Virustotal.quick v.quick('<hash_str>')
Virustotal.source v.source('<hash_str>')

Command Line Usage

TODO

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.

Metadata

Release files for PyVirusShare 1.0.3

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

Source distribution (sdist)

Source distribution for PyVirusShare 1.0.3
File Size Uploaded
PyVirusShare-1.0.3.tar.gz 3.1 kB Details

Release files / PyVirusShare-1.0.3.tar.gz

Download URL PyVirusShare-1.0.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
20bc6750f7c2dcd17aa56934ec74caa4210cee544cd97b2022a820ef5f4a86fb
BLAKE2b-256 checksum
How to use checksums
fac002a6cd7b3f0963074e561374bc9ded96c82b1a241977afbbcaf0751e7e43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

2 release files

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