codebuddie-0.0.3
توضیحات
codebuddie is a Python-based command-line interface (CLI) utility that uses OpenAI chatGPT API to help you in updating comments, docstring, module docstings in your code
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | codebuddie-0.0.3 |
| نام | codebuddie |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | c17hawke <sunny.c17hawke@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/codebuddie/ |
| مجوز | MIT |
# codebuddie: CLI
[](https://c17hawke.github.io/codebuddie)
[](https://github.com/c17hawke)






## To install codebuddie -
run the following command in your terminal -
```bash
pip install codebuddie
```
## Now following are the ways you can use codebuddie -
> **NOTE: set `OPENAI_API_KEY` as an environment variable before using `codebuddie`**
It can update code with proper comments, docstring, and module docstrings in the following scenarios:
### 1. If pointed to a local directory. [TODO]
```bash
codebuddie -d path/to/source/directory
```
or
```bash
codebuddie --dir path/to/source/directory
```
or
```bash
codebuddie -d path/to/source/directory -o path/to/destination/directory
```
### 1. If pointed to a github repository. [TODO]
```bash
codebuddie -s link/to/github_repository
```
or
```bash
codebuddie --src link/to/github_repository
```
or
```bash
codebuddie -s link/to/github_repository -o link/to/destination/directory
```
نیازمندی
| مقدار | نام |
|---|---|
| ==2.28.2 | requests |
| - | openai |
| - | python-dotenv |
| ==3.1.31 | gitpython |
| ==0.0.261 | ruff |
| >=7.2.2 | pytest |
| >=4.4.11 | tox |
| >=3.10.0 | pytest-mock |
| >=4.0.0 | pytest-cov |
| >=1.1.1 | mypy |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl codebuddie-0.0.3:
pip install codebuddie-0.0.3.whl
نصب پکیج tar.gz codebuddie-0.0.3:
pip install codebuddie-0.0.3.tar.gz