AI code assistant to help you write code faster, cover it with tests and more
Project description
CodeCraft
AI code assistant to help you write code faster, cover it with tests and more
Getting started
cd path/to/your/project
pip install codecraft
export OPENAI_API_KEY=your-key-goes-here
Usage
Once installed, codecraft can be run through its command-line interface.
Command-line Interface
Run a codecraft session using the following command:
codecraft
Optional Arguments:
- -q or --query: Run with a specific query.
- -c or --coverage: Run with coverage analysis.
codecraft --query "Your query here"
codecraft --coverage
Requirements
- python: 3.10+
First run
On the first run codecraft
create folder .codecraft/prompts
with main prompts so you can tune prompts for your project
Also codecraft
will add .codecraft
to .gitignore
file - not to use prompts in GIT
Envs
CODECRAFT_MODEL_NAME
Model name in OpenAI API to use
OPENAI_API_KEY
API key for OpenAI API
CODECRAFT_COV_FOLDER
Folder to use in coverage report (default: .
)
Contributing
Contributions to codecraft
are welcome! Please read our contributing guidelines for details on how to submit pull requests
Clone repository
git clone ...
Install dependencies
poetry install
Use with your project
cd path/to/your/project
pip install -e path/to/cloned/codecraft
codecraft
License
codecraft
is licensed under MIT License
Contact
For any queries or suggestions, feel free to contact us at [hello@welltory.com]
Project details
Release history Release notifications | RSS feed
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 codecraft-0.0.1.tar.gz
.
File metadata
- Download URL: codecraft-0.0.1.tar.gz
- Upload date:
- Size: 89.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.8.6 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4741db7eafba1834d19f639b92647e0d2685995b3353b8f8336d24b5efc06c2c |
|
MD5 | bb98873e77b966a681767f10fb17e015 |
|
BLAKE2b-256 | c8e6c90855b40d17fb7b3b4bee38f1a74762579a84be29a0f2b75bd0a0ab8db1 |
File details
Details for the file codecraft-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: codecraft-0.0.1-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.8.6 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b07a0f53babbb74d005d114cb9e534c635a3d40d69e2e36d0f3594aa1e86fe5 |
|
MD5 | 695f9e5075eb7f77a35d2286205c0255 |
|
BLAKE2b-256 | 9d1f1ab0168202b657350140e3ecfd86f8ceb4af0c7dbc1459a2907dcf76ce06 |