Programming-Machine
A Machine that writes programs.
In order to launch it from the command line or as a Python subprocess:
echo "Theodotos-Alexandreus: Write a program doing that, machine." \
| uvx programming-machine \
--provider-api-key=sk-proj-... \
--github-token=ghp_...
Or, with a local pip installation:
pip install programming-machine
Set the environment variables:
export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."
Then:
programming-machine multilogue.txt
Or:
programming-machine multilogue.txt new_turn.txt
Or:
cat multilogue.txt | programming-machine
Or:
cat multilogue.txt | programming-machine > tmp && mv tmp multilogue.txt
Or:
(cat multilogue.txt; echo:"Theodotos: What do you think, Programming-Machine?") \
| programming-machine
Or:
cat multilogue.txt new_turn.txt | programming-machine
Or:
cat multilogue.txt new_turn.txt | programming-machine > tmp && mv tmp multilogue.txt
Or, if you have installed other machines:
cat multilogue.md | programming-machine \
| summarizing-machine | judging-machine > summary_judgment.md
Or use it in your Python code:
# Python
import programming_machine
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
programming_machine-0.0.2.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 programming_machine-0.0.2.tar.gz.
File metadata
- Download URL: programming_machine-0.0.2.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 |
7deb11003e1162d0a6d5dc685e67f7605e6f637fa0e9718ffb9f04085dbccc61
|
|
| MD5 |
c5caf1b935d2dac0d4ed12794d9ab3f8
|
|
| BLAKE2b-256 |
58a3232ccfd8cac2b5aa476afacd7294e7220b91a1262851d7fd0af047f4c808
|
File details
Details for the file programming_machine-0.0.2-py3-none-any.whl.
File metadata
- Download URL: programming_machine-0.0.2-py3-none-any.whl
- Upload date:
- Size: 22.2 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 |
b6da2308f4c1e2bba1c37cdaf4865cda71b37b36797cb01a954db5d66ab5a1a1
|
|
| MD5 |
861d62c10c69c193693a1f6ceccbda67
|
|
| BLAKE2b-256 |
9741710150c430fb61911e05f4e5044b6426249a243e1c78af87ebcda240431d
|