colord is a python package for multiplatform colors.
Project description
Colord
Executive summary
- Python package which allows you to print colored text & colored words.
- You need to setup lists with colored words & all words in lists will be printed in color of that list.
Installation
- pip3 install colord
Usage
- in printc function can be used argumets: delay, skipline.
- delay : delay between next letter will be printed
- skipline = True : will skip line after text is printed
Example
import colord
colord.setlist.magenta(['test'])
colord.setlist.green(['test2','test3'])
colord.setlist.red(['test4'])
colord.printc('testtest2test4test3')
colord.printc('testtest2test4test3',delay=0.03)
colord.printc('testtest2test4test3',delay=0.03,skipline=True)
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size colord-0.0.6-py3-none-any.whl (3.7 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size colord-0.0.6.tar.gz (2.7 kB) | File type Source | Python version None | Upload date | Hashes View |