A fun way to customize your terminal with colors, styles etc...
Project description
:art: magic-terminal
A fun way to customize your terminal with colors, styles etc...
Install
py -m pip install -U magic-terminal
:: for latest/unstable
py -m pip install -U git+https://github.com/Marseel-E/magic-terminal
Import
from MagicTerminal import Magic, Style, Color, Highlight
Magic.styalize()
print(Magic.styalize("Some fancy text", Style.default, Color.green, Highlight.red))
# >>> Some fancy text
Magic.print()
Magic.print("Some fancy text", Style.default, Color.green, Highlight.red, True, True)
# >>>
# >>> Some fancy text
# >>>
Magic.typed_print()
Magic.typed_print(420)
# >>> 420
📜 License
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
magic-terminal-1.5.0.tar.gz
(3.3 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 magic-terminal-1.5.0.tar.gz.
File metadata
- Download URL: magic-terminal-1.5.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b191eccdc7577e38bb5a57adf2672f11cbad9014517c9ff446084144757e3e98
|
|
| MD5 |
16a517a9f9d5cf255de7bdf413a64b5f
|
|
| BLAKE2b-256 |
15767a91c77b95434ac665c6c1741396b00c21f7bb463de3373ea391d386c551
|
File details
Details for the file magic_terminal-1.5.0-py3-none-any.whl.
File metadata
- Download URL: magic_terminal-1.5.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
830b7c4eff3654be370dfc5524270f2f552e64211b3e8ce12c30b39599361ed5
|
|
| MD5 |
af2f38474595768262138b114978e095
|
|
| BLAKE2b-256 |
0f02dde6e979bb805bc9e80f4e187623bbcde0ecd28f7f98ce78c7ef66b85922
|