Scripting-Machine
A Machine that composes scripts.
In order to launch it from the command line or as a Python subprocess:
echo "Theodotos-Alexandreus: Write a script about that, Scripting-Machine." \
| uvx scripting-machine \
--provider-api-key=sk-proj-... \
--github-token=ghp_...
Or, with a local pip installation:
pip install scripting-machine
Set the environment variables:
export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."
Then:
scripting-machine multilogue.txt
Or:
scripting-machine multilogue.txt new_turn.txt
Or:
cat multilogue.txt | scripting-machine
Or:
cat multilogue.txt | scripting-machine > tmp && mv tmp multilogue.txt
Or:
(cat multilogue.txt; echo:"Theodotos: What do you think, Scripting-Machine?") \
| scripting-machine
Or:
cat multilogue.txt new_turn.txt | scripting-machine
Or:
cat multilogue.txt new_turn.txt | scripting-machine > tmp && mv tmp multilogue.txt
Or, if you have installed other machines:
cat multilogue.md | scripting-machine \
| summarizing-machine | judging-machine > summary_judgment.md
Or use it in your Python code:
# Python
import scripting_machine
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scripting_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 scripting_machine-0.0.1.tar.gz.
File metadata
- Download URL: scripting_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 |
d81a7243ab00eaaa7330b2d1dac83e257027163e7a5c8ea00287b03dc88fd622
|
|
| MD5 |
d0f7b3cf40e6a312b19f31041db5f6e2
|
|
| BLAKE2b-256 |
8cfcb090017b3c5150b5ca8280adecf262143034aa415f2425d138c6e19e3b96
|
File details
Details for the file scripting_machine-0.0.1-py3-none-any.whl.
File metadata
- Download URL: scripting_machine-0.0.1-py3-none-any.whl
- Upload date:
- Size: 22.1 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 |
95b2630505f99aec067d28147c2c4969d0fcad02cb6824976299919c0141e4fd
|
|
| MD5 |
42cb000278c651075a69e22c69936888
|
|
| BLAKE2b-256 |
2e1aa00f7da319b2fcc69c78de7b5a893b650dd636003a16bb3c536c75d0d4ff
|