- Our project is a Python package that generates light-hearted 'roasts', insults, directed to the user. The package contains different types of roast that the user can pick and generate.
- This is the Link to our group's package page: pyroasts
- Create a
pipenv
-managed virtual environment and install the latest version of our package installed:pipenv install pyroasts
. - Activate the virtual environment:
pipenv shell
. - Create a Python program file that imports your package and uses it, e.g. from
pyroasts import *
and thenprint(get_roast())
(replaceget_roast()
with any function that exists in our package) . - Run the program:
python3 my_program_filename.py
. - Exit the virtual environment: exit.
Here are some coding examples:
- If you haven't already, install
pipenv
using the command:pip install pipenv
- Install all the dependencies listed in the
Pipfile
:pipenv install
- Activate the virtual environment:
pipenv shell
. - Run all the tests:
pytest
orpython3 -m pytest
. - Exit the virtual environment
Links to all the member's Github accounts: