Skip to main content

Zed is an LLM-based CLI assistant built with python and Chat GPT

Project description

Overview

A helpful command line assistant, based on ChatGPT.

Getting started

Install Zed by running:

pip install zed-assistant

Note that Zed requires Python 3.8+.

You'll need your own OpenAI key to be able to use Zed. See "Configure" below to know how.

Usage

Run zed with no arguments to get the help menu:

~ zed
     ______ ___________
    |___  /|  ___|  _  \
       / / | |__ | | | |
      / /  |  __|| | | |
    ./ /___| |___| |/ /
    \_____/\____/|___/  v0.0.4

usage: zed [-h] [--version] [--debug] [--model {gpt-4o,gpt-4-turbo,gpt-3.5-turbo}] [--yoda-mode]

zed is a LLM-based CLI assistant.

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --debug               Enables print debug logs.
  --model {gpt-4o,gpt-4-turbo,gpt-3.5-turbo}
                        The specific Open AI model to be used. Default is 'gpt-4o'
  --yoda-mode           Enables Master Yoda mode.

Configure

After you run zed for the first time, a default configuration file is created. To include your Open AI key, or change other settings, edit the ~/.zed/config file:

openai_key=<YOUR_OPEN_AI_KEY>
model=gpt-4-turbo
debug=False
yoda_mode=False

Contributing

Install dependencies

Setup the project locally:

git clone https://github.com/hoffmannmatheus/zed/ && cd zed
poetry install

Run tests

poetry run pytest

Run zed locally

First, setup your local OpenAI API in the ~/.zed/config file. Then, run locally with:

poetry run zed

Publishing a new version

poetry publish --build

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

zed_assistant-0.0.4.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zed_assistant-0.0.4-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file zed_assistant-0.0.4.tar.gz.

File metadata

  • Download URL: zed_assistant-0.0.4.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.12.0 Darwin/22.6.0

File hashes

Hashes for zed_assistant-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c6a932933158be8af8b8b0bc5fe9b4ebb6400a43ba8463ba493426bdaae13e8a
MD5 8b9a93da8327522441f21373207177c4
BLAKE2b-256 e10abc5712cff199a8b4f636b03fd7fa4f6c3b3fbc1e8836996bf7486445f875

See more details on using hashes here.

File details

Details for the file zed_assistant-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: zed_assistant-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.12.0 Darwin/22.6.0

File hashes

Hashes for zed_assistant-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 cd65c7fb00ffda2f04828c3af9e741e60b85c5951c2f89e5306e3776e970eec1
MD5 4d3f755db39f68d8a831fc72991b10d5
BLAKE2b-256 4153e034895b356354fb31701970643e2dc8e85791a79b5becd828093b295bdf

See more details on using hashes here.

Supported by

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