scaf_code is a tool for generating code from reference and specification files by Large Language Models.
Project description
About
scaf_code is a tool for generating code from reference and specification files by Large Language Models.
Usage
Install
pip install scaf_code
Run
export OPENAI_API_KEY=<your_openai_api_key>
scaf_code --ref <ref_file> <ref_file> --spec-file <spec_file> --out <output_path>
Example
scaf_code --out tests/test_scaffold_code.py --ref scaf_code/cli.py scaf_code/scaffold_code.py --spec "write pytest to scaf_code.scaffold_code.py"
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
scaf_code-0.1.6.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for scaf_code-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d91650b7956e768031228ae1869fe63647e462c6bf7c2cbd61262f1caf78c797 |
|
MD5 | 632a5457f4659ec21c5fe706195ce91d |
|
BLAKE2b-256 | bed09506719914fe3e40e0d5ce07b5ae93ef5d056d402a5fae3f0022313c343a |