Skip to main content

A Machine that summarizes texts.

Project description

Summarizing-Machine

A Machine that summarizes texts.

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 summarizing-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install summarizing-machine

Set the environment variables:

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

Then:

summarizing-machine multilogue.txt

Or:

summarizing-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | summarizing-machine

Or:

cat multilogue.txt | summarizing-machine > multilogue.txt

Or:

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

Or:

cat multilogue.txt new_turn.txt | summarizing-machine

Or:

cat multilogue.txt new_turn.txt | summarizing-machine > multilogue.txt

Or, if you have installed other machines:

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

Or use it in your Python code:

# Python
import summarizing_machine

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

summarizing_machine-0.0.3.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

summarizing_machine-0.0.3-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file summarizing_machine-0.0.3.tar.gz.

File metadata

  • Download URL: summarizing_machine-0.0.3.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for summarizing_machine-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7c70ce66769b00f99a6ef68547a5940fbb191b07dea27613d1263d8da1f92c3b
MD5 4b2f403811d3da3d2a479941abffc55a
BLAKE2b-256 d5656ebefea07e80bf434d22edd0683bbd7426ef4dd1ffb4440ea9d23799a9b1

See more details on using hashes here.

File details

Details for the file summarizing_machine-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for summarizing_machine-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c1bc62235d9bf78d9587dc427df1e48127193880d333ee1a9d4894c4d5dd42ce
MD5 6ebadba5554c2bc17cd8dbd3acad5ebe
BLAKE2b-256 f6283de03e1b260cbf85fed921a413b2036bd24d5db67f1610030d4ae34fdf09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page