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.3.tar.gz
.
File metadata
- Download URL: lazy_dev_ai-0.2.3.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.20 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e370490d20f6597716ffe0151fccd64da5d7f3ad409b882c0532ae3284ca96c7 |
|
MD5 | 0fd47c8de7b57d3d4088aa6f9bf1059a |
|
BLAKE2b-256 | 72b2428c173f5570c1acdc8c8f6de250e2fe2eceded145cdddc6f1223d9fa59e |
File details
Details for the file lazy_dev_ai-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: lazy_dev_ai-0.2.3-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.9.20 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34e05d524734d27d314c1d828148dce631b4200646f4da9d0d6b7b28f5b211f9 |
|
MD5 | 49239f12b9273bf93a6f4820581b0a1f |
|
BLAKE2b-256 | 8e178316b2bfcfd61dd9bbe77732547badb7194dcb549a76222e52ceaa5d548f |