A Python version of the famous cowsay program by Tony Monroe. It is based in this other Python package with way cuter animals. If you like it, feel free to contribute and add your own animals.
Animalsay requires Python 3.6 or higher to run.
$ pip install animalsay
$ from animalsay.utils import say
$ say("cow", "hello world!")
____________
< hello world! >
============
\
\
^__^
(oo)\_______
(__)\ )\/\
||----w |
|| ||
$ say("bunny", "Such a cutie pie!")
_________________
< Such a cutie pie! >
=================
\
\
(\_____/)
( ' x ' )
c (")(")
It accepts both a short sentence and a long text.
$ say("cat", "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam lacinia tellus eros, sit amet rhoncus sapien volutpat at. In odio justo, placerat at posuere ut, elementum eu ligula. Cras facilisis gravida tincidunt.")
_________________________________________________
/ \
| Lorem ipsum dolor sit amet, consectetur adipiscin |
| g elit. Aliquam lacinia tellus eros, sit amet rho |
| ncus sapien volutpat at. In odio justo, placerat |
| at posuere ut, elementum eu ligula. Cras facilisi |
| s gravida tincidunt. |
\ /
=================================================
\
\
/\___/\
( =^.^= )
(")(")_/
To see the the list of available animals.
$ from animalsay.utils import animals
$ animals.keys()
dict_keys(['cow', 'bunny', 'cat'])