Your indispensable partner in programming
Project description
CodeZen
Description
CodeZen is a CLI utility that uses LLMs to help you debug and evolve your codebase based on your requests.
Usage examples:
codezen "Why am I getting <some exception message>?"
codezen "Write a README.md file for this project"
The differences from Github Copilot:
- This is a CLI tool, meaning it can be used regardless of your chosen IDE.
- This provides the LLM with the entire codebase, so it can do things that require a more holistic view of your project.
Current limitations:
- Only works for small codebases- currently it sends the entire codebase on each request. 😆
- It can't change files autonomously, it only offers a solution.
- It uses gitignore file to know which files to ignore, so you must run this in a git repo and you can't currently ignore files that don't appear there.
Installation
Using PyPi
You can install the application using pip
or pipx
:
pip install --user codezen
or
pipx install codezen
Compile from source
You can compile directly from source:
git clone https://github.com/mmaorc/codezen
cd codezen
poetry build
Development
For development purposes, clone the repository, navigate to the project directory, and install it in a virtual environment:
git clone https://github.com/mmaorc/codezen
cd codezen
poetry install
poetry shell
Usage
Before running the script, ensure that the OPENAI_API_KEY
environment variable is set up correctly.
Run CodeZen with the following command:
codezen <issue_description>
<issue_description>
: Describe the issue you are facing with your code
Contributing
If you would like to contribute to this project, please feel free to fork the repository, create a feature branch, and submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
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 codezen-0.2.0.tar.gz
.
File metadata
- Download URL: codezen-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88d8635ffeedec907127db512a24778e62fdf1934ddcc94cc450ce691bddd660 |
|
MD5 | 16715de4d148bbf86c6580bd57fdcc69 |
|
BLAKE2b-256 | 4919e411529d4db37f6296f63fafa0ed1e082ffe9ad180ba9afe0cc8d2250b2b |
File details
Details for the file codezen-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: codezen-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.11.3 Darwin/22.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c04e3158a0076384eab3d83bd64d76f003de3fe7690d5d3415a265f9c9e1e28 |
|
MD5 | 239a7b2ead8ccbbcfef97c6313432823 |
|
BLAKE2b-256 | 5ce156697855986c57810149720248e1c299cbaf35094e7d81e44ed6a19d57f3 |