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.1.tar.gz
(4.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file animalssay-0.2.1.tar.gz.
File metadata
- Download URL: animalssay-0.2.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb97a188382ebad84da99de99fd8b2d199f099e04ac711a0d5c9b048e64b7b92
|
|
| MD5 |
3f2de702c8b792611e0930caed3d8e07
|
|
| BLAKE2b-256 |
e17a1d0ab18a750d0c09b436eb9ece5930f133289de40e0c22510c5f3c5ae3db
|
File details
Details for the file animalssay-0.2.1-py3-none-any.whl.
File metadata
- Download URL: animalssay-0.2.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ee77abef7182c9935827102d13b807680ff90d844c77142fe76da55dece7703
|
|
| MD5 |
d9c77a3c3205f55bf50c54fa313953b0
|
|
| BLAKE2b-256 |
3f32f4c36c0db07b6af72fa5ea244b27c8e5b93b9cc86efce3380a759a90da0c
|