Ladrillo/devcontainer-python

★ 0Forks 0PythonGitHub ↗Compare

README

Python3 DevContainer

  1. Create an .env file inside the .devcontainer folder and add your API keys, etc:

    OPENAI_API_KEY=abcd
    

    This is an example. Replace abcd with desired value.

  2. Reopen the project in a dev container.

  3. Install new dependencies in your project if needed:

    pip install openai && pip freeze > requirements.txt
  4. Have fun!

    pip list
    pip list --outdated
    pip list --not-required
    python main.py