File tree Expand file tree Collapse file tree 7 files changed +9
-10
lines changed Expand file tree Collapse file tree 7 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
1
dist : xenial
2
2
language : python
3
3
python :
4
- - ' 3.5'
5
4
- ' 3.6'
6
5
- ' 3.7'
7
6
install :
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Welcome to vt-py's documentation!
9
9
`vt-py <https://github.com/VirusTotal/vt-py >`_ is the official Python client library
10
10
for the `VirusTotal API v3 <https://developers.virustotal.com/v3.0/reference >`_.
11
11
12
- This library requires Python 3.5.6 +, Python 2.x is not supported. This is because vt-py
12
+ This library requires Python 3.6.0 +, Python 2.x is not supported. This is because vt-py
13
13
makes use of the new `async/await <https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/ >`_
14
14
syntax for implementing asynchronous coroutines.
15
15
Original file line number Diff line number Diff line change 153
153
< h1 > Welcome to vt-py’s documentation!< a class ="headerlink " href ="#welcome-to-vt-py-s-documentation " title ="Permalink to this headline "> ¶</ a > </ h1 >
154
154
< p > < a class ="reference external " href ="https://github.com/VirusTotal/vt-py "> vt-py</ a > is the official Python client library
155
155
for the < a class ="reference external " href ="https://developers.virustotal.com/v3.0/reference "> VirusTotal API v3</ a > .</ p >
156
- < p > This library requires Python 3.5.6 +, Python 2.x is not supported. This is because vt-py
156
+ < p > This library requires Python 3.6.0 +, Python 2.x is not supported. This is because vt-py
157
157
makes use of the new < a class ="reference external " href ="https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/ "> async/await</ a >
158
158
syntax for implementing asynchronous coroutines.</ p >
159
159
< p > Not supporting Python 2.x was a difficult decission to make, as we are aware
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Welcome to vt-py's documentation!
9
9
`vt-py <https://github.com/VirusTotal/vt-py >`_ is the official Python client library
10
10
for the `VirusTotal API v3 <https://developers.virustotal.com/v3.0/reference >`_.
11
11
12
- This library requires Python 3.5.6 +, Python 2.x is not supported. This is because vt-py
12
+ This library requires Python 3.6.0 +, Python 2.x is not supported. This is because vt-py
13
13
makes use of the new `async/await <https://snarky.ca/how-the-heck-does-async-await-work-in-python-3-5/ >`_
14
14
syntax for implementing asynchronous coroutines.
15
15
Original file line number Diff line number Diff line change 22
22
with open ('README.md' , 'r' ) as fh :
23
23
long_description = fh .read ()
24
24
25
- if sys .version_info < (3 , 5 , 0 ):
26
- raise RuntimeError ('vt-py requires Python 3.5 .0+' )
25
+ if sys .version_info < (3 , 6 , 0 ):
26
+ raise RuntimeError ('vt-py requires Python 3.6 .0+' )
27
27
28
28
install_requires = [
29
29
'asyncio' ,
41
41
long_description_content_type = "text/markdown" ,
42
42
url = 'https://github.com/VirusTotal/vt-py' ,
43
43
packages = ['vt' ],
44
- python_requires = '>=3.5 .0' ,
44
+ python_requires = '>=3.6 .0' ,
45
45
install_requires = install_requires ,
46
46
classifiers = [
47
47
'Programming Language :: Python :: 3' ,
Original file line number Diff line number Diff line change @@ -121,8 +121,8 @@ def __iter__(self):
121
121
self ._batch_cursor = 0
122
122
return self
123
123
124
- async def __aiter__ (self ):
125
- self ._items , self ._server_cursor = await self ._get_batch_async (
124
+ def __aiter__ (self ):
125
+ self ._items , self ._server_cursor = self ._get_batch_async (
126
126
self ._batch_cursor )
127
127
self ._batch_cursor = 0
128
128
return self
Original file line number Diff line number Diff line change 1
- __version__ = '0.4 .0'
1
+ __version__ = '0.5 .0'
You can’t perform that action at this time.
0 commit comments