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.
Source Distribution
colord-0.0.6.tar.gz
(2.7 kB
view hashes)
Built Distribution
colord-0.0.6-py3-none-any.whl
(3.7 kB
view hashes)