forked from VaasuDevanS/cowsay-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4536fe7
commit 89a7db7
Showing
7 changed files
with
1,083 additions
and
381 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
include README.rst | ||
include README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
# Cowsay | ||
|
||
 | ||
 | ||
 | ||
|
||
A python API / console script for the famous linux-cowsay. <br> | ||
All contributions / forks are welcome. | ||
|
||
Brief History | ||
============== | ||
|
||
cowsay for GNU/Linux was initially written in perl by Tony Monroe ([email protected]), with suggestions from Shannon Appel ([email protected]) and contributions from Anthony Polito ([email protected]). | ||
|
||
Check here for the [list](https://github.com/VaasuDevanS/cowsay-python/graphs/contributors) of contributors for this python package. | ||
|
||
|
||
Installation | ||
============ | ||
``` | ||
pip install cowsay | ||
``` | ||
|
||
|
||
Basic Usage | ||
=========== | ||
|
||
``` | ||
>>> import cowsay | ||
>>> cowsay.cow('Hello World') | ||
___________ | ||
< Hello World > | ||
=========== | ||
\ | ||
\ | ||
^__^ | ||
(oo)\_______ | ||
(__)\ )\/\ | ||
||----w | | ||
|| || | ||
>>> cowsay.dragon('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris blandit rhoncus nibh. Mauris mi mauris, molestie vel metus sit amet, aliquam vulputate nibh.') | ||
_________________________________________________ | ||
/ \ | ||
| Lorem ipsum dolor sit amet, consectetur adipiscin | | ||
| g elit. Mauris blandit rhoncus nibh. Mauris mi ma | | ||
| uris, molestie vel metus sit amet, aliquam vulput | | ||
| ate nibh. | | ||
\ / | ||
================================================= | ||
\ | ||
\ | ||
\ | ||
\ | ||
/ \ //\ | ||
|\___/| / \// \\ | ||
/0 0 \__ / // | \ \ | ||
/ / \/_/ // | \ \ | ||
\@_^_\@'/ \/_ // | \ \ | ||
//_^_/ \/_ // | \ \ | ||
( //) | \/// | \ \ | ||
( / /) _|_ / ) // | \ _\ | ||
( // /) '/,_ _ _/ ( ; -. | _ _\.-~ .-~~~^-. | ||
(( / / )) ,-{ _ `-.|.-~-. .~ `. | ||
(( // / )) '/\ / ~-. _ .-~ .-~^-. \ | ||
(( /// )) `. { } / \ \ | ||
(( / )) .----~-.\ \-' .~ \ `. \^-. | ||
///.----..> \ _ -~ `. ^-` ^-_ | ||
///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~ | ||
/.-~ | ||
``` | ||
|
||
|
||
More characters | ||
=============== | ||
``` | ||
>>> cowsay.char_names | ||
['beavis', 'cheese', 'daemon', 'cow', 'dragon', 'ghostbusters', 'kitty', 'meow', 'milk', 'pig', 'stegosaurus', 'stimpy', 'turkey', 'turtle', 'tux'] | ||
>>> cowsay.chars[0] | ||
<function beavis at 0x0000000002D2F908> | ||
>>> len(cowsay.chars) | ||
15 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
from .main import chars, char_names, beavis , cheese , daemon , cow , dragon , ghostbusters , kitty , meow , milk , pig, stegosaurus , stimpy , turkey , turtle , tux, about | ||
|
||
from .main import chars, char_names, beavis, cheese, daemon, cow, \ | ||
dragon, ghostbusters, kitty, meow, milk, pig, stegosaurus, \ | ||
stimpy, turkey, turtle, tux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
|
||
from .main import cli | ||
|
||
|
||
|
Oops, something went wrong.