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
  • 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:

bash
pip install -e .
Usage
python
from animalssay import cat_says, dog_says, frog_says

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

lua
  --------
< 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! 🐱🐶🦊🐸🐮🐷🦉

yaml

---

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.1.1.tar.gz (2.2 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.1.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for animalssay-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b900ecbaa74d4bde18da00c09e85b2e48da782e41b22663e26a7475c196722cb
MD5 986806a6283db61ac6bf7ee14f53947f
BLAKE2b-256 675a0ad30438667fa2c55f4616a985cfa2a5e1e15eed16e2256b6fafb3ae1fab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: animalssay-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.5 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 402e8253f2a422de73aadb6b0db508c2d2503ef760bdc8847ebf9dfdf058ec96
MD5 a1b432055e99343fd3a5bda0b9d15a2a
BLAKE2b-256 6de151982924ed4dd4fef0003be5b062f8d4d405e16e2ddd6d68c1fe94af7fb4

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