diff --git a/Pipfile.lock b/Pipfile.lock index ab7fe23..f91c37d 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -39,10 +39,11 @@ }, "pysocks": { "hashes": [ - "sha256:3fe52c55890a248676fd69dc9e3c4e811718b777834bcaab7a8125cf9deac672", - "sha256:6d13981cc41cfff685270f3ee84de46a29dce982e5d16c904c11d6b3df14d761" + "sha256:15d38914b60dbcb231d276f64882a20435c049450160e953ca7d313d1405f16f", + "sha256:32238918ac0f19e9fd870a8692ac9bd14f5e8752b3c62624cda5851424642210", + "sha256:d9031ea45fdfacbe59a99273e9f0448ddb33c1580fe3831c1b09557c5718977c" ], - "version": "==1.6.8" + "version": "==1.7.0" }, "requests": { "extras": [ @@ -138,10 +139,10 @@ }, "pygments": { "hashes": [ - "sha256:5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a", - "sha256:e8218dd399a61674745138520d0d4cf2621d7e032439341bc3f647bff125818d" + "sha256:31cba6ffb739f099a85e243eff8cb717089fdd3c7300767d9fc34cb8e1b065f5", + "sha256:5ad302949b3c98dd73f8d9fcdc7e9cb592f120e32a18e23efd7f3dc51194472b" ], - "version": "==2.3.1" + "version": "==2.4.0" }, "readme-renderer": { "hashes": [ @@ -184,10 +185,10 @@ }, "tqdm": { "hashes": [ - "sha256:d385c95361699e5cf7622485d9b9eae2d4864b21cd5a2374a9c381ffed701021", - "sha256:e22977e3ebe961f72362f6ddfb9197cc531c9737aaf5f607ef09740c849ecd05" + "sha256:0a860bf2683fdbb4812fe539a6c22ea3f1777843ea985cb8c3807db448a0f7ab", + "sha256:e288416eecd4df19d12407d0c913cbf77aa8009d7fddb18f632aded3bdbdda6b" ], - "version": "==4.31.1" + "version": "==4.32.1" }, "twine": { "hashes": [ diff --git a/README.md b/README.md index a7efaf6..84c8b07 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# virustotal-python +# virustotal-python 🐍 +![PyPI](https://img.shields.io/pypi/v/virustotal-python.svg?style=flat-square) + A light wrapper around the public VirusTotal API. # Dependancies @@ -10,7 +12,7 @@ black = "*" twine = "*" [packages] -requests = "*" +requests = {extras = ["socks"],version = "*"} ``` ```pipenv install``` @@ -25,7 +27,7 @@ Or ## Example Usage ```python -from virustotal import Virustotal +from virustotal_python import Virustotal from pprint import pprint # Normal Initialisation. @@ -130,6 +132,8 @@ pprint(resp) ## Changelog +* 0.0.6 - Fixed usage example and dependencies in README.md, Setup github.io website, updated requirements.txt. + * 0.0.5 - Added Proxy support. Via HTTP(S) or using SOCKS: See [#8](https://github.com/Dextroz/virustotal-python/pull/8). * 0.0.4 - README.md updated; dependencies updated. diff --git a/requirements.txt b/requirements.txt index 6b1813f..4955c41 100644 Binary files a/requirements.txt and b/requirements.txt differ diff --git a/setup.py b/setup.py index a251370..952eeba 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="virustotal-python", - version="0.0.5", + version="0.0.6", author="Dextroz", author_email="dextrozmlg@gmail.com", description="A light wrapper around the public VirusTotal API.", diff --git a/virustotal_python/virustotal.py b/virustotal_python/virustotal.py index b4de170..37f1f2e 100644 --- a/virustotal_python/virustotal.py +++ b/virustotal_python/virustotal.py @@ -36,7 +36,7 @@ def __init__(self, API_KEY=None, PROXIES=None): self.API_KEY = API_KEY self.PROXIES = PROXIES self.BASEURL = "https://www.virustotal.com/vtapi/v2/" - self.VERSION = "0.0.5" + self.VERSION = "0.0.6" self.headers = { "Accept-Encoding": "gzip, deflate", "User-Agent": f"gzip, virustotal-python {self.VERSION}",