Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/donno2048/figcow
- Owner: donno2048
- License: mit
- Created: 2021-04-18T14:33:16.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-15T15:46:53.000Z (about 1 year ago)
- Last Synced: 2024-12-10T05:56:49.723Z (about 1 month ago)
- Topics: cowsay, figlet, no-dependencies, pypi
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 |
|| ||
```