Skip to main content

Python cowsay that looks like a figlet

Project description

figcow

Python cowsay that looks like a figlet.

No dependencies.

install

From Pypi:

pip3 install figcow

From GitHub:

pip3 install git+https://github.com/donno2048/figcow

Usage

In cmd:

> figcow Example
 _________________________________________________
/  _____                                 _        \
| | ____|__  __  __ _  _ __ ___   _ __  | |  ___  |
| |  _|  \ \/ / / _` || '_ ` _ \ | '_ \ | | / _ \ |
| | |___  >  < | (_| || | | | | || |_) || ||  __/ |
| |_____|/_/\_\ \__,_||_| |_| |_|| .__/ |_| \___| |
\                                |_|              /
 ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
     \   ^__^
      \  (oo)\_______
         (__)\       )\/\
           ||----w |
           ||     ||
> echo 9 | figcow
 ____________
/   ___      \
|  / _ \     |
| | (_) |    |
|  \__, |    |
|    /_/     |
\            /
 ‾‾‾‾‾‾‾‾‾‾‾‾
     \   ^__^
      \  (oo)\_______
         (__)\       )\/\
            ||----w |
            ||     ||

In a script:

>>> from figcow import cow
>>> c = cow("Another example", 20) # The second argument is the maximum width of the text
>>> print(c)
 __________________
/     _            \
|    / \    _ __   |
|   / _ \  | '_ \  |
|  / ___ \ | | | | |
| /_/   \_\|_| |_| |
|                  |
|         _        |
|   ___  | |_      |
|  / _ \ | __|     |
| | (_) || |_      |
|  \___/  \__|     |
|                  |
|  _               |
| | |__    ___     |
| | '_ \  / _ \    |
| | | | ||  __/    |
| |_| |_| \___|    |
|                  |
|                  |
|  _ __      ___   |
| | '__|    / _ \  |
| | |      |  __/  |
| |_|       \___|  |
|                  |
|                  |
| __  __  __ _     |
| \ \/ / / _` |    |
|  >  < | (_| |    |
| /_/\_\ \__,_|    |
|                  |
|                  |
|  _ __ ___        |
| | '_ ` _ \       |
| | | | | | |      |
| |_| |_| |_|      |
|                  |
|         _        |
|  _ __  | |  ___  |
| | '_ \ | | / _ \ |
| | |_) || ||  __/ |
| | .__/ |_| \___| |
| |_|              |
|                  |
|                  |
|                  |
|                  |
|                  |
\                  /
 ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
     \   ^__^
      \  (oo)\_______
         (__)\       )\/\
           ||----w |
           ||     ||

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

figcow-1.0.3.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

figcow-1.0.3-py3-none-any.whl (5.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page