%global _empty_manifest_terminate_build 0 Name: python-sshreader Version: 5.0.4 Release: 1 Summary: Multi-threading/processing wrapper for Paramiko License: GNU Lesser General Public License v3 or later (LGPLv3+) URL: http://sshreader.readthedocs.io/ Source0: https://mirrors.aliyun.com/pypi/web/packages/c5/94/6eb0eb2323d573dedccd04ece97c8e2793a28e330b9e583a78a4e28f7c48/sshreader-5.0.4.tar.gz BuildArch: noarch Requires: python3-click Requires: python3-colorama Requires: python3-paramiko Requires: python3-progressbar2 Requires: python3-hostlist %description # [sshreader][] ## Overview [SSHreader][] is a Python Module for multiprocessing/threading ssh connections in order to make ssh operations across multiple servers parallel. It utilizes the [Paramiko](http://www.paramiko.org/) module for its ssh client. In order to maintain the widest range of compatibility, [SSHreader][] is currently tested using the following versions of Python: * Python3.7 * Python3.8 * Python3.9 * Python3.10 * Python3.11 ## License [SSHreader][] is released under [GNU Lesser General Public License v3.0][], see the file LICENSE and LICENSE.lesser for the license text. ## Installation The most straightforward way to get the [SSHreader][] module working for you is: ```commandline pip install sshreader ``` This will ensure that all the requirements are met. ### Development Installation If you are wanting to work on development of [SSHreader][] perform the following: ```commandline make install ``` To ensure all development requirements are met. This will allow you to build the Sphinx Documentation for [SSHreader][] or run the unit/integration tests! ## Documentation The documentation for [SSHreader][] can be found [here](https://sshreader.readthedocs.io) ### Building Docs If you have installed the requirements for [SSHreader][] you can build its Sphinx Documentation simply by: ```commandline make docs ``` Then simply open `docs/build/html/index.html` in your browser. ## Contributing Comments and enhancements are very welcome. Report any issues or feature requests on the [BitBucket bug tracker](https://bitbucket.org/isaiah1112/sshreader/issues?status=new&status=open). Please include a minimal (not-) working example which reproduces the bug and, if appropriate, the traceback information. Please do not request features already being worked towards. Code contributions are encouraged: please feel free to [fork the project](https://bitbucket.org/isaiah1112/sshreader) and submit pull requests to the develop branch. ## Extras Included with sshreader is a binary called **pydsh** (generally installed in /usr/local/bin/). This works very similar to [pdsh](https://computing.llnl.gov/linux/pdsh.html) but uses sshreader at its core to perform ssh commands in parallel and return the results. The output of *pydsh* can also be piped through the **dshbak** tool that comes with pdsh. Pydsh uses [hostlist expressions](https://www.nsc.liu.se/~kent/python-hostlist/) to get its list of hosts to process. [GNU Lesser General Public License v3.0]: http://choosealicense.com/licenses/lgpl-3.0/ "LGPL v3" [sshreader]: https://bitbucket.org/isaiah1112/sshreader "SSHreader Package" %package -n python3-sshreader Summary: Multi-threading/processing wrapper for Paramiko Provides: python-sshreader BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-sshreader # [sshreader][] ## Overview [SSHreader][] is a Python Module for multiprocessing/threading ssh connections in order to make ssh operations across multiple servers parallel. It utilizes the [Paramiko](http://www.paramiko.org/) module for its ssh client. In order to maintain the widest range of compatibility, [SSHreader][] is currently tested using the following versions of Python: * Python3.7 * Python3.8 * Python3.9 * Python3.10 * Python3.11 ## License [SSHreader][] is released under [GNU Lesser General Public License v3.0][], see the file LICENSE and LICENSE.lesser for the license text. ## Installation The most straightforward way to get the [SSHreader][] module working for you is: ```commandline pip install sshreader ``` This will ensure that all the requirements are met. ### Development Installation If you are wanting to work on development of [SSHreader][] perform the following: ```commandline make install ``` To ensure all development requirements are met. This will allow you to build the Sphinx Documentation for [SSHreader][] or run the unit/integration tests! ## Documentation The documentation for [SSHreader][] can be found [here](https://sshreader.readthedocs.io) ### Building Docs If you have installed the requirements for [SSHreader][] you can build its Sphinx Documentation simply by: ```commandline make docs ``` Then simply open `docs/build/html/index.html` in your browser. ## Contributing Comments and enhancements are very welcome. Report any issues or feature requests on the [BitBucket bug tracker](https://bitbucket.org/isaiah1112/sshreader/issues?status=new&status=open). Please include a minimal (not-) working example which reproduces the bug and, if appropriate, the traceback information. Please do not request features already being worked towards. Code contributions are encouraged: please feel free to [fork the project](https://bitbucket.org/isaiah1112/sshreader) and submit pull requests to the develop branch. ## Extras Included with sshreader is a binary called **pydsh** (generally installed in /usr/local/bin/). This works very similar to [pdsh](https://computing.llnl.gov/linux/pdsh.html) but uses sshreader at its core to perform ssh commands in parallel and return the results. The output of *pydsh* can also be piped through the **dshbak** tool that comes with pdsh. Pydsh uses [hostlist expressions](https://www.nsc.liu.se/~kent/python-hostlist/) to get its list of hosts to process. [GNU Lesser General Public License v3.0]: http://choosealicense.com/licenses/lgpl-3.0/ "LGPL v3" [sshreader]: https://bitbucket.org/isaiah1112/sshreader "SSHreader Package" %package help Summary: Development documents and examples for sshreader Provides: python3-sshreader-doc %description help # [sshreader][] ## Overview [SSHreader][] is a Python Module for multiprocessing/threading ssh connections in order to make ssh operations across multiple servers parallel. It utilizes the [Paramiko](http://www.paramiko.org/) module for its ssh client. In order to maintain the widest range of compatibility, [SSHreader][] is currently tested using the following versions of Python: * Python3.7 * Python3.8 * Python3.9 * Python3.10 * Python3.11 ## License [SSHreader][] is released under [GNU Lesser General Public License v3.0][], see the file LICENSE and LICENSE.lesser for the license text. ## Installation The most straightforward way to get the [SSHreader][] module working for you is: ```commandline pip install sshreader ``` This will ensure that all the requirements are met. ### Development Installation If you are wanting to work on development of [SSHreader][] perform the following: ```commandline make install ``` To ensure all development requirements are met. This will allow you to build the Sphinx Documentation for [SSHreader][] or run the unit/integration tests! ## Documentation The documentation for [SSHreader][] can be found [here](https://sshreader.readthedocs.io) ### Building Docs If you have installed the requirements for [SSHreader][] you can build its Sphinx Documentation simply by: ```commandline make docs ``` Then simply open `docs/build/html/index.html` in your browser. ## Contributing Comments and enhancements are very welcome. Report any issues or feature requests on the [BitBucket bug tracker](https://bitbucket.org/isaiah1112/sshreader/issues?status=new&status=open). Please include a minimal (not-) working example which reproduces the bug and, if appropriate, the traceback information. Please do not request features already being worked towards. Code contributions are encouraged: please feel free to [fork the project](https://bitbucket.org/isaiah1112/sshreader) and submit pull requests to the develop branch. ## Extras Included with sshreader is a binary called **pydsh** (generally installed in /usr/local/bin/). This works very similar to [pdsh](https://computing.llnl.gov/linux/pdsh.html) but uses sshreader at its core to perform ssh commands in parallel and return the results. The output of *pydsh* can also be piped through the **dshbak** tool that comes with pdsh. Pydsh uses [hostlist expressions](https://www.nsc.liu.se/~kent/python-hostlist/) to get its list of hosts to process. [GNU Lesser General Public License v3.0]: http://choosealicense.com/licenses/lgpl-3.0/ "LGPL v3" [sshreader]: https://bitbucket.org/isaiah1112/sshreader "SSHreader Package" %prep %autosetup -n sshreader-5.0.4 %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-sshreader -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue Jun 20 2023 Python_Bot - 5.0.4-1 - Package Spec generated