From a3e302374b09359b2bcf03cd5fd51ba263740deb Mon Sep 17 00:00:00 2001 From: Erik Ritter Date: Fri, 16 Apr 2021 09:16:35 -0700 Subject: [PATCH] fix: Add extra requires for shillelagh (#14180) * fix: Add extra requires for shillelagh * Update google-sheets.mdx * Update index.mdx --- docs/src/pages/docs/Connecting to Databases/google-sheets.mdx | 4 ++-- docs/src/pages/docs/Connecting to Databases/index.mdx | 2 +- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/pages/docs/Connecting to Databases/google-sheets.mdx b/docs/src/pages/docs/Connecting to Databases/google-sheets.mdx index d3b34c3dc0..70cc0d3f10 100644 --- a/docs/src/pages/docs/Connecting to Databases/google-sheets.mdx +++ b/docs/src/pages/docs/Connecting to Databases/google-sheets.mdx @@ -10,8 +10,8 @@ version: 1 Google Sheets has a very limited [SQL API](https://developers.google.com/chart/interactive/docs/querylanguage). The recommended -connector library for Google Sheets is [gsheetsdb](https://github.com/betodealmeida/gsheets-db-api). +connector library for Google Sheets is [shillelagh](https://github.com/betodealmeida/shillelagh). There are a few steps involved in connecting Superset to Google Sheets. This -[tutorial](https://preset.io/blog/2020-06-01-connect-superset-google-sheets/) has the most upto date +[tutorial](https://preset.io/blog/2020-06-01-connect-superset-google-sheets/) has the most up to date instructions on setting up this connection. diff --git a/docs/src/pages/docs/Connecting to Databases/index.mdx b/docs/src/pages/docs/Connecting to Databases/index.mdx index f6f36e3edd..18e7fed3d9 100644 --- a/docs/src/pages/docs/Connecting to Databases/index.mdx +++ b/docs/src/pages/docs/Connecting to Databases/index.mdx @@ -37,7 +37,7 @@ A list of some of the recommended packages. |[Dremio](/docs/databases/dremio)|```pip install sqlalchemy_dremio```|```dremio://user:pwd@host:31010/```| |[Elasticsearch](/docs/databases/elasticsearch)|```pip install elasticsearch-dbapi```|```elasticsearch+http://{user}:{password}@{host}:9200/```| |[Exasol](/docs/databases/exasol)|```pip install sqlalchemy-exasol```|```exa+pyodbc://{username}:{password}@{hostname}:{port}/my_schema?CONNECTIONLCALL=en_US.UTF-8&driver=EXAODBC```| -|[Google Sheets](/docs/databases/google-sheets)|```pip install gsheetsdb```|```gsheets://```| +|[Google Sheets](/docs/databases/google-sheets)|```pip install shillelagh[gsheetsapi]```|```gsheets://```| |[Hologres](/docs/databases/hologres)|```pip install psycopg2```|```postgresql+psycopg2://:@/```| |[IBM Db2](/docs/databases/ibm-db2)|```pip install ibm_db_sa```|```db2+ibm_db://```| |[MySQL](/docs/databases/mysql)|```pip install mysqlclient```|```mysql://:@/```| diff --git a/setup.py b/setup.py index 985aab4555..68e33df6c8 100644 --- a/setup.py +++ b/setup.py @@ -133,7 +133,7 @@ setup( "exasol": ["sqlalchemy-exasol>=2.1.0, <2.2"], "excel": ["xlrd>=1.2.0, <1.3"], "firebird": ["sqlalchemy-firebird>=0.7.0, <0.8"], - "gsheets": ["shillelagh>=0.2, <0.3"], + "gsheets": ["shillelagh[gsheetsapi]>=0.2, <0.3"], "hana": ["hdbcli==2.4.162", "sqlalchemy_hana==0.4.0"], "hive": ["pyhive[hive]>=0.6.1", "tableschema", "thrift>=0.11.0, <1.0.0"], "impala": ["impyla>0.16.2, <0.17"],