diff options
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-azure-cognitiveservices-language-textanalytics.spec | 328 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 330 insertions, 0 deletions
@@ -0,0 +1 @@ +/azure-cognitiveservices-language-textanalytics-0.2.1.zip diff --git a/python-azure-cognitiveservices-language-textanalytics.spec b/python-azure-cognitiveservices-language-textanalytics.spec new file mode 100644 index 0000000..57813e9 --- /dev/null +++ b/python-azure-cognitiveservices-language-textanalytics.spec @@ -0,0 +1,328 @@ +%global _empty_manifest_terminate_build 0 +Name: python-azure-cognitiveservices-language-textanalytics +Version: 0.2.1 +Release: 1 +Summary: Microsoft Azure Cognitive Services Text Analytics Client Library for Python +License: MIT License +URL: https://github.com/Azure/azure-sdk-for-python +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/7d/b4/0943bffedb7ec639ec483206aca96e869d408ee03033d4c78f2c0959a845/azure-cognitiveservices-language-textanalytics-0.2.1.zip +BuildArch: noarch + +Requires: python3-msrest +Requires: python3-azure-common +Requires: python3-azure-mgmt-core +Requires: python3-azure-cognitiveservices-language-nspkg + +%description +# NOTE: There is a newer version of this package + +Please install the [azure-ai-textanalytics](https://pypi.org/project/azure-ai-textanalytics/) package for the latest features and support. + +# Microsoft Azure SDK for Python + +This is the Microsoft Azure Cognitive Services Text Analytics Client Library. +This package has been tested with Python 2.7, 3.6+. +For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). + + +# Usage + + + + +For code examples, see [Cognitive Services Text Analytics](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) on docs.microsoft.com. + + +# Provide Feedback + +If you encounter any bugs or have suggestions, please file an issue in the +[Issues](https://github.com/Azure/azure-sdk-for-python/issues) +section of the project. + + + + + +# Release History + + +## 0.2.1 (2022-02-15) + +- There is a newer version of this package. Please install the [azure-ai-textanalytics](https://pypi.org/project/azure-ai-textanalytics/) package for the latest features and support. + +## 0.2.0 (2019-03-12) + +**Features** + + - Client class can be used as a context manager to keep the underlying + HTTP session open for performance + - New method "entities" + - Model KeyPhraseBatchResultItem has a new parameter statistics + - Model KeyPhraseBatchResult has a new parameter statistics + - Model LanguageBatchResult has a new parameter statistics + - Model LanguageBatchResultItem has a new parameter statistics + - Model SentimentBatchResult has a new parameter statistics + +**Breaking changes** + + - TextAnalyticsAPI main client has been renamed TextAnalyticsClient + - TextAnalyticsClient parameter is no longer a region but a complete + endpoint + +**General Breaking changes** + +This version uses a next-generation code generator that *might* +introduce breaking changes. + + - Model signatures now use only keyword-argument syntax. All + positional arguments must be re-written as keyword-arguments. To + keep auto-completion in most cases, models are now generated for + Python 2 and Python 3. Python 3 uses the "*" syntax for + keyword-only arguments. + - Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to + improve the behavior when unrecognized enum values are encountered. + While this is not a breaking change, the distinctions are important, + and are documented here: + <https://docs.python.org/3/library/enum.html#others> At a glance: + - "is" should not be used at all. + - "format" will return the string value, where "%s" string + formatting will return `NameOfEnum.stringvalue`. Format syntax + should be prefered. + +**Bugfixes** + + - Compatibility of the sdist with wheel 0.31.0 + +## 0.1.0 (2018-01-12) + + - Initial Release + + + + +%package -n python3-azure-cognitiveservices-language-textanalytics +Summary: Microsoft Azure Cognitive Services Text Analytics Client Library for Python +Provides: python-azure-cognitiveservices-language-textanalytics +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-azure-cognitiveservices-language-textanalytics +# NOTE: There is a newer version of this package + +Please install the [azure-ai-textanalytics](https://pypi.org/project/azure-ai-textanalytics/) package for the latest features and support. + +# Microsoft Azure SDK for Python + +This is the Microsoft Azure Cognitive Services Text Analytics Client Library. +This package has been tested with Python 2.7, 3.6+. +For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). + + +# Usage + + + + +For code examples, see [Cognitive Services Text Analytics](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) on docs.microsoft.com. + + +# Provide Feedback + +If you encounter any bugs or have suggestions, please file an issue in the +[Issues](https://github.com/Azure/azure-sdk-for-python/issues) +section of the project. + + + + + +# Release History + + +## 0.2.1 (2022-02-15) + +- There is a newer version of this package. Please install the [azure-ai-textanalytics](https://pypi.org/project/azure-ai-textanalytics/) package for the latest features and support. + +## 0.2.0 (2019-03-12) + +**Features** + + - Client class can be used as a context manager to keep the underlying + HTTP session open for performance + - New method "entities" + - Model KeyPhraseBatchResultItem has a new parameter statistics + - Model KeyPhraseBatchResult has a new parameter statistics + - Model LanguageBatchResult has a new parameter statistics + - Model LanguageBatchResultItem has a new parameter statistics + - Model SentimentBatchResult has a new parameter statistics + +**Breaking changes** + + - TextAnalyticsAPI main client has been renamed TextAnalyticsClient + - TextAnalyticsClient parameter is no longer a region but a complete + endpoint + +**General Breaking changes** + +This version uses a next-generation code generator that *might* +introduce breaking changes. + + - Model signatures now use only keyword-argument syntax. All + positional arguments must be re-written as keyword-arguments. To + keep auto-completion in most cases, models are now generated for + Python 2 and Python 3. Python 3 uses the "*" syntax for + keyword-only arguments. + - Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to + improve the behavior when unrecognized enum values are encountered. + While this is not a breaking change, the distinctions are important, + and are documented here: + <https://docs.python.org/3/library/enum.html#others> At a glance: + - "is" should not be used at all. + - "format" will return the string value, where "%s" string + formatting will return `NameOfEnum.stringvalue`. Format syntax + should be prefered. + +**Bugfixes** + + - Compatibility of the sdist with wheel 0.31.0 + +## 0.1.0 (2018-01-12) + + - Initial Release + + + + +%package help +Summary: Development documents and examples for azure-cognitiveservices-language-textanalytics +Provides: python3-azure-cognitiveservices-language-textanalytics-doc +%description help +# NOTE: There is a newer version of this package + +Please install the [azure-ai-textanalytics](https://pypi.org/project/azure-ai-textanalytics/) package for the latest features and support. + +# Microsoft Azure SDK for Python + +This is the Microsoft Azure Cognitive Services Text Analytics Client Library. +This package has been tested with Python 2.7, 3.6+. +For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all). + + +# Usage + + + + +For code examples, see [Cognitive Services Text Analytics](https://docs.microsoft.com/python/api/overview/azure/cognitive-services) on docs.microsoft.com. + + +# Provide Feedback + +If you encounter any bugs or have suggestions, please file an issue in the +[Issues](https://github.com/Azure/azure-sdk-for-python/issues) +section of the project. + + + + + +# Release History + + +## 0.2.1 (2022-02-15) + +- There is a newer version of this package. Please install the [azure-ai-textanalytics](https://pypi.org/project/azure-ai-textanalytics/) package for the latest features and support. + +## 0.2.0 (2019-03-12) + +**Features** + + - Client class can be used as a context manager to keep the underlying + HTTP session open for performance + - New method "entities" + - Model KeyPhraseBatchResultItem has a new parameter statistics + - Model KeyPhraseBatchResult has a new parameter statistics + - Model LanguageBatchResult has a new parameter statistics + - Model LanguageBatchResultItem has a new parameter statistics + - Model SentimentBatchResult has a new parameter statistics + +**Breaking changes** + + - TextAnalyticsAPI main client has been renamed TextAnalyticsClient + - TextAnalyticsClient parameter is no longer a region but a complete + endpoint + +**General Breaking changes** + +This version uses a next-generation code generator that *might* +introduce breaking changes. + + - Model signatures now use only keyword-argument syntax. All + positional arguments must be re-written as keyword-arguments. To + keep auto-completion in most cases, models are now generated for + Python 2 and Python 3. Python 3 uses the "*" syntax for + keyword-only arguments. + - Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to + improve the behavior when unrecognized enum values are encountered. + While this is not a breaking change, the distinctions are important, + and are documented here: + <https://docs.python.org/3/library/enum.html#others> At a glance: + - "is" should not be used at all. + - "format" will return the string value, where "%s" string + formatting will return `NameOfEnum.stringvalue`. Format syntax + should be prefered. + +**Bugfixes** + + - Compatibility of the sdist with wheel 0.31.0 + +## 0.1.0 (2018-01-12) + + - Initial Release + + + + +%prep +%autosetup -n azure-cognitiveservices-language-textanalytics-0.2.1 + +%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-azure-cognitiveservices-language-textanalytics -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.2.1-1 +- Package Spec generated @@ -0,0 +1 @@ +867e9d28175226ce7c965e9842eec87f azure-cognitiveservices-language-textanalytics-0.2.1.zip |
