/self-contained-python-repo

A Python repo that is (truly) self-contained.

Primary LanguagePythonMIT LicenseMIT

About

This is a sample self-contained Python repo for my blog post Self-Contained Python Repo.

Create .env file in project and put your OpenAI key as follows:

OPENAI_API_KEY=sk-xxxxxxxxx

Then, do the following and run the code using VSCode (code .):

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

Additional Notes: