A simple tool for applying chatgpt prompts to code
Project description
Lazy Dev AI
This tool is being built as a local or pipeline tool for applying general prompts to a chatgpt endpoint and applying responses to the code in question.
The intent is to be flexible enough for users to apply their own prompts while still providing good examples and foundations to be used out of the box.
Environment
The following environment variables are supported
OPENAI_API_KEY
- this is your openai key for use with their endpoints. REQUIRED
OPENAI_PROJECT
- openai project. OPTIONAL
OPENAI_ORGANIZATION
- openai organization. OPTIONAL
Option flags will override anything provided as environment variables
Use
After installing, full help and commands can be found by running lazy-dev-ai
in the terminal
Example
lazy-dev-ai improve-comments ./src/*.py
- this will attempt to improve comments for all python files within the folder ./src
lazy-dev-ai generate-docstrings ./src/*.py
- this will attempt to generate docstrings for all functions within the files matching the pattern
Current commands
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lazy_dev_ai-0.2.2.tar.gz
.
File metadata
- Download URL: lazy_dev_ai-0.2.2.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e762cd5b079945045ef09ca88f650f73eda3f149d8ab9505454ba704dd940be7 |
|
MD5 | 332fbfce699ccbd3b1881e30218790ec |
|
BLAKE2b-256 | 35d3ad1cd56035d948eec42bf20732ccce402f306a094a66aa5e035f08790847 |
File details
Details for the file lazy_dev_ai-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: lazy_dev_ai-0.2.2-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.6 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e401eb98a89d8a9f465436a7ea909c4897e4b59009e4629be7e9a23682dfc2b |
|
MD5 | 5a9b83f0e404af6bd654d55a3d7019d9 |
|
BLAKE2b-256 | a1844b82bf2c95f548c35c36f0548ce408b44a4e3da33f91d72b812df49e560b |