A Python packages to recoloring default terminal text
Project description
Colorgb
A Python packages to recoloring default string
Install
pip install colorgb
Examples
- Fore
import colorgb
print(colorgb.fore("Hello!", "green", reset=True))
- Backgrounds
import colorgb
print(colorgb.bg("Danger", "red", reset=True))
- Style
Soon!
License and Copyright
This project under MIT License
MIT License
Copyright (c) 2022-present LyQuid
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
colorgb-1.0.tar.gz
(3.9 kB
view details)
Built Distribution
colorgb-1.0-py3-none-any.whl
(5.4 kB
view details)
File details
Details for the file colorgb-1.0.tar.gz
.
File metadata
- Download URL: colorgb-1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b180b9fe0ab82eb8ac965c2cd854fb84c1f739062334b911d93abcb912688236 |
|
MD5 | 04967e67bb0a18ac9cfcbe6b161a4c83 |
|
BLAKE2b-256 | 809df6901393ad8593dbeab7079806c6f23286d7d818a3d742323390eec45875 |
File details
Details for the file colorgb-1.0-py3-none-any.whl
.
File metadata
- Download URL: colorgb-1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ad277fbe8eee4800ab4adcb1e5ab6f385f35a2789efaad40b9365612df499f2 |
|
MD5 | 0cd3dc959a12e9af20f49ca0d3ffc3b7 |
|
BLAKE2b-256 | 6f3ad8b4da730b24736c93e55b0192c10b3ea93de97513474f4aad985d71d7f1 |