Releases: dbrennand/virustotal-python
1.1.0
1.0.2
Full Changelog: 1.0.1...1.0.2
1.0.1
1.0.0
1.0.0
Breaking Changes
-
The
Virustotal
class now defaults to version 3 of the VirusTotal API. -
Dropped support for
COMPATIBILITY_ENABLED
parameter on theVirustotal
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 anint
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
0.1.3
0.1.2 - Dependency Update.
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.
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
- Updated LICENSE year to 2021.
- Bumped version to 0.1.1.
- Added tests for Context Manager support.
- Updated README with Context Manager example and changelog for version 0.1.1.
0.1.0 - Library redesign and VirusTotal v3 API support.
0.1.0
Issue
Pull Request
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 byvirustotal-python
versions <= 0.0.9, theCOMPATIBILITY_ENABLED
parameter can be provided to theVirustotal
class. Additionally, if a HTTP status code other than 200 (successful) occurs, then the classVirustotalError
is returned (unlessCOMPATIBILITY_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.