A Machine that composes texts.
Project description
Composing-Machine
A Machine that composes texts.
In order to launch it from the command line or as a Python subprocess:
echo "Theodotos-Alexandreus: Compose a text about that, machine." \
| uvx composing-machine \
--provider-api-key=sk-proj-... \
--github-token=ghp_...
Or, with a local pip installation:
pip install composing-machine
Set the environment variables:
export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."
Then:
composing-machine multilogue.txt
Or:
composing-machine multilogue.txt new_turn.txt
Or:
cat multilogue.txt | composing-machine
Or:
cat multilogue.txt | composing-machine > multilogue.txt
Or:
(cat multilogue.txt; echo:"Theodotos: Can you elaborate, Composing-Machine?") \
| composing-machine
Or:
cat multilogue.txt new_turn.txt | composing-machine
Or:
cat multilogue.txt new_turn.txt | composing-machine > multilogue.txt
Or, if you have installed other machines:
cat multilogue.md | composing-machine \
| summarizing-machine | judging-machine > summary_judgment.md
Or use it in your Python code:
# Python
import composing_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
composing_machine-0.0.1.tar.gz
(15.3 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 composing_machine-0.0.1.tar.gz.
File metadata
- Download URL: composing_machine-0.0.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
334d2bbd11f55535d815bc60f551ce5ef94448e4267757472ea1b6e07be30c3d
|
|
| MD5 |
e0465fe9b4c2a151de2ad2e6837cf8ec
|
|
| BLAKE2b-256 |
43c3a455c646908cd72bd1785ae4de2b4800a93ec50e240ab862c49d82d65332
|
File details
Details for the file composing_machine-0.0.1-py3-none-any.whl.
File metadata
- Download URL: composing_machine-0.0.1-py3-none-any.whl
- Upload date:
- Size: 21.6 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 |
3a6309aea9b04d6e18328fa6b207ef1c9ae6fdb6763a0b4f10ade65eaa6c26d0
|
|
| MD5 |
51ef465967067b314deef5ef92ab4a48
|
|
| BLAKE2b-256 |
84ded7bcd7ab370ccf4dd8457f49d674f8004d95374118cba4e167adfb4298b0
|