1
0
mirror of https://github.com/bspeice/metrik synced 2024-12-25 23:18:15 -05:00

Add requests?

This commit is contained in:
Bradlee Speice 2016-08-07 22:07:40 -04:00
parent fbefe3d762
commit 28c91aa34e
3 changed files with 9 additions and 2 deletions

View File

@ -1,8 +1,13 @@
from luigi import Task, Parameter
from pyquery import PyQuery as pq
from urllib.parse import quote_plus
import logging
try:
from urllib.parse import quote_plus
except ImportError:
# noinspection PyUnresolvedReferences
from urllib import quote_plus
class BloombergEquityInfo(Task):
bbg_code = Parameter()

View File

@ -1,2 +1,3 @@
luigi>=2.2.0
pyquery>=1.2.13
pyquery>=1.2.13
requests>=2.9.1

View File

@ -10,6 +10,7 @@ setup(
install_requires=[
'pyquery >= 1.2.13',
'luigi >= 2.2.0',
'requests >= 2.9.1'
],
setup_requires=[
'pytest_runner'