Skip to content

Commit

Permalink
working storage options
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescw committed Jul 14, 2021
1 parent 0270d48 commit 6b92c76
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 65 deletions.
65 changes: 5 additions & 60 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,63 +1,8 @@
pandas==1.3.0
scipy

-e ./transmonee_dashboard

dash_treeview_antd
backcall==0.2.0
boto3==1.17.42
botocore==1.20.42
Brotli==1.0.9
CacheControl==0.12.6
certifi==2020.12.5
chardet==4.0.0
click==7.1.2
dash==1.19.0
dash-bootstrap-components==0.12.0
dash-core-components==1.15.0
dash-html-components==1.1.2
dash-renderer==1.9.0
dash-table==4.11.2
decorator==4.4.2
Flask==1.1.2
Flask-Caching==1.10.1
Flask-Compress==1.9.0
future==0.18.2
mapbox
Flask-Caching
gunicorn==20.0.4
idna==2.10
ipykernel==5.5.3
ipython==7.22.0
ipython-genutils==0.2.0
iso3166==1.0.1
itsdangerous==1.1.0
jedi==0.18.0
Jinja2==2.11.3
jmespath==0.10.0
jupyter-client==6.1.12
jupyter-core==4.7.1
mapbox==0.18.0
MarkupSafe==1.1.1
msgpack==1.0.2
numpy==1.20.2
pandas==1.2.3
parso==0.8.2
pexpect==4.8.0
pickleshare==0.7.5
plotly==4.14.3
polyline==1.4.0
prompt-toolkit==3.0.18
ptyprocess==0.7.0
Pygments==2.8.1
python-dateutil==2.8.1
pytz==2021.1
pyzmq==22.0.3
requests==2.25.1
retrying==1.3.3
s3transfer==0.3.6
scipy==1.6.2
six==1.15.0
tornado==6.1
traitlets==5.0.5
uritemplate==3.0.1
urllib3==1.26.4
wcwidth==0.2.5
Werkzeug==1.0.1

dash_treeview_antd
4 changes: 1 addition & 3 deletions transmonee_dashboard/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
# dictionary.
about = {}
if not VERSION:
with open(
os.path.join(here, "src", "transmonee_dashboard", "__version__.py")
) as f:
with open(os.path.join(here, "src", "transmonee_dashboard", "__version__.py")) as f:
exec(f.read(), about)
else:
about["__version__"] = VERSION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,7 @@ def geocode_address(address):
sdmx = pd.read_csv(
sdmx_url.format("+".join(inds), years[0], years[-1]),
dtype=col_types,
# great would be to make this http header work!
# storage_options={"Accept-Encoding": "gzip"},
storage_options={"Accept-Encoding": "gzip"},
)
except urllib.error.HTTPError as e:
raise e
Expand Down

0 comments on commit 6b92c76

Please sign in to comment.