%global _empty_manifest_terminate_build 0 Name: python-ConsoleHelp Version: 0.5.0 Release: 1 Summary: For all of your console needs! License: GNU General Public License v3 (GPLv3) URL: https://github.com/darkdarcool/ConsoleHelp/blob/master/MyApp/setup.py Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3f/33/52fca466220cdbc991adef34b52beda9e24197f936d201b33bd1359dd2f8/ConsoleHelp-0.5.0.tar.gz BuildArch: noarch %description # ConsoleHelp We all have used the console before at one time or another to make text adventures, or even test out functions a what not. But sometimes, it can be a real hassle. Having to get a typing animation, but not at the right speed. Wait no more! The ConsoleHelp pip package makes all of that so much easier! Use the installation table to get started with installing the package!! |Manager |Command | |:----------------|:---------------------------------------------| |**pip** |`pip install ConsoleHelp` | |**poetry** |`python -m poetry add ConsoleHelp` | |**Repl.it** |Search `ConsoleHelp` in the package tab and add it.(coming soon)| | # Additions: Printing in python is nice an all, but sometimesI just looks so premade. To solve this, you need to make it look like someone is typing out text, **LIVE**. But how do you do that. Well, we may not show the code, but we sure can show you how to use in in console help! Here is a demonstration: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.sp("Hello World") ``` This will simulate typing. Cool right! Try it out! But while this works, maybe you want color? Maybe you need important text to stand out so the user will pay more attantion to it. Well, we took that into account too! First, we have printing with the colored text. We allow you to use this by doing: ```python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.printred("This will be red") ``` It will then log your string into the terminal to be printed as red text. You can get a full list of them here: * `printred(` * `printgreen(` * `printorange(` * `printcyan(` * `printblue(` * `printmagenta(` That is a full list of them now, but there will be so many more coming to you in the future! And most likely they will be moved to another class function, so make sure to follow our readme's to make sure you have the latest updates! Now, I'm sure that some of you are asking, "But how do I get the sp function to have color". We also took the liberty of designing that too! It is in the color class function right now, it is small, but many things will be moved there and there is more to be developed there. But, here is how the sp function can have color in it: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.color.spc("This will be red", 'red') ``` Let's break down how this function works. The window is our import(duh), and color is the class it is apart of. The color class is small curently, but will grow in time! After that, is spc. The the sp in spc stands for slow print, and the c in there stands for color. So, it means slow print color. Cool right! Then in quotation marks, you can put in your text, after that, put a comma and in quots put in your color. We have the same colors as the print func, so to find the colors, go there!. ## Math Module! The math module is made to make your math needs easier, and faster! A lot of people are bad at math, and this class function will make it easier. We have addition, subtraction, division, and mulitplacation. To use this, do: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.math.add(1, 2) ``` This will return the number `3`. We also have * `window.math.add(1, 2)` * `window.math.subtract(4, 1)` * `window.math.multiply(1, 3)` * `window.math.divide(6, 2)` But there is one very special math function. It is called `window.math.rand(num1, num2)`. %package -n python3-ConsoleHelp Summary: For all of your console needs! Provides: python-ConsoleHelp BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-ConsoleHelp # ConsoleHelp We all have used the console before at one time or another to make text adventures, or even test out functions a what not. But sometimes, it can be a real hassle. Having to get a typing animation, but not at the right speed. Wait no more! The ConsoleHelp pip package makes all of that so much easier! Use the installation table to get started with installing the package!! |Manager |Command | |:----------------|:---------------------------------------------| |**pip** |`pip install ConsoleHelp` | |**poetry** |`python -m poetry add ConsoleHelp` | |**Repl.it** |Search `ConsoleHelp` in the package tab and add it.(coming soon)| | # Additions: Printing in python is nice an all, but sometimesI just looks so premade. To solve this, you need to make it look like someone is typing out text, **LIVE**. But how do you do that. Well, we may not show the code, but we sure can show you how to use in in console help! Here is a demonstration: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.sp("Hello World") ``` This will simulate typing. Cool right! Try it out! But while this works, maybe you want color? Maybe you need important text to stand out so the user will pay more attantion to it. Well, we took that into account too! First, we have printing with the colored text. We allow you to use this by doing: ```python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.printred("This will be red") ``` It will then log your string into the terminal to be printed as red text. You can get a full list of them here: * `printred(` * `printgreen(` * `printorange(` * `printcyan(` * `printblue(` * `printmagenta(` That is a full list of them now, but there will be so many more coming to you in the future! And most likely they will be moved to another class function, so make sure to follow our readme's to make sure you have the latest updates! Now, I'm sure that some of you are asking, "But how do I get the sp function to have color". We also took the liberty of designing that too! It is in the color class function right now, it is small, but many things will be moved there and there is more to be developed there. But, here is how the sp function can have color in it: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.color.spc("This will be red", 'red') ``` Let's break down how this function works. The window is our import(duh), and color is the class it is apart of. The color class is small curently, but will grow in time! After that, is spc. The the sp in spc stands for slow print, and the c in there stands for color. So, it means slow print color. Cool right! Then in quotation marks, you can put in your text, after that, put a comma and in quots put in your color. We have the same colors as the print func, so to find the colors, go there!. ## Math Module! The math module is made to make your math needs easier, and faster! A lot of people are bad at math, and this class function will make it easier. We have addition, subtraction, division, and mulitplacation. To use this, do: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.math.add(1, 2) ``` This will return the number `3`. We also have * `window.math.add(1, 2)` * `window.math.subtract(4, 1)` * `window.math.multiply(1, 3)` * `window.math.divide(6, 2)` But there is one very special math function. It is called `window.math.rand(num1, num2)`. %package help Summary: Development documents and examples for ConsoleHelp Provides: python3-ConsoleHelp-doc %description help # ConsoleHelp We all have used the console before at one time or another to make text adventures, or even test out functions a what not. But sometimes, it can be a real hassle. Having to get a typing animation, but not at the right speed. Wait no more! The ConsoleHelp pip package makes all of that so much easier! Use the installation table to get started with installing the package!! |Manager |Command | |:----------------|:---------------------------------------------| |**pip** |`pip install ConsoleHelp` | |**poetry** |`python -m poetry add ConsoleHelp` | |**Repl.it** |Search `ConsoleHelp` in the package tab and add it.(coming soon)| | # Additions: Printing in python is nice an all, but sometimesI just looks so premade. To solve this, you need to make it look like someone is typing out text, **LIVE**. But how do you do that. Well, we may not show the code, but we sure can show you how to use in in console help! Here is a demonstration: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.sp("Hello World") ``` This will simulate typing. Cool right! Try it out! But while this works, maybe you want color? Maybe you need important text to stand out so the user will pay more attantion to it. Well, we took that into account too! First, we have printing with the colored text. We allow you to use this by doing: ```python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.printred("This will be red") ``` It will then log your string into the terminal to be printed as red text. You can get a full list of them here: * `printred(` * `printgreen(` * `printorange(` * `printcyan(` * `printblue(` * `printmagenta(` That is a full list of them now, but there will be so many more coming to you in the future! And most likely they will be moved to another class function, so make sure to follow our readme's to make sure you have the latest updates! Now, I'm sure that some of you are asking, "But how do I get the sp function to have color". We also took the liberty of designing that too! It is in the color class function right now, it is small, but many things will be moved there and there is more to be developed there. But, here is how the sp function can have color in it: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.color.spc("This will be red", 'red') ``` Let's break down how this function works. The window is our import(duh), and color is the class it is apart of. The color class is small curently, but will grow in time! After that, is spc. The the sp in spc stands for slow print, and the c in there stands for color. So, it means slow print color. Cool right! Then in quotation marks, you can put in your text, after that, put a comma and in quots put in your color. We have the same colors as the print func, so to find the colors, go there!. ## Math Module! The math module is made to make your math needs easier, and faster! A lot of people are bad at math, and this class function will make it easier. We have addition, subtraction, division, and mulitplacation. To use this, do: ``` python import ConsoleHelp as window # We recomend you change the name to something that is not ConsoleHelp window.math.add(1, 2) ``` This will return the number `3`. We also have * `window.math.add(1, 2)` * `window.math.subtract(4, 1)` * `window.math.multiply(1, 3)` * `window.math.divide(6, 2)` But there is one very special math function. It is called `window.math.rand(num1, num2)`. %prep %autosetup -n ConsoleHelp-0.5.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-ConsoleHelp -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Tue May 30 2023 Python_Bot - 0.5.0-1 - Package Spec generated