{"id":22873701,"url":"https://github.com/vaasudevans/cowsay-python","last_synced_at":"2025-05-15T07:07:18.165Z","repository":{"id":37602633,"uuid":"90616593","full_name":"VaasuDevanS/cowsay-python","owner":"VaasuDevanS","description":"The famous cowsay 🐮 for GNU/Linux is now available for python","archived":false,"fork":false,"pushed_at":"2024-12-27T01:12:44.000Z","size":279,"stargazers_count":166,"open_issues_count":7,"forks_count":52,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-15T07:06:59.683Z","etag":null,"topics":["cowsay","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/cowsay","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VaasuDevanS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-08T10:38:52.000Z","updated_at":"2025-05-10T22:10:29.000Z","dependencies_parsed_at":"2023-01-28T08:01:36.011Z","dependency_job_id":"3c54f173-6fb8-4ffc-819d-9f46a39a0afb","html_url":"https://github.com/VaasuDevanS/cowsay-python","commit_stats":{"total_commits":60,"total_committers":11,"mean_commits":5.454545454545454,"dds":0.4,"last_synced_commit":"c08fefb14140c095d47e0766e41d1166e6b44c3f"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VaasuDevanS%2Fcowsay-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VaasuDevanS%2Fcowsay-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VaasuDevanS%2Fcowsay-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VaasuDevanS%2Fcowsay-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VaasuDevanS","download_url":"https://codeload.github.com/VaasuDevanS/cowsay-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254292042,"owners_count":22046426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cowsay","python"],"created_at":"2024-12-13T14:29:55.716Z","updated_at":"2025-05-15T07:07:13.150Z","avatar_url":"https://github.com/VaasuDevanS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[![cowsay](https://github.com/VaasuDevanS/cowsay-python/actions/workflows/cowsay.yaml/badge.svg?branch=main)](https://github.com/VaasuDevanS/cowsay-python/actions/workflows/cowsay.yaml)\n[![codecov](https://codecov.io/gh/VaasuDevanS/cowsay-python/graph/badge.svg?token=GV4ntsCNtd)](https://codecov.io/gh/VaasuDevanS/cowsay-python)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/d5a358f5dd5c41d68db8c331d65fd0fd)](https://app.codacy.com/gh/VaasuDevanS/cowsay-python/dashboard)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/cowsay)\n[![Github](https://img.shields.io/badge/github-cowsay--python-blue)](https://github.com/VaasuDevanS/cowsay-python)\n\u003cbr\u003e\n![](https://img.shields.io/badge/Latest%20Release-Sep%2025,%202023-blue)\n[![Downloads](https://static.pepy.tech/badge/cowsay)](https://pepy.tech/project/cowsay)\n[![Downloads](https://static.pepy.tech/badge/cowsay/month)](https://pepy.tech/project/cowsay)\n[![Downloads](https://static.pepy.tech/badge/cowsay/week)](https://pepy.tech/project/cowsay)\n\n\n# Introduction\n\nA python API / Command-line tool for the famous linux `cowsay`. \u003cbr\u003e\nTake a look at [CHANGELOG.md](https://github.com/VaasuDevanS/cowsay-python/blob/main/CHANGELOG.md) for the changes.\n\n\n# Brief History\n`cowsay` for GNU/Linux was initially written in perl by Tony Monroe. More info \n[here](https://en.wikipedia.org/wiki/Cowsay).\n\n\n# Installation\n```console\npip install cowsay\n```\n\n\n# API Usage\n```pycon\n\u003e\u003e\u003e import cowsay\n\n\u003e\u003e\u003e cowsay.cow('Hello World')\n ___________\n| Hello World |\n  ===========\n           \\\n            \\\n              ^__^\n              (oo)\\_______\n              (__)\\       )\\/\\\n                  ||----w |\n                  ||     ||\n\n\n\u003e\u003e\u003e print(cowsay.get_output_string('cow', 'Hello World'))\n  ___________\n| Hello World |\n  ===========\n           \\\n            \\\n              ^__^\n              (oo)\\_______\n              (__)\\       )\\/\\\n                  ||----w |\n                  ||     ||\n\n\n\u003e\u003e\u003e cowsay.cow('Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris blandit rhoncus nibh. Mauris mi mauris, molestie vel metus sit amet, aliquam vulputate nibh.')\n  _________________________________________________\n /                                                 \\\n| Lorem ipsum dolor sit amet, consectetur adipiscin |\n| g elit. Mauris blandit rhoncus nibh. Mauris mi ma |\n| uris, molestie vel metus sit amet, aliquam vulput |\n| ate nibh.                                         |\n \\                                                 /\n  =================================================\n                                                 \\\n                                                  \\\n                                                    ^__^\n                                                    (oo)\\_______\n                                                    (__)\\       )\\/\\\n                                                        ||----w |\n                                                        ||     ||\n\n\n\u003e\u003e\u003e my_fish = r'''\n\\\n \\  \n        /`·.¸\n     /¸...¸`:·\n ¸.·´  ¸   `·.¸.·´)\n: © ):´;      ¸  {\n `·.¸ `·  ¸.·´\\`·¸)\n     `\\\\´´\\¸.·´\n'''\n\n\u003e\u003e\u003e cowsay.draw('Sharks are my best friend', my_fish)\n  _________________________\n| Sharks are my best friend |\n  =========================\n                         \\\n                          \\  \n                                 /`·.¸\n                              /¸...¸`:·\n                          ¸.·´  ¸   `·.¸.·´)\n                         : © ):´;      ¸  {\n                          `·.¸ `·  ¸.·´\\`·¸)\n                              `\\\\´´\\¸.·´\n```\n\n\n# Command Line Usage\n```console\n$ cowsay -t \"Hello World\"\n  ___________\n| Hello World |\n  ===========\n           \\\n            \\\n              ^__^\n              (oo)\\_______\n              (__)\\       )\\/\\\n                  ||----w |\n                  ||     ||\n\n\n$ cowsay -t \"Hello World\" -c \"tux\"\n  ___________\n| Hello World |\n  ===========\n                \\\n                 \\\n                  \\\n                   .--.\n                  |o_o |\n                  |:_/ |\n                 //   \\ \\\n                (|     | )\n               /'\\_   _/`\\\n               \\___)=(___/\n```\n\n\n# More Characters\n```pycon\n\u003e\u003e\u003e cowsay.char_names\n['beavis', 'cheese', 'cow', 'daemon', 'dragon', 'fox', 'ghostbusters', 'kitty',\n'meow', 'miki', 'milk', 'octopus', 'pig', 'stegosaurus', 'stimpy', 'trex', \n'turkey', 'turtle', 'tux']\n\n\n\u003e\u003e\u003e cowsay.char_funcs\n{'beavis': \u003cfunction func at 0x104b734c0\u003e, \n'cheese': \u003cfunction func at 0x104d285e0\u003e, \n...\n'tux': \u003cfunction func at 0x104d28f70\u003e}\n\n\n\u003e\u003e\u003e len(cowsay.chars)\n19\n```\n\n# Contributers\n\u003ca href=\"https://github.com/VaasuDevanS/cowsay-python/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=VaasuDevanS/cowsay-python\u0026columns=5\" /\u003e\n\u003c/a\u003e\n\nGuide: [CONTRIBUTING.md](https://github.com/VaasuDevanS/cowsay-python/blob/main/CONTRIBUTING.md)\n\n\n# Star History\n[![Star History Chart](https://api.star-history.com/svg?repos=VaasuDevanS/cowsay-python\u0026type=Date)](https://star-history.com/#VaasuDevanS/cowsay-python\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaasudevans%2Fcowsay-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaasudevans%2Fcowsay-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaasudevans%2Fcowsay-python/lists"}