Skip to content

ewissel/add_cats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

add_cats Package

This is a package written to easily add ASCII art cats to printed messages in python. Creating a repo by popular demand (one person asked)

To install this repo, run pip install add-cats-ewissel. PyPi page here.

To use this module, add from add_cats_ewissel import get_cat to the top of your python3 script as you'd do for importing any other module. get_cat() has an optional argument cat_type with options ['small', 'big', 'sad]. These are as follows:

  • get_cat(cat_type = "small") default, returns a one line cat (or two for special caseS)

  • get_cat(cat_type = "big") returns a big, multi-line cat to celebrate coding successes with you (or boost morale)

  • get_cat(cat_type = "sad") returns a sad cat, one to many lines, to commiserate with you when your code produces an error.

You can see examples in the python test scripts in this repo.

Currently this package requires python3, not out of neccessity, but to encourage best practices with my coworkers. It is time to release python2 to the past. You may need to run python3 -m pip install --upgrade pip (unix) or py -m pip install --upgrade pip (windows) as well when installing this package.

This package follows a standard MIT license, meaining you can do what you want with this, but you can'd hold me liable for the ASCII cat usage :)

To make this pip installable, I am following the following tutorial: Packaging Python Projects from packaging.python.org

About

add cats to messages in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages