How to use the cowpy.cow.Cowacter function in cowpy

To help you get started, we’ve selected a few cowpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jeffbuttars / cowpy / cowpy / cow.py View on Github external
"     | | (____) | ||  \n"
            "     \\/\\___/\\__/  // \n"
            "     (_/         ||\n"
            "      |          ||\n"
            "      |          ||\\   \n"
            "       \\        //_/  \n"
            "        \\______//\n"
            "       __ || __||\n"
            "      (____(____)")
        super(Stimpy, self).__init__(**kwargs)


COWACTERS['stimpy'] = Stimpy


class Supermilker(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "  {thoughts}   ^__^\n"
            "   {thoughts}  ({eyes})\\_______        ________\n"
            "      (__)\\       )\\/\\    |Super |\n"
            "       {tongue} ||----W |       |Milker|\n"
            "          ||    UDDDDDDDDD|______|")
        super(Supermilker, self).__init__(**kwargs)

#Su
COWACTERS['supermilker'] = Supermilker


class Surgery(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
"          |          \\    /      /                    \\          \\\n"
            "          |   (_______) /______/                        \\_________ \\\n"
            "          |         / /         \\                      /            \\\n"
            "           \\         \\^\\\\         \\                  /               \\     /\n"
            "             \\         ||           \\______________/      _-_       //\\__//\n"
            "               \\       ||------_-~~-_ ------------- \\ --/~   ~\\    || __/\n"
            "                 ~-----||====/~     |==================|       |/~~~~~\n"
            "                  (_(__/  ./     /                    \\_\\      \\.\n"
            "                         (_(___/                         \\_____)_)")
        super(Turtle, self).__init__(**kwargs)


COWACTERS['turtle'] = Turtle


class Tux(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "   {thoughts}\n"
            "    {thoughts}\n"
            "        .--.\n"
            "       |o_o |\n"
            "       |:_/ |\n"
            "      //   \\ \\\n"
            "     (|     | )\n"
            "    /'\\_   _/`\\\n"
            "    \\___)=(___/")
        super(Tux, self).__init__(**kwargs)


COWACTERS['tux'] = Tux
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
"   {thoughts}          .\n"
            "       ___   //\n"
            "     {{~._.~}}// \n"
            "      ( Y )K/  \n"
            "     ()~*~()   \n"
            "     (_)-(_)   \n"
            "     Luke    \n"
            "     Sywalker\n"
            "     koala")
        super(LukeKoala, self).__init__(**kwargs)


COWACTERS['lukekoala'] = LukeKoala


class MechAndCow(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "                                   ,-----.\n"
            "                                   |     |\n"
            "                                ,--|     |-.\n"
            "                         __,----|  |     | |\n"
            "                       ,;::     |  `_____' |\n"
            "                       `._______|    i^i   |\n"
            "                                `----| |---'| .\n"
            "                           ,-------._| |== ||//\n"
            "                           |       |_|P`.  /'/\n"
            "                           `-------' 'Y Y/'/'\n"
            "                                     .==\ /_\\\n"
            "   ^__^                             /   /'|  `i\n"
            "   (oo)\_______                   /'   /  |   |\n"
            "   (__)\       )\/\             /'    /   |   `i\n"
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
"     .---.  //\n"
            "    Y|o o|Y// \n"
            "   /_(i=i)K/ \n"
            "   ~()~*~()~  \n"
            "    (_)-(_)   \n"
            "\n"
            "     Darth\n"
            "     Vader\n"
            "     koala")
        super(VaderKoala, self).__init__(**kwargs)


COWACTERS['vaderkoala'] = VaderKoala


class Vader(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "        {thoughts}    ,-^-.\n"
            "         {thoughts}   !oYo!\n"
            "          {thoughts} /./=\\.\\______\n"
            "               ##        )\\/\\\n"
            "                ||-----w||\n"
            "                ||      ||\n"
            "\n"
            "               Cowth Vader")
        super(Vader, self).__init__(**kwargs)


COWACTERS['vader'] = Vader
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
class Mutilated(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "       {thoughts}   \\_______\n"
            " v__v   {thoughts}  \\   O   )\n"
            " ({eyes})      ||----w |\n"
            " (__)      ||     ||  \\/\\\n"
            "  {tongue}")
        super(Mutilated, self).__init__(**kwargs)


COWACTERS['mutilated'] = Mutilated


