Skip to content

Releases: dbrennand/virustotal-python

1.0.2

08 Feb 20:17
Compare
Choose a tag to compare

Full Changelog: 1.0.1...1.0.2

1.0.1

10 Dec 12:14
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.0...1.0.1

1.0.0

10 Apr 09:51
Compare
Choose a tag to compare

1.0.0

Breaking Changes

  • The Virustotal class now defaults to version 3 of the VirusTotal API.

  • Dropped support for COMPATIBILITY_ENABLED parameter on the Virustotal class.

Docs

  • Updated README content including instructions for running tests and improved general readability.

  • Use Google docstring format.

  • Improved type hints.

  • Refactored examples to favour version 3 of the VirusTotal API.

  • Added CHANGELOG.md

Tests

  • Added new unit tests with 95% coverage.

Misc Changes

  • API_VERSION can now accept an int to specify VirusTotal API version to use.

  • Add GitHub actions workflows for automated testing and publishing.

Full Changelog: 0.2.0...1.0.0

0.2.0

09 Jan 21:48
a729191
Compare
Choose a tag to compare

0.2.0

This release adds support for submitting files that are larger than 32MB in size to the VirusTotal for analysis.

For an example, please see here.

A special thanks to @smk762 for their contribution 👍🏻 ❤️

Please see PR #33 for further details.

0.1.3

13 Jun 10:04
7351473
Compare
Choose a tag to compare

See PR #30 for release notes.

0.1.2 - Dependency Update.

10 Apr 10:47
7d13c78
Compare
Choose a tag to compare

0.1.2

Changes

  • Updated all dependencies and updated version of urllib3 to 1.26.4 to address security vulnerability. Addresses #27
  • Bumped version to 0.1.2.
  • Fixed an issue with test assertions failing. The VirusTotal API now returns "GOOGLE" instead of "GOOGLE LLC".

0.1.1 - Context Manager support and misc changes.

10 Feb 09:16
28e0750
Compare
Choose a tag to compare

0.1.1

New Feature(s)

Added support to invoke the Virustotal class as a Context Manager.

Example:

from virustotal_python import Virustotal

# v2 example
with Virustotal(API_KEY="Insert API key here.") as vtotal:
    # Your code here

# v3 example
with Virustotal(API_KEY="Insert API key here.", API_VERSION="v3") as vtotal:
    # Your code here

Misc Updates

  1. Updated LICENSE year to 2021.
  2. Bumped version to 0.1.1.
  3. Added tests for Context Manager support.
  4. Updated README with Context Manager example and changelog for version 0.1.1.

0.1.0 - Library redesign and VirusTotal v3 API support.

21 Nov 23:48
05dfa8a
Compare
Choose a tag to compare

0.1.0

Issue

#23

Pull Request

#24

Changes

Support has been added for the 3rd version of the VirusTotal public API.

The library has been redesigned to accommodate support for the 3rd version of the VirusTotal public API.

Notable Changes

  • Usage is now via request(). The first parameter being the resource endpoint (e.g: files/{id}) followed by query parameters, data sent in the body of the request, JSON payload, files and the request method.

  • The library now returns the class VirustotalResponse however, to preserve the response dictionary returned by virustotal-python versions <= 0.0.9, the COMPATIBILITY_ENABLED parameter can be provided to the Virustotal class. Additionally, if a HTTP status code other than 200 (successful) occurs, then the class VirustotalError is returned (unless COMPATIBILITY_ENABLED) is provided. Then again, the old dictionary response is returned.

  • New tests have been created to test the majority of the endpoints.

  • New examples can be found in the examples directory. Most of the use cases have been covered.

  • New README with examples and how to run tests.

  • Add ability to provide API key via the environment variable VIRUSTOTAL_API_KEY.

  • Add ability to provide a timeout for requests.

0.0.9

27 Apr 17:41
8168a34
Compare
Choose a tag to compare

This release makes no changes to the library. The only update is that dependencies have been updated due to security vulnerabilities.

0.0.8

02 Mar 20:27
b25ec2b
Compare
Choose a tag to compare

Main Changes

  • Altered examples to remove file_rescan.
  • Added a raise exception for file_rescan.
  • Bumped dependencies to address security issues.

pip3 install virustotal-python