diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:05:11 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-05-17 03:05:11 +0000 |
| commit | 18b1d47cc32c3cb79a9852755818c8e7a7a93594 (patch) | |
| tree | ba3085d78a9486f2c38f1b913bf1ac2429e78f40 | |
| parent | 06d19aeee7de0003f3fcdcfe3a986a490f0f79db (diff) | |
automatic import of python-wechaty
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-wechaty.spec | 528 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 530 insertions, 0 deletions
@@ -0,0 +1 @@ +/wechaty-0.10.7.tar.gz diff --git a/python-wechaty.spec b/python-wechaty.spec new file mode 100644 index 0000000..dea6e97 --- /dev/null +++ b/python-wechaty.spec @@ -0,0 +1,528 @@ +%global _empty_manifest_terminate_build 0 +Name: python-wechaty +Version: 0.10.7 +Release: 1 +Summary: Wechaty is a Conversational RPA SDK for Chatbot Makers +License: Apache-2.0 +URL: https://github.com/wechaty/python-wechaty +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/86/6b/3cef7d22bbdf444c82e378412c6cc1784383720176a533601d08d25a1a52/wechaty-0.10.7.tar.gz +BuildArch: noarch + +Requires: python3-pyee +Requires: python3-requests +Requires: python3-qrcode +Requires: python3-lxml +Requires: python3-wechaty-puppet +Requires: python3-wechaty-puppet-service +Requires: python3-quart +Requires: python3-opengraph-py3 +Requires: python3-Quart-CORS +Requires: python3-APScheduler +Requires: python3-SQLAlchemy +Requires: python3-PyGithub + +%description +<!-- markdownlint-disable MD033 --> +# python-wechaty + + + +[](https://pypi.org/project/wechaty/) +[](https://github.com/wechaty/python-wechaty-getting-started) +[](https://www.python.org/downloads/release/python-370/) +[](https://pepy.tech/project/wechaty) +[](https://github.com/wechaty/python-wechaty) +[](https://codecov.io/gh/wechaty/python-wechaty) +[](https://github.com/wechaty/python-wechaty/actions/workflows/pypi.yml) + + +[📄 Chinese Document](https://wechaty.readthedocs.io/zh_CN/latest/) [python-wechaty-template](https://github.com/wechaty/python-wechaty-template) + +## What's Python Wechaty + +Python Wechaty is an Open Source software application for building chatbots. It is a modern Conversational RPA SDK which Chatbot makers can use to create a bot in a few lines of code. + +You can use Wechaty to build a chatbot which automates conversations and interact with people through instant messaging platforms such as WhatsApp, WeChat, WeCom, Gitter and Lark among others. + +## Features + +* **Message Processing**: You can use the simple code, similar to natural language, to process the message receving & sending. +* **Plugin System**: You can use the community-contributed plugins to handle your scenario. +* **Write onece, run multi IM platform**: python wechaty support many IM platforms with one code, all of you need to do is switch the token token type. +* **Wechaty UI**: you can use the powerful wechaty-ui to create interactive chatbot +* ... + + +## Getting Started + +There are few steps to start your bot, and we give a [bot-template](https://github.com/wechaty/python-wechaty-template) for you to getting started quickly. + + +## Join Us + +Wechaty is used in many ChatBot projects by thousands of developers. If you want to talk with other developers, just scan the following QR Code in WeChat with secret code _python wechaty_, join our **Wechaty Python Developers' Home**. + + + +Scan now, because other Wechaty Python developers want to talk with you too! (secret code: _python wechaty_) + + +## Requirements + +1. Python 3.7+ + +## Install + +```shell +pip3 install wechaty +``` + +## See Also + +- [Packaging Python Projects](https://packaging.python.org/tutorials/packaging-projects/) + +### Static & Instance of Class + +- [Static variables and methods in Python](https://radek.io/2011/07/21/static-variables-and-methods-in-python/) + +### Typings + +- [PEP 526 -- Syntax for Variable Annotations - Class and instance variable annotations](https://www.python.org/dev/peps/pep-0526/#class-and-instance-variable-annotations) + - [Python Type Checking (Guide)](https://realpython.com/python-type-checking/) by [Geir Arne Hjelle](https://realpython.com/team/gahjelle/) + +## History + +### v0.6 (Jun 19, 2020) + +Python Wechaty Scala Wechaty **BETA** Released! + +Read more from our Multi-language Wechaty Beta Release event from our blog: + +- [Multi Language Wechaty Beta Release Announcement!](https://wechaty.js.org/2020/06/19/multi-language-wechaty-beta-release/) + +### v0.4 (Mar 15, 2020) master + +Welcome [@huangaszaq](https://github.com/huangaszaq) for joining the project! [#42](https://github.com/wechaty/python-wechaty/pull/42) + +1. Add a friendly exception message for PyPI users. [#24](https://github.com/wechaty/python-wechaty/issues/24) + +### v0.1 (Mar 8, 2020) + +Welcome [@wj-Mcat](https://github.com/wj-Mcat) for joining the project! [#4](https://github.com/wechaty/python-wechaty/pull/4) + +1. Starting translate TypeScript of Wechaty to Python +1. DevOps Setup + 1. Type Checking: mypy & pytype + 1. Unit Testing: pytest + 1. Linting: pylint, pycodestyle, and flake8 + 1. CI/CD: GitHub Actions +1. Publish to PyPI automatically after the tests passed. + +### v0.0.1 (Aug 25, 2018) + +Project created, publish a empty module `wechaty` on PyPI. + +## Related Projects + +- [Wechaty](https://github.com/wechaty/wechaty) - Conversatioanl AI Chatot SDK for Wechaty Individual Accounts (TypeScript) +- [Python Wechaty](https://github.com/wechaty/python-wechaty) - Python WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Python) +- [Go Wechaty](https://github.com/wechaty/go-wechaty) - Go WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Go) +- [Java Wechaty](https://github.com/wechaty/java-wechaty) - Java WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Java) +- [Scala Wechaty](https://github.com/wechaty/scala-wechaty) - Scala WeChaty Conversational AI Chatbot SDK for WechatyIndividual Accounts (Scala) + +## Badge + +[](https://github.com/wechaty/python-wechaty) + +```md +[](https://github.com/wechaty/python-wechaty) +``` + +## Stargazers over time + +[](https://starchart.cc/wechaty/python-wechaty) + +## Contributors + +<a href="https://github.com/wechaty/python-wechaty/graphs/contributors"> + <img src="https://contrib.rocks/image?repo=wechaty/python-wechaty" /> +</a> + +Made with [contrib.rocks](https://contrib.rocks). + +## Support + +Thanks the following supported Software. + +[](https://jb.gg/OpenSourceSupport) + +## Committers + +1. [@huangaszaq](https://github.com/huangaszaq) - Chunhong HUANG (黄纯洪) + +## Creators + +- [@wj-Mcat](https://github.com/wj-Mcat) - Jingjing WU (吴京京) +- [@huan](https://github.com/huan) - ([李卓桓](http://linkedin.com/in/zixia)) zixia@zixia.net + +## Copyright & License + +- Code & Docs © 2018 Wechaty Contributors <https://github.com/wechaty> +- Code released under the Apache-2.0 License +- Docs released under Creative Commons + + +%package -n python3-wechaty +Summary: Wechaty is a Conversational RPA SDK for Chatbot Makers +Provides: python-wechaty +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-wechaty +<!-- markdownlint-disable MD033 --> +# python-wechaty + + + +[](https://pypi.org/project/wechaty/) +[](https://github.com/wechaty/python-wechaty-getting-started) +[](https://www.python.org/downloads/release/python-370/) +[](https://pepy.tech/project/wechaty) +[](https://github.com/wechaty/python-wechaty) +[](https://codecov.io/gh/wechaty/python-wechaty) +[](https://github.com/wechaty/python-wechaty/actions/workflows/pypi.yml) + + +[📄 Chinese Document](https://wechaty.readthedocs.io/zh_CN/latest/) [python-wechaty-template](https://github.com/wechaty/python-wechaty-template) + +## What's Python Wechaty + +Python Wechaty is an Open Source software application for building chatbots. It is a modern Conversational RPA SDK which Chatbot makers can use to create a bot in a few lines of code. + +You can use Wechaty to build a chatbot which automates conversations and interact with people through instant messaging platforms such as WhatsApp, WeChat, WeCom, Gitter and Lark among others. + +## Features + +* **Message Processing**: You can use the simple code, similar to natural language, to process the message receving & sending. +* **Plugin System**: You can use the community-contributed plugins to handle your scenario. +* **Write onece, run multi IM platform**: python wechaty support many IM platforms with one code, all of you need to do is switch the token token type. +* **Wechaty UI**: you can use the powerful wechaty-ui to create interactive chatbot +* ... + + +## Getting Started + +There are few steps to start your bot, and we give a [bot-template](https://github.com/wechaty/python-wechaty-template) for you to getting started quickly. + + +## Join Us + +Wechaty is used in many ChatBot projects by thousands of developers. If you want to talk with other developers, just scan the following QR Code in WeChat with secret code _python wechaty_, join our **Wechaty Python Developers' Home**. + + + +Scan now, because other Wechaty Python developers want to talk with you too! (secret code: _python wechaty_) + + +## Requirements + +1. Python 3.7+ + +## Install + +```shell +pip3 install wechaty +``` + +## See Also + +- [Packaging Python Projects](https://packaging.python.org/tutorials/packaging-projects/) + +### Static & Instance of Class + +- [Static variables and methods in Python](https://radek.io/2011/07/21/static-variables-and-methods-in-python/) + +### Typings + +- [PEP 526 -- Syntax for Variable Annotations - Class and instance variable annotations](https://www.python.org/dev/peps/pep-0526/#class-and-instance-variable-annotations) + - [Python Type Checking (Guide)](https://realpython.com/python-type-checking/) by [Geir Arne Hjelle](https://realpython.com/team/gahjelle/) + +## History + +### v0.6 (Jun 19, 2020) + +Python Wechaty Scala Wechaty **BETA** Released! + +Read more from our Multi-language Wechaty Beta Release event from our blog: + +- [Multi Language Wechaty Beta Release Announcement!](https://wechaty.js.org/2020/06/19/multi-language-wechaty-beta-release/) + +### v0.4 (Mar 15, 2020) master + +Welcome [@huangaszaq](https://github.com/huangaszaq) for joining the project! [#42](https://github.com/wechaty/python-wechaty/pull/42) + +1. Add a friendly exception message for PyPI users. [#24](https://github.com/wechaty/python-wechaty/issues/24) + +### v0.1 (Mar 8, 2020) + +Welcome [@wj-Mcat](https://github.com/wj-Mcat) for joining the project! [#4](https://github.com/wechaty/python-wechaty/pull/4) + +1. Starting translate TypeScript of Wechaty to Python +1. DevOps Setup + 1. Type Checking: mypy & pytype + 1. Unit Testing: pytest + 1. Linting: pylint, pycodestyle, and flake8 + 1. CI/CD: GitHub Actions +1. Publish to PyPI automatically after the tests passed. + +### v0.0.1 (Aug 25, 2018) + +Project created, publish a empty module `wechaty` on PyPI. + +## Related Projects + +- [Wechaty](https://github.com/wechaty/wechaty) - Conversatioanl AI Chatot SDK for Wechaty Individual Accounts (TypeScript) +- [Python Wechaty](https://github.com/wechaty/python-wechaty) - Python WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Python) +- [Go Wechaty](https://github.com/wechaty/go-wechaty) - Go WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Go) +- [Java Wechaty](https://github.com/wechaty/java-wechaty) - Java WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Java) +- [Scala Wechaty](https://github.com/wechaty/scala-wechaty) - Scala WeChaty Conversational AI Chatbot SDK for WechatyIndividual Accounts (Scala) + +## Badge + +[](https://github.com/wechaty/python-wechaty) + +```md +[](https://github.com/wechaty/python-wechaty) +``` + +## Stargazers over time + +[](https://starchart.cc/wechaty/python-wechaty) + +## Contributors + +<a href="https://github.com/wechaty/python-wechaty/graphs/contributors"> + <img src="https://contrib.rocks/image?repo=wechaty/python-wechaty" /> +</a> + +Made with [contrib.rocks](https://contrib.rocks). + +## Support + +Thanks the following supported Software. + +[](https://jb.gg/OpenSourceSupport) + +## Committers + +1. [@huangaszaq](https://github.com/huangaszaq) - Chunhong HUANG (黄纯洪) + +## Creators + +- [@wj-Mcat](https://github.com/wj-Mcat) - Jingjing WU (吴京京) +- [@huan](https://github.com/huan) - ([李卓桓](http://linkedin.com/in/zixia)) zixia@zixia.net + +## Copyright & License + +- Code & Docs © 2018 Wechaty Contributors <https://github.com/wechaty> +- Code released under the Apache-2.0 License +- Docs released under Creative Commons + + +%package help +Summary: Development documents and examples for wechaty +Provides: python3-wechaty-doc +%description help +<!-- markdownlint-disable MD033 --> +# python-wechaty + + + +[](https://pypi.org/project/wechaty/) +[](https://github.com/wechaty/python-wechaty-getting-started) +[](https://www.python.org/downloads/release/python-370/) +[](https://pepy.tech/project/wechaty) +[](https://github.com/wechaty/python-wechaty) +[](https://codecov.io/gh/wechaty/python-wechaty) +[](https://github.com/wechaty/python-wechaty/actions/workflows/pypi.yml) + + +[📄 Chinese Document](https://wechaty.readthedocs.io/zh_CN/latest/) [python-wechaty-template](https://github.com/wechaty/python-wechaty-template) + +## What's Python Wechaty + +Python Wechaty is an Open Source software application for building chatbots. It is a modern Conversational RPA SDK which Chatbot makers can use to create a bot in a few lines of code. + +You can use Wechaty to build a chatbot which automates conversations and interact with people through instant messaging platforms such as WhatsApp, WeChat, WeCom, Gitter and Lark among others. + +## Features + +* **Message Processing**: You can use the simple code, similar to natural language, to process the message receving & sending. +* **Plugin System**: You can use the community-contributed plugins to handle your scenario. +* **Write onece, run multi IM platform**: python wechaty support many IM platforms with one code, all of you need to do is switch the token token type. +* **Wechaty UI**: you can use the powerful wechaty-ui to create interactive chatbot +* ... + + +## Getting Started + +There are few steps to start your bot, and we give a [bot-template](https://github.com/wechaty/python-wechaty-template) for you to getting started quickly. + + +## Join Us + +Wechaty is used in many ChatBot projects by thousands of developers. If you want to talk with other developers, just scan the following QR Code in WeChat with secret code _python wechaty_, join our **Wechaty Python Developers' Home**. + + + +Scan now, because other Wechaty Python developers want to talk with you too! (secret code: _python wechaty_) + + +## Requirements + +1. Python 3.7+ + +## Install + +```shell +pip3 install wechaty +``` + +## See Also + +- [Packaging Python Projects](https://packaging.python.org/tutorials/packaging-projects/) + +### Static & Instance of Class + +- [Static variables and methods in Python](https://radek.io/2011/07/21/static-variables-and-methods-in-python/) + +### Typings + +- [PEP 526 -- Syntax for Variable Annotations - Class and instance variable annotations](https://www.python.org/dev/peps/pep-0526/#class-and-instance-variable-annotations) + - [Python Type Checking (Guide)](https://realpython.com/python-type-checking/) by [Geir Arne Hjelle](https://realpython.com/team/gahjelle/) + +## History + +### v0.6 (Jun 19, 2020) + +Python Wechaty Scala Wechaty **BETA** Released! + +Read more from our Multi-language Wechaty Beta Release event from our blog: + +- [Multi Language Wechaty Beta Release Announcement!](https://wechaty.js.org/2020/06/19/multi-language-wechaty-beta-release/) + +### v0.4 (Mar 15, 2020) master + +Welcome [@huangaszaq](https://github.com/huangaszaq) for joining the project! [#42](https://github.com/wechaty/python-wechaty/pull/42) + +1. Add a friendly exception message for PyPI users. [#24](https://github.com/wechaty/python-wechaty/issues/24) + +### v0.1 (Mar 8, 2020) + +Welcome [@wj-Mcat](https://github.com/wj-Mcat) for joining the project! [#4](https://github.com/wechaty/python-wechaty/pull/4) + +1. Starting translate TypeScript of Wechaty to Python +1. DevOps Setup + 1. Type Checking: mypy & pytype + 1. Unit Testing: pytest + 1. Linting: pylint, pycodestyle, and flake8 + 1. CI/CD: GitHub Actions +1. Publish to PyPI automatically after the tests passed. + +### v0.0.1 (Aug 25, 2018) + +Project created, publish a empty module `wechaty` on PyPI. + +## Related Projects + +- [Wechaty](https://github.com/wechaty/wechaty) - Conversatioanl AI Chatot SDK for Wechaty Individual Accounts (TypeScript) +- [Python Wechaty](https://github.com/wechaty/python-wechaty) - Python WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Python) +- [Go Wechaty](https://github.com/wechaty/go-wechaty) - Go WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Go) +- [Java Wechaty](https://github.com/wechaty/java-wechaty) - Java WeChaty Conversational AI Chatbot SDK for Wechat Individual Accounts (Java) +- [Scala Wechaty](https://github.com/wechaty/scala-wechaty) - Scala WeChaty Conversational AI Chatbot SDK for WechatyIndividual Accounts (Scala) + +## Badge + +[](https://github.com/wechaty/python-wechaty) + +```md +[](https://github.com/wechaty/python-wechaty) +``` + +## Stargazers over time + +[](https://starchart.cc/wechaty/python-wechaty) + +## Contributors + +<a href="https://github.com/wechaty/python-wechaty/graphs/contributors"> + <img src="https://contrib.rocks/image?repo=wechaty/python-wechaty" /> +</a> + +Made with [contrib.rocks](https://contrib.rocks). + +## Support + +Thanks the following supported Software. + +[](https://jb.gg/OpenSourceSupport) + +## Committers + +1. [@huangaszaq](https://github.com/huangaszaq) - Chunhong HUANG (黄纯洪) + +## Creators + +- [@wj-Mcat](https://github.com/wj-Mcat) - Jingjing WU (吴京京) +- [@huan](https://github.com/huan) - ([李卓桓](http://linkedin.com/in/zixia)) zixia@zixia.net + +## Copyright & License + +- Code & Docs © 2018 Wechaty Contributors <https://github.com/wechaty> +- Code released under the Apache-2.0 License +- Docs released under Creative Commons + + +%prep +%autosetup -n wechaty-0.10.7 + +%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-wechaty -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.10.7-1 +- Package Spec generated @@ -0,0 +1 @@ +86070bad311a0568536633ae8a509c63 wechaty-0.10.7.tar.gz |
