Skip to main content

Animalsay

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.

Install

Animalsay requires Python 3.6 or higher to run.

$ pip install animalsay

Usage

$ 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.                              |
 \                                                 /
  =================================================
                                                      \
                                                       \
                                                           /\___/\
                                                          ( =^.^= )
                                                           (")(")_/

More Animals

To see the the list of available animals.

$ from animalsay.utils import animals
$ animals.keys()

dict_keys(['cow', 'bunny', 'cat'])

Metadata

Release files for animalsay 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for animalsay 1.0.5
File Size Uploaded
animalsay-1.0.5.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for animalsay 1.0.5
File Interpreter ABI Platform
animalsay-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / animalsay-1.0.5.tar.gz

Download URL animalsay-1.0.5.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b6295dfd45ff661ec6fc1aafb66fd9be9271144287b3ed97a24060fa0205c7ae
BLAKE2b-256 checksum
How to use checksums
5058a4a8bb8b3288d990185dd2d93b59a4514d728cdd3a87203fa3bfa7250bb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release files / animalsay-1.0.5-py3-none-any.whl

Download URL animalsay-1.0.5-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40b8c29ca529a7ce5856e13b2b825f0bc73553bd1904b76575a6904153ae4c1b
BLAKE2b-256 checksum
How to use checksums
753210be8630840d0afe4d0db53ab8d4531e13ed4f1b3826e43bf9a74d87b682
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page