A simple color console print library.
Project description
simple color print library for console.
Version History
VERSION 1.0 - 2014/07/30
First release upon the world
Why
Just inspired by fabric.colors module, and want to try how to release a python package to PyPi, so create this simple library.
The ribbon library can help you to print colorful text in console more easily, and even you can print rainbow-like text. Just for fun!!
Demo
Usage
from ribbon import red print(red('This text is red')) from ribbon import red, green print(red('This is red and ' + green('that is green'))) from ribbon import rainbow print(rainbow('This is a rainbow-like text!'))
Install
pip install ribbon
Contribution
Waiting for your pull request
Lisence
MIT Lisence
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
ribbon-1.0.0.tar.gz
(2.8 kB
view details)
Built Distribution
File details
Details for the file ribbon-1.0.0.tar.gz
.
File metadata
- Download URL: ribbon-1.0.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02beeff0f7ae9c6712165d7e22ada3ac55239422e8467bb21f31c5bf8d6e6827 |
|
MD5 | 70241248d2f6dc5fa138671c801439d0 |
|
BLAKE2b-256 | 9e16285a504846177b95ae3435d1592ef8720ea2c00a5c23163164b7bb6e57db |
File details
Details for the file ribbon-1.0.0.macosx-10.9-x86_64.exe
.
File metadata
- Download URL: ribbon-1.0.0.macosx-10.9-x86_64.exe
- Upload date:
- Size: 65.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d600373125b248713aa9dc777aeae646c4b340f0c1fdfc7dec0ee10be98427e |
|
MD5 | 0dbd70574a47605ddfddeed416c90f64 |
|
BLAKE2b-256 | f2446a68d6e81720c0fd0ac9244dfbaf7c95d5245c7b0e236bb9b002e5661238 |