diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:37:37 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-31 04:37:37 +0000 |
commit | 68acb5c5bd3f09c47970008711a7953842619f52 (patch) | |
tree | 310ef01885bf0f7c56f3db46da9683a8f801fb79 | |
parent | eaf81e126b17e445159fb23a4bf67dc4cf860f04 (diff) |
automatic import of python-feast-azure-provider
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-feast-azure-provider.spec | 301 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 303 insertions, 0 deletions
@@ -0,0 +1 @@ +/feast-azure-provider-0.3.0.tar.gz diff --git a/python-feast-azure-provider.spec b/python-feast-azure-provider.spec new file mode 100644 index 0000000..44915de --- /dev/null +++ b/python-feast-azure-provider.spec @@ -0,0 +1,301 @@ +%global _empty_manifest_terminate_build 0 +Name: python-feast-azure-provider +Version: 0.3.0 +Release: 1 +Summary: A Feast Azure Provider +License: MIT +URL: https://pypi.org/project/feast-azure-provider/ +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/2e/a8ea5c7352235688ffc7fafbee399976ddc4580dd1433f1df43d12bea85b/feast-azure-provider-0.3.0.tar.gz +BuildArch: noarch + +Requires: python3-feast[redis] +Requires: python3-azure-storage-blob +Requires: python3-azure-identity +Requires: python3-SQLAlchemy +Requires: python3-dill +Requires: python3-pyodbc +Requires: python3-pytest +Requires: python3-mypy +Requires: python3-assertpy +Requires: python3-snowflake-connector-python[pandas] + +%description +# Feast Azure Provider + +This goal of this project is to create an Azure provider for [Feast](http://feast.dev), which is an open source feature store. The Feast Azure provider acts like a plugin that allows Feast users to connect to: + +- Azure SQL DB and/or Synapse SQL as the _offline store_ +- Azure cache for Redis as the _online store_ +- Azure blob storage for the feast _registry store_ + +## 📐 Architecture + +The _interoperable_ design of feast means that many Azure services can be used to _produce_ and/or _consume_ features (for example: Azure ML, Synapse, Azure Databricks, Azure functions, etc). + + + +## 🐱👤 Getting Started + +If you want to install locally: + +```bash +pip install feast-azure-provider +``` + +We recommend the [getting started tutorial](./tutorial) that walks you through an end-to-end example. + +You can deploy the infrastructure for feast using: + +[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Ffeast-azure%2Fmain%2Fprovider%2Fcloud%2Ffs_synapse_azuredeploy.json) + +The only 2 required parameters during the set-up are: + +- **Admin Password** for the the Deidcated SQL Pool being deployed. +- **Principal ID** this is to set the storage permissions for the feast registry store. You can find the value for this by opening **Cloud Shell** and run the following command: + +```bash +az ad signed-in-user show --query objectId -o tsv +``` + +## Note +If you would like to recompile a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, run +```bash +python setup.py bdist_wheel --universal +``` +to generate an installable .egg file. + +If you would like to install or run a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, run +```bash +python setup.py install +``` + + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a +Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us +the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. + +When you submit a pull request, a CLA bot will automatically determine whether you need to provide +a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions +provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +## Trademarks + +This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft +trademarks or logos is subject to and must follow +[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). +Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. +Any use of third-party trademarks or logos are subject to those third-party's policies. + + + + +%package -n python3-feast-azure-provider +Summary: A Feast Azure Provider +Provides: python-feast-azure-provider +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-feast-azure-provider +# Feast Azure Provider + +This goal of this project is to create an Azure provider for [Feast](http://feast.dev), which is an open source feature store. The Feast Azure provider acts like a plugin that allows Feast users to connect to: + +- Azure SQL DB and/or Synapse SQL as the _offline store_ +- Azure cache for Redis as the _online store_ +- Azure blob storage for the feast _registry store_ + +## 📐 Architecture + +The _interoperable_ design of feast means that many Azure services can be used to _produce_ and/or _consume_ features (for example: Azure ML, Synapse, Azure Databricks, Azure functions, etc). + + + +## 🐱👤 Getting Started + +If you want to install locally: + +```bash +pip install feast-azure-provider +``` + +We recommend the [getting started tutorial](./tutorial) that walks you through an end-to-end example. + +You can deploy the infrastructure for feast using: + +[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Ffeast-azure%2Fmain%2Fprovider%2Fcloud%2Ffs_synapse_azuredeploy.json) + +The only 2 required parameters during the set-up are: + +- **Admin Password** for the the Deidcated SQL Pool being deployed. +- **Principal ID** this is to set the storage permissions for the feast registry store. You can find the value for this by opening **Cloud Shell** and run the following command: + +```bash +az ad signed-in-user show --query objectId -o tsv +``` + +## Note +If you would like to recompile a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, run +```bash +python setup.py bdist_wheel --universal +``` +to generate an installable .egg file. + +If you would like to install or run a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, run +```bash +python setup.py install +``` + + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a +Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us +the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. + +When you submit a pull request, a CLA bot will automatically determine whether you need to provide +a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions +provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +## Trademarks + +This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft +trademarks or logos is subject to and must follow +[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). +Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. +Any use of third-party trademarks or logos are subject to those third-party's policies. + + + + +%package help +Summary: Development documents and examples for feast-azure-provider +Provides: python3-feast-azure-provider-doc +%description help +# Feast Azure Provider + +This goal of this project is to create an Azure provider for [Feast](http://feast.dev), which is an open source feature store. The Feast Azure provider acts like a plugin that allows Feast users to connect to: + +- Azure SQL DB and/or Synapse SQL as the _offline store_ +- Azure cache for Redis as the _online store_ +- Azure blob storage for the feast _registry store_ + +## 📐 Architecture + +The _interoperable_ design of feast means that many Azure services can be used to _produce_ and/or _consume_ features (for example: Azure ML, Synapse, Azure Databricks, Azure functions, etc). + + + +## 🐱👤 Getting Started + +If you want to install locally: + +```bash +pip install feast-azure-provider +``` + +We recommend the [getting started tutorial](./tutorial) that walks you through an end-to-end example. + +You can deploy the infrastructure for feast using: + +[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Ffeast-azure%2Fmain%2Fprovider%2Fcloud%2Ffs_synapse_azuredeploy.json) + +The only 2 required parameters during the set-up are: + +- **Admin Password** for the the Deidcated SQL Pool being deployed. +- **Principal ID** this is to set the storage permissions for the feast registry store. You can find the value for this by opening **Cloud Shell** and run the following command: + +```bash +az ad signed-in-user show --query objectId -o tsv +``` + +## Note +If you would like to recompile a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, run +```bash +python setup.py bdist_wheel --universal +``` +to generate an installable .egg file. + +If you would like to install or run a custom version of feast-azure-provider, go to provider/sdk where setup.py is located, run +```bash +python setup.py install +``` + + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a +Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us +the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. + +When you submit a pull request, a CLA bot will automatically determine whether you need to provide +a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions +provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). +For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or +contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. + +## Trademarks + +This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft +trademarks or logos is subject to and must follow +[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). +Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. +Any use of third-party trademarks or logos are subject to those third-party's policies. + + + + +%prep +%autosetup -n feast-azure-provider-0.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-feast-azure-provider -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 31 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1 +- Package Spec generated @@ -0,0 +1 @@ +d5df8b20250f72d2de77c6f06f627fad feast-azure-provider-0.3.0.tar.gz |