class Ren(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "   {thoughts}\n"
            "    {thoughts}\n"
            "    ____  \n"
            "   /# /_\\_\n"
            "  |  |/o\\o\\\n"
            "  |  \\\\_/_/\n"
            " / |_   |  \n"
            "|  ||\\_ ~| \n"
            "|  ||| \\/  \n"
            "|  |||_    \n"
            " \\//  |    \n"
            "  ||  |    \n"
            "  ||_  \\   \n"
            "  \\_|  o|  \n"
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
" / |        <        |\\ \\\n"
            "| /|                 | | |\n"
            "| |     \\_______/   |  | |\n"
            "| |                 | / /\n"
            "/||                 /|||\n"
            "   ----------------|\n"
            "        | |    | |\n"
            "        ***    ***\n"
            "       /___\\  /___\\")
        super(Cheese, self).__init__(**kwargs)


COWACTERS['cheese'] = Cheese


class Cower(Cowacter):

    def __init__(self, **kwargs):
        kwargs['body'] = (
            "     {thoughts}\n"
            "      {thoughts}\n"
            "        ,__, |    | \n"
            "        (oo)\\|    |___\n"
            "        (__)\\|    |   )\\_\n"
            "             |    |_w |  \\\n"
            "             |    |  ||   *\n"
            "\n"
            "             Cower....")
        super(Cower, self).__init__(**kwargs)


COWACTERS['cower'] = Cower
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
"          {thoughts}      (__)      \n"
            "           {thoughts}     /{eyes}|  \n"
            "            {thoughts}   (_\"_)*+++++++++*\n"
            "                   //I#\\\\\\\\\\\\\\\\I\\\n"
            "                   I[I|I|||||I I `\n"
            "                   I`I'///'' I I\n"
            "                   I I       I I\n"
            "                   ~ ~       ~ ~\n"
            "                     Scowleton")
        super(Skeleton, self).__init__(**kwargs)


COWACTERS['skeleton'] = Skeleton


class Small(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "       {thoughts}   ,__,\n"
            "        {thoughts}  ({eyes})____\n"
            "           (__)    )\\\n"
            "            {tongue}||--|| *")
        super(Small, self).__init__(**kwargs)


COWACTERS['small'] = Small


class Sodomized(Cowacter):
    def __init__(self, **kwargs):
        kwargs['body'] = (
            "      {thoughts}                _\n"
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
def __init__(self, **kwargs):
        kwargs['body'] = (
            "     {thoughts}\n"
            "      {thoughts}\n"
            "          oO)-.                       .-(Oo\n"
            "         /__  _\\                     /_  __\\\n"
            "         \\  \\(  |     ()~()         |  )/  /\n"
            "          \\__|\\ |    (-___-)        | /|__/\n"
            "          '  '--'    ==`-'==        '--'  '")
        super(BudFrogs, self).__init__(**kwargs)


COWACTERS['budfrogs'] = BudFrogs


class Bunny(Cowacter):

    def __init__(self, **kwargs):
        kwargs['body'] = (
            "  {thoughts}\n"
            "   {thoughts}   \\\n"
            "        \\ /\\\n"
            "        ( )\n"
            "      .( o ).")
        super(Bunny, self).__init__(**kwargs)


COWACTERS['bunny'] = Bunny


class Cheese(Cowacter):
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
self.__class__.__name__,
                self._eye_type,
                bool(self._tongue),
                self._thoughts != "\\",
            )

        try:
            res = self._bubble(msg)
            return res + self._body.format(thoughts=self._thoughts,
                                           eyes=self._eyes,
                                           tongue=self._tongue)
        except Exception as e:
            return "Unable to print the message :(\n{0}".format(e)


COWACTERS['default'] = Cowacter


class Beavis(Cowacter):

    def __init__(self, **kwargs):
        kwargs['body'] = (
            "   {thoughts}         __------~~-,\n"
            "    {thoughts}      ,'            ,\n"
            "          /               \\\n"
            "         /                :\n"
            "        |                  '\n"
            "        |                  |\n"
            "        |                  |\n"
            "         |   _--           |\n"
            "         _| =-.     .-.   ||\n"
            "         o|/o/       _.   |\n"
github jeffbuttars / cowpy / cowpy / cow.py View on Github external
"                                   .::!!!!!!!:.\n"
            "  .!!!!!:.                        .:!!!!!!!!!!!!\n"
            "  ~~~~!!!!!!.                 .:!!!!!!!!!UWWW\$\$\$ \n"
            "      :\$\$NWX!!:           .:!!!!!!XUWW\$\$\$\$\$\$\$\$\$P \n"
            "      \$\$\$\$\$##WX!:      .