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.2.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for scaf_code-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fd97288389cfd9cb39c90e9775b4951c4f4291d6cce2616c03945d15b07e5e3 |
|
MD5 | 533edf52a199287fbb28a6707d8b65cb |
|
BLAKE2b-256 | 5f0186c3e66bafa6816f61c35cfb997312aab8dece22911f6bfdb9f08b595476 |