The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.8+ application.