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
- Set your OpenAI API Key by writing the following command in the shell:
export OPENAI_API_KEY=(your key)
- Run demo.py with the pipfile with the following command:
pipenv run python demo.py
How to run tests
- go to tests folder by writing the following command in the shell:
cd tests
- install all necessary packages by writing the following command in the shell:
pip install openai
pip install pytest
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for funny_gpt_stuytowners-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c8590b19957d4a3bf615f5364a6261816caf7fab518294376504bc569022304 |
|
MD5 | 8c4ebfb80a1ee726bee78e31a35e2b46 |
|
BLAKE2b-256 | 6087a225285a115a872a43e106c96b27c9876bc661a2287b44b2da36216ea758 |
Close
Hashes for funny_gpt_stuytowners-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8088c854b08bb83e6d9584701467ac4bb779615aa7d5a9c1dd0d97f9d4a4651 |
|
MD5 | a558def6b2918bf64428c78c28d7c2f5 |
|
BLAKE2b-256 | e53e0c687465eb0d829135d95b78a154c5fcc96f0356ef330832b1b861aaa8ce |