From fdea2ba99b1ff04670e6089e7ad262f42474f67c Mon Sep 17 00:00:00 2001 From: Dextroz <25749668+Dextroz@users.noreply.github.com> Date: Tue, 14 May 2019 15:15:10 +0100 Subject: [PATCH] 0.0.6 (#11) * Updated dependencies. * Updated changelog, dependencies & usage example. * Bumped version to 0.0.6 * Add shield. * Fix formatting. --- Pipfile.lock | 19 ++++++++++--------- README.md | 10 +++++++--- requirements.txt | Bin 311 -> 696 bytes setup.py | 2 +- virustotal_python/virustotal.py | 2 +- 5 files changed, 19 insertions(+), 14 deletions(-) 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 6b1813fac1ca4e5036f465ce00a705b61a3ba112..4955c41f7dc12bf07f1d61143bd447579350568a 100644 GIT binary patch literal 696 zcmZ9K(N2R<5JdOc#7}8cpvL;(lRseM7tj`4QVNyQRDWJQvy1e`++0GK-PxI0e!fdP zakf@lZ)bbvWHz@Yx3GJ=v(g664O@Za+=ZiSYpB@RVeAz8Wa|X29N#-$fQmhOH&($r zF!`OU$vH?yzh;X^^EbAKp+{jwt*V4AxJ$=hP*6__9vxHP);hjkoWB{JsVf`%YARZo zWA5Bm&UV7d4!#ymonzAb;H>Hu^Q(PPb3{)Idt|0W!rfoRo6kQanclSZ^p?yQ#|&>` zl0Uumqatk}a?;lioK$e7^YSFi|1~ozJ5IwcDxQ&?{43q?amMH8-dk#b@2mnflN9PH}ZRgT7YB@^fcZw;qLQ!!QK$-j0*tMs;Pu49V!uuFEQJp|V; D5cFZn literal 311 zcmXv}%W}gY47}@Kq5jS6$K!1UU;%I`w!FZDXeFdE!SNqVe+xN)zuvX)Y23%_c zET~a|PcA%!TG058$c4MLW^jRO;~QH$sm|j9;qGdr)&&Y@_)6T(ACePGI2$MVqEOGk zF+1_$C+v@v^R4vnS21b${#iH5O_Y;lYN+JmMwd!CQl%>AS@J49PdffoQ!n~|xU^D| zrz9m5$_6<2-NW@HqE@yv8mJDQakEw?3kmJTnTAfP!&y^eZ#tH5243VThY~rjW5HD% Ezf(6_a{vGU 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}",