Skip to content

Commit

Permalink
Feature/rest api (#12)
Browse files Browse the repository at this point in the history
* feat(rest-api): added rest api interface to superset WIP

UIC-661

* feat(rest-api): upgraded rest api interface with python version 3.6.5

UIC-661

* feat(rest-api): refactored tox to work with pipenv

changed dependency version for autopep8 in pipfile which was causing an issue for pycodestyle dep conflict

UIC-661

* feat(rest-api): deleted requirements.txt and requirements-dev.txt against pipenv usage

UIC-661

* feat(rest-api): added .python-version file

UIC-661

* feat(pipenv-support): Docker build with pipenv

Though the Size of docker build is now increased to 4.6GB from 2.6GB
UIC-661

* feat(pipenv-support): Reverted Docker build with pipenv

Falling back to pip due to increase in docker image size

UIC-661

* feat(rest-api): removed unnecessary commented code

UIC-661
  • Loading branch information
bipinsoniguavus authored Nov 10, 2018
1 parent a67f3f2 commit 27fb727
Show file tree
Hide file tree
Showing 32 changed files with 4,269 additions and 136 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ app.db
.idea
*.sqllite
.vscode
.python-version
.tox
dump.rdb

Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.6.5
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6.0
FROM python:3.6.5

MAINTAINER Arpit Agarwal <[email protected]>

Expand Down Expand Up @@ -31,7 +31,6 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -; \

RUN cd superset/assets && yarn && yarn run build && cd ../../


ENV PATH=/home/work/incubator-superset/superset/bin:$PATH \
PYTHONPATH=./superset/:$PYTHONPATH

Expand Down
73 changes: 73 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
superset = {editable = true, path = "."}
colorama = "==0.3.9"
click = "==6.7"
bleach = "==2.1.2"
"boto3" = "==1.4.7"
botocore = "==1.7.48"
celery = "==4.2.0"
cryptography = "==1.9"
flower = "==0.9.2"
future = "==0.16.0"
geopy = "==1.11.0"
gunicorn = "==19.8.0"
humanize = "==0.5.1"
idna = "==2.6"
isodate = "==0.6.0"
pandas = "==0.23.1"
parsedatetime = "==2.0.0"
"pathlib2" = "==2.3.0"
polyline = "==1.3.2"
pydruid = "==0.4.4"
"psycopg2-binary" = "==2.7.5"
python-dateutil = "==2.6.1"
python-geohash = "==0.8.5"
requests = "==2.18.4"
simplejson = "==3.15.0"
six = "==1.11.0"
sqlparse = "==0.2.4"
tableschema = "==1.1.0"
thrift = "==0.11.0"
unicodecsv = "==0.14.1"
"contextlib2" = "==0.5.5"
elasticsearch = "==5.5.3"
Flask = "==0.12.2"
Flask-WTF = "==0.14.2"
PyYAML = "==3.12"
Unidecode = "==1.0.22"
Flask-AppBuilder = "==1.10.0"
Flask-Caching = "==1.4.0"
Flask-Compress = "==1.4.0"
Flask-Migrate = "==2.1.1"
Flask-SQLAlchemy = "==2.1"
Markdown = "==2.6.11"
PyHive = "==0.5.1"
SQLAlchemy = "==1.2.2"
SQLAlchemy-Utils = "==0.32.21"
thrift_sasl = "==0.3.0"
pipenv = "*"

[dev-packages]
"autopep8" = "==1.3.5"
console-log = "==0.2.10"
"flake8-coding" = "==1.3.0"
"flake8-commas" = "==2.0.0"
"flake8-future-import" = "==0.4.5"
"flake8-import-order" = "==0.18"
"flake8-quotes" = "==1.0.0"
"flake8" = "==3.5.0"
ipdb = "==0.11"
mysqlclient = "==1.3.12"
pylint = "==1.9.2"
redis = "==2.10.6"
statsd = "==3.2.2"
tox = "==3.1.2"
Flask-Cors = "==3.0.3"

[requires]
python_version = "3.6"
Loading

0 comments on commit 27fb727

Please sign in to comment.