%global _empty_manifest_terminate_build 0 Name: python-pyquanda Version: 1.0.27 Release: 1 Summary: Python Interview environment License: MIT URL: https://github.com/shollingsworth/pyquanda Source0: https://mirrors.aliyun.com/pypi/web/packages/6d/f9/5983a8b578450543109421226f81b84ab5a0d7271ad3045f09ff97cc1050/pyquanda-1.0.27.tar.gz BuildArch: noarch %description [![github-issues](https://img.shields.io/github/issues/shollingsworth/pyquanda?style=plastic "github-issues")](https://github.com/shollingsworth/pyquanda/issues) [![github-languages-code-size](https://img.shields.io/github/languages/code-size/shollingsworth/pyquanda?style=plastic "github-languages-code-size")](https://github.com/shollingsworth/pyquanda) [![github-stars](https://img.shields.io/github/stars/shollingsworth/pyquanda?style=plastic "github-stars")](https://github.com/shollingsworth/pyquanda/stargazers) [![github-forks](https://img.shields.io/github/forks/shollingsworth/pyquanda?style=plastic "github-forks")](https://github.com/shollingsworth/pyquanda/network/members) [![pypi-v](https://img.shields.io/pypi/v/pyquanda?style=plastic "pypi-v")](https://pypi.org/project/pyquanda) [![pypi-status](https://img.shields.io/pypi/status/pyquanda?style=plastic "pypi-status")](https://pypi.org/project/pyquanda) [![pypi-l](https://img.shields.io/pypi/l/pyquanda?style=plastic "pypi-l")](https://pypi.org/project/pyquanda) [![pypi-dm](https://img.shields.io/pypi/dm/pyquanda?style=plastic "pypi-dm")](https://pypi.org/project/pyquanda) [![pypi-pyversions](https://img.shields.io/pypi/pyversions/pyquanda?style=plastic "pypi-pyversions")](https://pypi.org/project/pyquanda) [![pypi-implementation](https://img.shields.io/pypi/implementation/pyquanda?style=plastic "pypi-implementation")](https://pypi.org/project/pyquanda) # TOC * [PyQ[u]AndA](#pyq-u-anda-) * [Installation / Quickstart](#installation---quickstart-) * [License](#license-) * [Other Docs](#other-docs-) * [Command Help](#command-help-) # PyQ[u]AndA [↑](#toc) This is an interview environment based around xonsh, meant to be used via SSH and wrapped around custom hooks you define Pull requests welcome! ## Installation / Quickstart [↑](#toc) To install this package from [pypy](https://pypi.org/project/pyquanda/) run the following command. ``` pip3 install pyquanda ``` ``` pyquanda-cmd demo ``` ## License [↑](#toc) See: [LICENSE](https://github.com/shollingsworth/pyquanda/blob/main/LICENSE) ## Other Docs [↑](#toc) * [Api Docs](./docs/documentation.md) * [Changelog](https://github.com/shollingsworth/pyquanda/blob/main/CHANGELOG.md) ## Command Help [↑](#toc) # Main ## new ``` usage: gendoc.py new [-h] [--overwrite] --destination_directory DESTINATION_DIRECTORY {system,intro,problem} name description create a new module from templates positional arguments: {system,intro,problem} module type name module name description module name optional arguments: -h, --help show this help message and exit --overwrite automatically overwrite destination directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## a_single ``` usage: gendoc.py a_single [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--debug] run ansible on a single module based on path optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --debug debug output, do not execute ``` ## a_all ``` usage: gendoc.py a_all [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--debug] run all ansible modules in path optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --debug debug output, do not execute ``` ## q_save ``` usage: gendoc.py q_save [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--destination_directory DESTINATION_DIRECTORY] convert questions to pyquanda questions config file optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## q_test ``` usage: gendoc.py q_test [-h] -s SRC_MODULE_DIR [-c INTERVIEW_CONFIG_YAML] [--keep_state] test question set optional arguments: -h, --help show this help message and exit -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml --keep_state, -k keep state (defaults to False) ``` ## userdata ``` usage: gendoc.py userdata [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR --destination_directory DESTINATION_DIRECTORY save userdata zip file in directory (filename: userdata.zip) optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## bootstrap ``` usage: gendoc.py bootstrap [-h] userdata_file bootstrap host given userdata.zip file positional arguments: userdata_file optional arguments: -h, --help show this help message and exit ``` ## demo ``` usage: gendoc.py demo [-h] [--destination_directory DESTINATION_DIRECTORY] [--overwrite] demonstrate the xonsh question environment optional arguments: -h, --help show this help message and exit --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help --overwrite automatically overwrite destination directory ``` %package -n python3-pyquanda Summary: Python Interview environment Provides: python-pyquanda BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-pyquanda [![github-issues](https://img.shields.io/github/issues/shollingsworth/pyquanda?style=plastic "github-issues")](https://github.com/shollingsworth/pyquanda/issues) [![github-languages-code-size](https://img.shields.io/github/languages/code-size/shollingsworth/pyquanda?style=plastic "github-languages-code-size")](https://github.com/shollingsworth/pyquanda) [![github-stars](https://img.shields.io/github/stars/shollingsworth/pyquanda?style=plastic "github-stars")](https://github.com/shollingsworth/pyquanda/stargazers) [![github-forks](https://img.shields.io/github/forks/shollingsworth/pyquanda?style=plastic "github-forks")](https://github.com/shollingsworth/pyquanda/network/members) [![pypi-v](https://img.shields.io/pypi/v/pyquanda?style=plastic "pypi-v")](https://pypi.org/project/pyquanda) [![pypi-status](https://img.shields.io/pypi/status/pyquanda?style=plastic "pypi-status")](https://pypi.org/project/pyquanda) [![pypi-l](https://img.shields.io/pypi/l/pyquanda?style=plastic "pypi-l")](https://pypi.org/project/pyquanda) [![pypi-dm](https://img.shields.io/pypi/dm/pyquanda?style=plastic "pypi-dm")](https://pypi.org/project/pyquanda) [![pypi-pyversions](https://img.shields.io/pypi/pyversions/pyquanda?style=plastic "pypi-pyversions")](https://pypi.org/project/pyquanda) [![pypi-implementation](https://img.shields.io/pypi/implementation/pyquanda?style=plastic "pypi-implementation")](https://pypi.org/project/pyquanda) # TOC * [PyQ[u]AndA](#pyq-u-anda-) * [Installation / Quickstart](#installation---quickstart-) * [License](#license-) * [Other Docs](#other-docs-) * [Command Help](#command-help-) # PyQ[u]AndA [↑](#toc) This is an interview environment based around xonsh, meant to be used via SSH and wrapped around custom hooks you define Pull requests welcome! ## Installation / Quickstart [↑](#toc) To install this package from [pypy](https://pypi.org/project/pyquanda/) run the following command. ``` pip3 install pyquanda ``` ``` pyquanda-cmd demo ``` ## License [↑](#toc) See: [LICENSE](https://github.com/shollingsworth/pyquanda/blob/main/LICENSE) ## Other Docs [↑](#toc) * [Api Docs](./docs/documentation.md) * [Changelog](https://github.com/shollingsworth/pyquanda/blob/main/CHANGELOG.md) ## Command Help [↑](#toc) # Main ## new ``` usage: gendoc.py new [-h] [--overwrite] --destination_directory DESTINATION_DIRECTORY {system,intro,problem} name description create a new module from templates positional arguments: {system,intro,problem} module type name module name description module name optional arguments: -h, --help show this help message and exit --overwrite automatically overwrite destination directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## a_single ``` usage: gendoc.py a_single [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--debug] run ansible on a single module based on path optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --debug debug output, do not execute ``` ## a_all ``` usage: gendoc.py a_all [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--debug] run all ansible modules in path optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --debug debug output, do not execute ``` ## q_save ``` usage: gendoc.py q_save [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--destination_directory DESTINATION_DIRECTORY] convert questions to pyquanda questions config file optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## q_test ``` usage: gendoc.py q_test [-h] -s SRC_MODULE_DIR [-c INTERVIEW_CONFIG_YAML] [--keep_state] test question set optional arguments: -h, --help show this help message and exit -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml --keep_state, -k keep state (defaults to False) ``` ## userdata ``` usage: gendoc.py userdata [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR --destination_directory DESTINATION_DIRECTORY save userdata zip file in directory (filename: userdata.zip) optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## bootstrap ``` usage: gendoc.py bootstrap [-h] userdata_file bootstrap host given userdata.zip file positional arguments: userdata_file optional arguments: -h, --help show this help message and exit ``` ## demo ``` usage: gendoc.py demo [-h] [--destination_directory DESTINATION_DIRECTORY] [--overwrite] demonstrate the xonsh question environment optional arguments: -h, --help show this help message and exit --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help --overwrite automatically overwrite destination directory ``` %package help Summary: Development documents and examples for pyquanda Provides: python3-pyquanda-doc %description help [![github-issues](https://img.shields.io/github/issues/shollingsworth/pyquanda?style=plastic "github-issues")](https://github.com/shollingsworth/pyquanda/issues) [![github-languages-code-size](https://img.shields.io/github/languages/code-size/shollingsworth/pyquanda?style=plastic "github-languages-code-size")](https://github.com/shollingsworth/pyquanda) [![github-stars](https://img.shields.io/github/stars/shollingsworth/pyquanda?style=plastic "github-stars")](https://github.com/shollingsworth/pyquanda/stargazers) [![github-forks](https://img.shields.io/github/forks/shollingsworth/pyquanda?style=plastic "github-forks")](https://github.com/shollingsworth/pyquanda/network/members) [![pypi-v](https://img.shields.io/pypi/v/pyquanda?style=plastic "pypi-v")](https://pypi.org/project/pyquanda) [![pypi-status](https://img.shields.io/pypi/status/pyquanda?style=plastic "pypi-status")](https://pypi.org/project/pyquanda) [![pypi-l](https://img.shields.io/pypi/l/pyquanda?style=plastic "pypi-l")](https://pypi.org/project/pyquanda) [![pypi-dm](https://img.shields.io/pypi/dm/pyquanda?style=plastic "pypi-dm")](https://pypi.org/project/pyquanda) [![pypi-pyversions](https://img.shields.io/pypi/pyversions/pyquanda?style=plastic "pypi-pyversions")](https://pypi.org/project/pyquanda) [![pypi-implementation](https://img.shields.io/pypi/implementation/pyquanda?style=plastic "pypi-implementation")](https://pypi.org/project/pyquanda) # TOC * [PyQ[u]AndA](#pyq-u-anda-) * [Installation / Quickstart](#installation---quickstart-) * [License](#license-) * [Other Docs](#other-docs-) * [Command Help](#command-help-) # PyQ[u]AndA [↑](#toc) This is an interview environment based around xonsh, meant to be used via SSH and wrapped around custom hooks you define Pull requests welcome! ## Installation / Quickstart [↑](#toc) To install this package from [pypy](https://pypi.org/project/pyquanda/) run the following command. ``` pip3 install pyquanda ``` ``` pyquanda-cmd demo ``` ## License [↑](#toc) See: [LICENSE](https://github.com/shollingsworth/pyquanda/blob/main/LICENSE) ## Other Docs [↑](#toc) * [Api Docs](./docs/documentation.md) * [Changelog](https://github.com/shollingsworth/pyquanda/blob/main/CHANGELOG.md) ## Command Help [↑](#toc) # Main ## new ``` usage: gendoc.py new [-h] [--overwrite] --destination_directory DESTINATION_DIRECTORY {system,intro,problem} name description create a new module from templates positional arguments: {system,intro,problem} module type name module name description module name optional arguments: -h, --help show this help message and exit --overwrite automatically overwrite destination directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## a_single ``` usage: gendoc.py a_single [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--debug] run ansible on a single module based on path optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --debug debug output, do not execute ``` ## a_all ``` usage: gendoc.py a_all [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--debug] run all ansible modules in path optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --debug debug output, do not execute ``` ## q_save ``` usage: gendoc.py q_save [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR [--destination_directory DESTINATION_DIRECTORY] convert questions to pyquanda questions config file optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## q_test ``` usage: gendoc.py q_test [-h] -s SRC_MODULE_DIR [-c INTERVIEW_CONFIG_YAML] [--keep_state] test question set optional arguments: -h, --help show this help message and exit -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml --keep_state, -k keep state (defaults to False) ``` ## userdata ``` usage: gendoc.py userdata [-h] [-c INTERVIEW_CONFIG_YAML] -s SRC_MODULE_DIR --destination_directory DESTINATION_DIRECTORY save userdata zip file in directory (filename: userdata.zip) optional arguments: -h, --help show this help message and exit -c INTERVIEW_CONFIG_YAML, --interview_config_yaml INTERVIEW_CONFIG_YAML starting configuration yaml -s SRC_MODULE_DIR, --src_module_dir SRC_MODULE_DIR source module directory --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help ``` ## bootstrap ``` usage: gendoc.py bootstrap [-h] userdata_file bootstrap host given userdata.zip file positional arguments: userdata_file optional arguments: -h, --help show this help message and exit ``` ## demo ``` usage: gendoc.py demo [-h] [--destination_directory DESTINATION_DIRECTORY] [--overwrite] demonstrate the xonsh question environment optional arguments: -h, --help show this help message and exit --destination_directory DESTINATION_DIRECTORY, -d DESTINATION_DIRECTORY src_module_dir help --overwrite automatically overwrite destination directory ``` %prep %autosetup -n pyquanda-1.0.27 %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-pyquanda -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Thu Jun 08 2023 Python_Bot - 1.0.27-1 - Package Spec generated