Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/donno2048/figcow

Python cowsay that looks like a figlet.
https://github.com/donno2048/figcow

cowsay figlet no-dependencies pypi

Last synced: 14 days ago
JSON representation

Python cowsay that looks like a figlet.

Awesome Lists containing this project

README

        

# 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:

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

In a script:

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