Skip to main content

Your indispensable partner in programming

Project description

CodeZen

Description

CodeZen is your indispensable partner in programming. It is a CLI utility that uses LLMs to help you debug and evolve your codebase based on your requests.

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 wholistic view of your project.

Current limitations:

  • Only Work for small codebases- currently we send the entire codebase in each request. 😆
  • It can't change files autonomously, it only offers a solution.
  • It uses hard coded direcory names to know which files to ignore. Currently it only contains Python and Node.js common ignorable directories.

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 in a virtual environment:

git clone https://github.com/mmaorc/codezen
cd codezen
poetry install
poetry shell

Usage

Prior to 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

Example:

codezen "Im getting the following error: ValueError: invalid literal for int() with base 10: a"
codezen "Write a readme.md file for this project"

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

codezen-0.1.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

codezen-0.1.1-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page