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.0.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

codezen-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file codezen-0.1.0.tar.gz.

File metadata

  • Download URL: codezen-0.1.0.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Darwin/22.4.0

File hashes

Hashes for codezen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b363021e0359cee7d6e2f9c962d825ba412f87ccf3a608b56594372144c8d435
MD5 b73decec307c48094dbb4c0dc5a27f83
BLAKE2b-256 9a87d86abe1401846dcf53efc296ac600a1be8809323f80ca12b7445cb5530aa

See more details on using hashes here.

File details

Details for the file codezen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: codezen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Darwin/22.4.0

File hashes

Hashes for codezen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd547d9b51c4a53071c93e45a4717434069a2bf0ed561693bfee09e2b3de31d3
MD5 799bcb4ae21611b07144e3d731622d71
BLAKE2b-256 c3cb2b9b0a615c1c1648c8d7b11894cae56be82abaa1ff25dcca5d34c4b55e2f

See more details on using hashes here.

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