Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 546 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 546 Bytes

Python coding helper module

This python module can shorten, reformat and add docstrings to your python files using OpenAI API. You need .env file containing your OpenAI API key in OPENAI_API_KEY variable. Or you can export api key manually: export OPENAI_API_KEY=your_api_key_here

Installation

You can install this package from pip: pip install https://github.com/pf-github-pl/openai_helper/releases/download/0.1/openai_helper-0.1.tar.gz

Usage

Run the following command: python3 -m openai_helper your_source_file.py output_file.py