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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file figcow-1.0.3.tar.gz.

File metadata

  • Download URL: figcow-1.0.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for figcow-1.0.3.tar.gz
Algorithm Hash digest
SHA256 e43a454a77ee79c0af6f6c2d5c89b4454e47012bad34e00b28872448713c6331
MD5 7073b76ba2996741fc9be0423c79ab58
BLAKE2b-256 073cfd7c1bcde70d3484768bff133298d4d1c8137ee201c9c14276af9cea1a00

See more details on using hashes here.

File details

Details for the file figcow-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: figcow-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for figcow-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 04dd9f8a8f3a5b6f434a403fdba935e84a92978f4896e3f9a286a748f07781b5
MD5 3f590ebeaa4846f34536923185b1a30e
BLAKE2b-256 a799955cf2bd2af8c1aca2f1674a87f995fe2fc83c50bb8113e6b5a11e2588ec

See more details on using hashes here.

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