https://github.com/sctech-tr/libvpet
virtual pet library for python
https://github.com/sctech-tr/libvpet
fun pet python python-library python-package python3 virtual virtual-pet
Last synced: 4 months ago
JSON representation
virtual pet library for python
- Host: GitHub
- URL: https://github.com/sctech-tr/libvpet
- Owner: sctech-tr
- License: mit
- Created: 2024-11-25T16:44:04.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-11-25T16:44:15.000Z (over 1 year ago)
- Last Synced: 2025-11-27T18:31:33.550Z (6 months ago)
- Topics: fun, pet, python, python-library, python-package, python3, virtual, virtual-pet
- Language: Python
- Homepage: https://pypi.org/project/libvpet/
- Size: 2.93 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `libvpet` - a virtual pet library
you want a pet? you have to code it >:)
## what's the purpose of this
I don't like existing virtual pet services, so I made my own. libvpet's goal is to be realistic as possible. you have to feed, play, and take care of your pet. if you don't, your pet will be sad :(
## how to use
```python
from libvpet import VirtualPet
pet = libvpet.VirtualPet("./cutedoggo.json", name="cutedoggo")
# feed your pet
pet.feed()
# play with your pet
pet.play()
# sleep your pet
pet.sleep()
# view status of your pet
pet.status()
# age your pet
pet.age_pet()
```
## competition
I will be hosting a competition to see who can implement a web version of this using libvpet. the winner will get a shoutout here. good luck! open an issue to submit your project.