Skip to main content

A small example package

Project description

Python Package: Foo Barstein

This package was created so you can have Professor Foo Barstein talk with you straight from your terminal. Professor Barstein can do four things - tell you a joke, tell you a haiku, tell you a compliment, and write you an email. Professor Barstein is a fictional character and powered by GPT-3.

How to Run demo

  1. Set your OpenAI API Key by writing the following command in the shell: export OPENAI_API_KEY=(your key)
  2. Run demo.py with the pipfile with the following command: pipenv run python demo.py

How to run tests

  1. go to tests folder by writing the following command in the shell: cd tests
  2. install all necessary packages by writing the following command in the shell: pip install openai pip install pytest
  3. Set your OpenAI API Key by writing the following command in the shell: export OPENAI_API_KEY=(your key) 4.run tests by writing the following command in the shell: pytest test_functions.py

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

funny_gpt_stuytowners-0.0.2.tar.gz (16.2 kB view hashes)

Uploaded Source

Built Distribution

funny_gpt_stuytowners-0.0.2-py3-none-any.whl (16.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page