ChatGPT CLI and Python Wrapper

ChatGPT Wrapper is an open-source tool unofficial API that lets you interact with ChatGPT in Python and as a CLI.

Link