MARKABLE
Aim:
- Render text in terminal
- HEX color tag string. e.g.
'#ff00ff' - RGB tuple. e.g.
(255, 0, 255)
- HEX color tag string. e.g.
- Render single/multiple lines
- Global trigger
How to use:
Note: Marker.print() method inherited few parameters from print(
end='\n',flush=False,file=sys.stdout)
- Proceed a single line:
from markable import Marker
Marker.print(line='Hello World!', fg='#ff0000') # case-insensitive
Marker.print(line='Hello World!', fg=(255, 0, 0))
- Proceed a multiple lines:
from markable import Marker
Marker.set_color(bg='#ffff00') # set start point
print('SOMETHING') # do
print('TEST') # somethin
print('DEBUG') # here
Marker.reset_color() # reset to default
- Global trigger:
from markable import Marker
Marker.SWITCH = False
If you like my work, please consider buying me a coffee or PayPal
Thanks for your support! Cheers! 🎉
Metadata
Release files for markable 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| markable-1.0.1.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| markable-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.7 kB
Release files / markable-1.0.1.tar.gz
| Download URL | markable-1.0.1.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
577bacf1eb247cc942f21bdf69b3137a32f74f3a2956e8fce912bbe49b588d67
|
|
BLAKE2b-256 checksum How to use checksums |
b2120008890dec217e038fd1a27dfeeb380a238c124ce759ec6f67743d22e990
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
|
Release files / markable-1.0.1-py3-none-any.whl
| Download URL | markable-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01c71074f76414e3485e8caacd338ec027554c049159e7e95be92f5fa8addc87
|
|
BLAKE2b-256 checksum How to use checksums |
38daa348254c8d34e033f41f4bf038bd96563b8be393cf0859ead94ce295e8bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.6
|