A Machine that produces code.
Project description
Coding-Machine
A Machine that produces code.
In order to launch it from the command line or as a Python subprocess:
echo "Theodotos-Alexandreus: Produce the code that does that, machine." \
| uvx coding-machine \
--provider-api-key=sk-proj-... \
--github-token=ghp_...
Or, with a local pip installation:
pip install coding-machine
Set the environment variables:
export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."
Then:
coding-machine multilogue.txt
Or:
coding-machine multilogue.txt new_turn.txt
Or:
cat multilogue.txt | coding-machine
Or:
cat multilogue.txt | coding-machine > tmp && mv tmp multilogue.txt
Or:
(cat multilogue.txt; echo:"Theodotos: What do you think, Coding-Machine?") \
| coding-machine
Or:
cat multilogue.txt new_turn.txt | coding-machine
Or:
cat multilogue.txt new_turn.txt | coding-machine > tmp && mv tmp multilogue.txt
Or, if you have installed other machines:
cat multilogue.md | coding-machine \
| summarizing-machine | judging-machine > summary_judgment.md
Or use it in your Python code:
# Python
import coding_machine
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
coding_machine-0.0.1.tar.gz
(15.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coding_machine-0.0.1.tar.gz.
File metadata
- Download URL: coding_machine-0.0.1.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65c3ce587fed61e402f6f91f182cc2eb106caaa81724c7f4fcbd9be411ee4412
|
|
| MD5 |
5038b23cc35203894de43eaff3dcf3db
|
|
| BLAKE2b-256 |
dabc114902fc5e3b6c2b643e05e225aa58ee92468ee34ee80773b88899a6a7bc
|
File details
Details for the file coding_machine-0.0.1-py3-none-any.whl.
File metadata
- Download URL: coding_machine-0.0.1-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d12aba9265e28ed35f696e08fd644c7bb7b785d82edd35b235820339e4b9d62
|
|
| MD5 |
f0bb9f73cbe9ac202d4c04ca8a9c16c2
|
|
| BLAKE2b-256 |
eb47503d245cb154b2e896eb9d86e6c0b5919157070602f4907a6f381ccad58e
|