Skip to content

0.1.1 - Context Manager support and misc changes.

Compare
Choose a tag to compare
@dbrennand dbrennand released this 10 Feb 09:16
· 136 commits to master since this release
28e0750

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.