Skip to main content

Translating-Machine

A Machine that translates from the language of questions to the language of answers.

In order to launch it from the command line or as a Python subprocess:

echo "Theodotos-Alexandreus: Are language models seeking the Truth, machine?" \
  | uvx translating-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install translating-machine

Set the environment variables:

export PROVIDER_API_KEY="sk-proj-..."
export GITHUB_TOKEN="ghp_..."

Then:

translating-machine multilogue.txt

Or:

translating-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | translating-machine

Or:

cat multilogue.txt | translating-machine > tmp && mv tmp multilogue.txt

Or:

(cat multilogue.txt; echo:"Theodotos: What do you think, Translating-Machine?") \
  | translating-machine

Or:

cat multilogue.txt new_turn.txt | translating-machine

Or:

cat multilogue.txt new_turn.txt | translating-machine >  tmp && mv tmp multilogue.txt

Or, if you have installed other machines:

cat multilogue.md | translating-machine \
  | summarizing-machine | judging-machine > summary_judgment.md

Or use it in your Python code:

# Python
import translating_machine

Metadata

Release files for translating-machine 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for translating-machine 0.0.1
File Size Uploaded Provenance
translating_machine-0.0.1.tar.gz 15.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for translating-machine 0.0.1
File Interpreter ABI Platform
translating_machine-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 38.1 kB

Release files / translating_machine-0.0.1.tar.gz

Download URL translating_machine-0.0.1.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
333e4220e24afbf9b41c1bfd1f81002927267a562787004bccb076e9e1f55751
BLAKE2b-256 checksum
How to use checksums
78757d9c041d56f76874f458fdb5b98ba25095e162b6c4afbac6a661ca6c99dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / translating_machine-0.0.1-py3-none-any.whl

Download URL translating_machine-0.0.1-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b0da439105c937d9fcfc894092c2df762f7abf27900b514013b87c7cd23bebd
BLAKE2b-256 checksum
How to use checksums
09ba59eceb6d52657044b8a400861d055b59481317b099026624134de3c220c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for translating-machine 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page