For all of your console needs!
Project 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:
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:
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:
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:
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)
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ConsoleHelp-0.5.0.tar.gz
.
File metadata
- Download URL: ConsoleHelp-0.5.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.8.0 tqdm/4.57.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b760551ececb8cf0abbb6576a5f7da496f5c9fa4a07273dd9f124e88a6b5b3d |
|
MD5 | 90ed31de6847df6c50a3f7cf6acff864 |
|
BLAKE2b-256 | 3f3352fca466220cdbc991adef34b52beda9e24197f936d201b33bd1359dd2f8 |
File details
Details for the file ConsoleHelp-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: ConsoleHelp-0.5.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.8.0 tqdm/4.57.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b0f55a5dc751dcfa55c19f8a1e5a84bb82a4a7288c5d928784e48466c1dcdad |
|
MD5 | 84a538a1031043e047ab894454666fd4 |
|
BLAKE2b-256 | b733416248381018b4e9f03de282278599fbfb0c82ae50cbf2391bb1d2ac77cd |