diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-18 04:39:01 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-18 04:39:01 +0000 |
commit | d8ab4e3ed8d52ac30705c9b24e9fc0e1f079f05b (patch) | |
tree | 6ae93c163472ffdea59bb2aa9a5706979593d453 | |
parent | 4f3f36650b8b9ea6b5c2edea8b66d6186bb2f322 (diff) |
automatic import of python-exabel-data-sdk
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-exabel-data-sdk.spec | 279 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 281 insertions, 0 deletions
@@ -0,0 +1 @@ +/exabel-data-sdk-4.3.0.tar.gz diff --git a/python-exabel-data-sdk.spec b/python-exabel-data-sdk.spec new file mode 100644 index 0000000..007c2ea --- /dev/null +++ b/python-exabel-data-sdk.spec @@ -0,0 +1,279 @@ +%global _empty_manifest_terminate_build 0 +Name: python-exabel-data-sdk +Version: 4.3.0 +Release: 1 +Summary: Python SDK for the Exabel Data API +License: MIT +URL: https://github.com/Exabel/python-sdk +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/da/9c/2109dd8a17ca294152b4ce5b2b8c5c2027c48966c2d6c656d287b7b3435f/exabel-data-sdk-4.3.0.tar.gz +BuildArch: noarch + +Requires: python3-google-api-core +Requires: python3-googleapis-common-protos +Requires: python3-grpcio +Requires: python3-openpyxl +Requires: python3-pandas +Requires: python3-protobuf +Requires: python3-requests +Requires: python3-sqlalchemy +Requires: python3-pyathena +Requires: python3-pyarrow +Requires: python3-google-cloud-bigquery +Requires: python3-sqlalchemy-bigquery +Requires: python3-sqlalchemy +Requires: python3-snowflake-connector-python +Requires: python3-snowflake-sqlalchemy + +%description +# Exabel Python SDK + +A Python SDK which provides easy access to Exabel APIs. + +## Installation + +``` +pip install exabel-data-sdk +``` + +or download from [PyPI](https://pypi.org/project/exabel-data-sdk/). + +The SDK requires Python 3.7 or later. + +### Installation with SQL data source support + +For installation with support for exporting data from a various SQL based data sources, add the data source as a pip extra in brackets after the package name: + +```sh +# Install the Exabel Python SDK with Snowflake support: +pip install exabel-data-sdk[snowflake] + +# Or install multiple data sources at the same time: +pip install exabel-data-sdk[snowflake,bigquery,athena] +``` + +Supported data sources are: +* Snowflake: `snowflake` +* Google BigQuery: `bigquery` +* AWS Athena: `athena` + +## Getting started + +To use the SDK against the Data API, Analytics API or Management API, you need an API key provided by Exabel. + +The Exabel Export API can be used by authenticating with username and password. +The first time you run the script a web browser window is opened where you are asked to provide username and password. The script stores an access token in ``~/.exabel``, so you will not be asked again +until the token expires. + +[Export API Developer guide](https://help.exabel.com/docs/exporting-via-exabel-sdk) + +[Examples of usage](https://github.com/Exabel/python-sdk/tree/main/exabel_data_sdk/examples). + +## Exabel API documentation + +### Data API +The Exabel Data API can be used to upload custom data to the Exabel platform. Custom data may include entities, relationships and time series. + +[Data API Developer guide](https://help.exabel.com/docs/data-api) + +### Export API +The Exabel Export API can be used to export dashboards and signals from the Exabel Platform. + +[Export API Developer guide](https://help.exabel.com/docs/exporting-via-exabel-sdk) + +### Analytics API +The Exabel Analytics API can be used to manage derived signals and prediction models on the Exabel Platform. + +[Analytics API Developer guide](https://help.exabel.com/docs/analytics-api) + +### Management API +The Exabel Management API can be used to manage the library on the Exabel Platform. + +[Management API Developer guide](https://help.exabel.com/docs/management-api) + + +%package -n python3-exabel-data-sdk +Summary: Python SDK for the Exabel Data API +Provides: python-exabel-data-sdk +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-exabel-data-sdk +# Exabel Python SDK + +A Python SDK which provides easy access to Exabel APIs. + +## Installation + +``` +pip install exabel-data-sdk +``` + +or download from [PyPI](https://pypi.org/project/exabel-data-sdk/). + +The SDK requires Python 3.7 or later. + +### Installation with SQL data source support + +For installation with support for exporting data from a various SQL based data sources, add the data source as a pip extra in brackets after the package name: + +```sh +# Install the Exabel Python SDK with Snowflake support: +pip install exabel-data-sdk[snowflake] + +# Or install multiple data sources at the same time: +pip install exabel-data-sdk[snowflake,bigquery,athena] +``` + +Supported data sources are: +* Snowflake: `snowflake` +* Google BigQuery: `bigquery` +* AWS Athena: `athena` + +## Getting started + +To use the SDK against the Data API, Analytics API or Management API, you need an API key provided by Exabel. + +The Exabel Export API can be used by authenticating with username and password. +The first time you run the script a web browser window is opened where you are asked to provide username and password. The script stores an access token in ``~/.exabel``, so you will not be asked again +until the token expires. + +[Export API Developer guide](https://help.exabel.com/docs/exporting-via-exabel-sdk) + +[Examples of usage](https://github.com/Exabel/python-sdk/tree/main/exabel_data_sdk/examples). + +## Exabel API documentation + +### Data API +The Exabel Data API can be used to upload custom data to the Exabel platform. Custom data may include entities, relationships and time series. + +[Data API Developer guide](https://help.exabel.com/docs/data-api) + +### Export API +The Exabel Export API can be used to export dashboards and signals from the Exabel Platform. + +[Export API Developer guide](https://help.exabel.com/docs/exporting-via-exabel-sdk) + +### Analytics API +The Exabel Analytics API can be used to manage derived signals and prediction models on the Exabel Platform. + +[Analytics API Developer guide](https://help.exabel.com/docs/analytics-api) + +### Management API +The Exabel Management API can be used to manage the library on the Exabel Platform. + +[Management API Developer guide](https://help.exabel.com/docs/management-api) + + +%package help +Summary: Development documents and examples for exabel-data-sdk +Provides: python3-exabel-data-sdk-doc +%description help +# Exabel Python SDK + +A Python SDK which provides easy access to Exabel APIs. + +## Installation + +``` +pip install exabel-data-sdk +``` + +or download from [PyPI](https://pypi.org/project/exabel-data-sdk/). + +The SDK requires Python 3.7 or later. + +### Installation with SQL data source support + +For installation with support for exporting data from a various SQL based data sources, add the data source as a pip extra in brackets after the package name: + +```sh +# Install the Exabel Python SDK with Snowflake support: +pip install exabel-data-sdk[snowflake] + +# Or install multiple data sources at the same time: +pip install exabel-data-sdk[snowflake,bigquery,athena] +``` + +Supported data sources are: +* Snowflake: `snowflake` +* Google BigQuery: `bigquery` +* AWS Athena: `athena` + +## Getting started + +To use the SDK against the Data API, Analytics API or Management API, you need an API key provided by Exabel. + +The Exabel Export API can be used by authenticating with username and password. +The first time you run the script a web browser window is opened where you are asked to provide username and password. The script stores an access token in ``~/.exabel``, so you will not be asked again +until the token expires. + +[Export API Developer guide](https://help.exabel.com/docs/exporting-via-exabel-sdk) + +[Examples of usage](https://github.com/Exabel/python-sdk/tree/main/exabel_data_sdk/examples). + +## Exabel API documentation + +### Data API +The Exabel Data API can be used to upload custom data to the Exabel platform. Custom data may include entities, relationships and time series. + +[Data API Developer guide](https://help.exabel.com/docs/data-api) + +### Export API +The Exabel Export API can be used to export dashboards and signals from the Exabel Platform. + +[Export API Developer guide](https://help.exabel.com/docs/exporting-via-exabel-sdk) + +### Analytics API +The Exabel Analytics API can be used to manage derived signals and prediction models on the Exabel Platform. + +[Analytics API Developer guide](https://help.exabel.com/docs/analytics-api) + +### Management API +The Exabel Management API can be used to manage the library on the Exabel Platform. + +[Management API Developer guide](https://help.exabel.com/docs/management-api) + + +%prep +%autosetup -n exabel-data-sdk-4.3.0 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-exabel-data-sdk -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 4.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +f8352f3b4c0398c276ea1e316a7254a6 exabel-data-sdk-4.3.0.tar.gz |