Skip to main content

A simple example Python library where animals can say words

Project description

animalssay

animalssay is a fun Python library that lets animals say things in ASCII art style — just like the classic cowsay, but with more animals!

Features

  • Cute ASCII art animals: cat, dog, frog, fox, cow, pig, owl and more
  • Simple functions to generate speech bubbles with animal pictures
  • Easy to use and extend with your own animals

Installation

You can install animalssay via pip (once published):

pip install animalssay
Or install locally for development:

pip install -e .

from animalssay import cat_says, dog_says, frog_says

print(cat_says("Hello!"))
print(dog_says("Woof!"))
print(frog_says("Ribbit."))
This will print:

  --------
< Hello! >
  --------
     \
      \
        /\_/\
       ( o.o )
        > ^ <
Adding more animals
You can add your own animal functions by editing animalssay/animals.py and updating __init__.py.

License
MIT License © Dmytro Steblev

Enjoy making animals talk! 🐱🐶🦊🐸🐮🐷🦉

---

If you want, I can also help you create a proper `LICENSE` file or add more sections like contribution guidelines!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

animalssay-0.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

animalssay-0.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file animalssay-0.2.tar.gz.

File metadata

  • Download URL: animalssay-0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for animalssay-0.2.tar.gz
Algorithm Hash digest
SHA256 5fcbe77d9aec6c46fa4a2db42d30e77a20e6bf422275c92e4fc3d4699c23fea8
MD5 98c2991bbb242dd69a4adb765b4b9b74
BLAKE2b-256 d7fd949ab98a6e0c91681e51f9593a37a9e89f3c6e4ac90a071f79f724f53fc1

See more details on using hashes here.

File details

Details for the file animalssay-0.2-py3-none-any.whl.

File metadata

  • Download URL: animalssay-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.0

File hashes

Hashes for animalssay-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad341db58cb2031c59f72cd8c2a4c5efedfbbd9a94bbaceedb380f325e7afdde
MD5 947b994f2befe2ed497f4868ac58527c
BLAKE2b-256 3ea0ba6773e520a607ebeda6feb30efcd16b0d0ef038d154fdbec36c3724e1b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page