Skip to main content

A fun package that displays animals on the terminal with movement and messages.

Project description

Build Status

pyAnimals-ejh

Table of Contents

  1. Description
  2. PyPI Page
  3. Installation
  4. Virtual Environment & Dependencies
  5. Running pyAnimals_ejh
  6. Examples
  7. Contributing
  8. Team Members

Description

A fun package that displays animals on the terminal with movement and messages.

PyPI Page

You can find pyAnimals_ejh on PyPI HERE

Installation

Install pyAnimals_ejh with pip:

pip install pyAnimals_ejh

Virtual Environment & Dependencies

Set up the virtual environment:

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Running pyAnimals_ejh

To run pyAnimals_ejh, use the following command:

python -m pyAnimals_ejh

Examples

Parameter for all functions are: animal (str): name of animal.
***Note: Valid animal names include "cat", "bunny", "elephant", "rabbit". Only these can be used with our package.

  1. move(animal) Moves specified animal across the terminal screen
move("cat")
  1. race(animal) Displays race between player and specified animal
race("rabbit")
  1. randMessage(animal) Prints a random message for the specified animal
randMessage("bunny")
  1. print_fact(animal) Prints a random fact for the specified animal. Raises: ValueError if no facts are available for the specified animal.
print_fact("elephant")

See an example program that uses all functions HERE

Contributing

We welcome contributions to enhance and grow pyAnimals_ejh! Follow these steps to set up the development environment:

  1. Clone the Repository:
git clone https://github.com/software-students-fall2024/3-python-package-ejh.git
cd 3-python-package-ejh
  1. Set Up the Virtual Environment
source venv/bin/activate
pip install -r requirements.txt
  1. Build and Test the Package
python -m build
  1. Run Tests
pytest
  1. Add New Tests
    If you add new functionality, include tests in the tests directory.

Team members

Haley Hobbs
Emma Zhu
Jason Tran
Jenna Han

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

pyanimals_ejh-0.1.3.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

pyAnimals_ejh-0.1.3-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file pyanimals_ejh-0.1.3.tar.gz.

File metadata

  • Download URL: pyanimals_ejh-0.1.3.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for pyanimals_ejh-0.1.3.tar.gz
Algorithm Hash digest
SHA256 84173a54c3f2fffe1ac2b0f4bef6f9039fd311041aef5918c266e3262bb4b771
MD5 c6d60051f785d61795464d45a4ce24b9
BLAKE2b-256 ec4f7a01f785e11a8a295b81db20e40e977e07571e0fe592795f46b7a4438c8e

See more details on using hashes here.

File details

Details for the file pyAnimals_ejh-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyAnimals_ejh-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for pyAnimals_ejh-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 40c059a818bdc8f4365674cd81bae5c797194121696b1ab2b6031120781d704c
MD5 4a8c392517f664f74e1d18e236247be5
BLAKE2b-256 eb52b1dc3e8e272632aa44400ce813220fcdc810efe2944ce2827630e93c1dd2

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