A Python library for prettier, fully customizable console outputs.
Project description
EnhancedStr
A Python library for prettier, fully customizable console outputs.
Code Example
from enhanced_str import es, clearConsole
def main() -> None:
clearConsole()
es("You have a new message!").mixedGradient(0xFF00FF, 0xFFFFFF, 2).underline().out()
print("\n")
print(es("Cool forward color transition!").gradient(0x000000, 0xFFFFFF))
print(es("Cool reverse color transition!").gradient(0xFFFFFF, 0x000000))
print("\n")
es("Error!").hexColor(0xFF0000).bold().out()
es("Warning!").hexColor(0xFFFF00).bold().out()
es("Success!").hexColor(0x00FF00).bold().out()
print("\n")
es("Alert: Something might be going wrong.").hexColor(0xFF7F7F).bold().outBlink(
0.2, 5
)
print("\n")
es("Hello World! This is a step by step character demonstration.").gradient(
0x3D1E6D, 0xFFABFF
).bold().outSBS(0.02)
while 1:
...
if __name__ == "__main__":
main()
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
enhanced_str-0.0.7.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enhanced_str-0.0.7.tar.gz.
File metadata
- Download URL: enhanced_str-0.0.7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c6442d479fcb52dd4b04c63e810055de6a381f506efd2fea65ae7d7579e5e43
|
|
| MD5 |
8f7b199e00d5e8b48a84d58143fe971e
|
|
| BLAKE2b-256 |
50705959bd5e2ae43e90335d88ebbba24354974967b644c589b834b98d661ffa
|
File details
Details for the file enhanced_str-0.0.7-py3-none-any.whl.
File metadata
- Download URL: enhanced_str-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
085abdf78c3989dba4a0b978523d9d17ea0eefea33e46ea07b4de772e92de55f
|
|
| MD5 |
e3bad182dc2df8020bc77e88c6ceeeb8
|
|
| BLAKE2b-256 |
6fab8fc5890ed8a76bf901c7fbea21fb7cebb5145d26187cf066de1350b82088
|