Skip to content

Abhishek8394/lol-cat-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This is inspired from lolcat orginally made in ruby. This project is available on pypi as a python package.

Note: Works on linux ,mac, cygwin and presumably on win 10+ cmd lines, outputs plain text if terminal support not found. Also works on Windows Terminal.

Installation

pip install lolpython

Usage

1. From code

from lolpython import lol_py 

text = "Lorem ipsum..."
lol_py(text)

colourful output echoed

2. From cmd line

lolpython --inp-file "rainbow_this_file.txt"

# if want to do interactive
>> lolpython
>>.. lorem ipsum
>>.. hello world
>>.. [ctrl+d]
>> # rainbow version of the input typed so far

About

Enhanced python port of the classic lolcat

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages