Skip to main content

A machinge that censors instructions and texts.

Project description

Censoring-Machine

A machinge that censors instructions and texts.

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

echo "Theodotos-Alexandreus: Check this plan, Censoring-Machine." \
  | uvx censoring-machine \
    --provider-api-key=sk-proj-... \
    --github-token=ghp_... 

Or, with a local pip installation:

pip install censoring-machine

Set the environment variables:

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

Then:

censoring-machine multilogue.txt

Or:

censoring-machine multilogue.txt new_turn.txt

Or:

cat multilogue.txt | censoring-machine

Or:

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

Or:

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

Or:

cat multilogue.txt new_turn.txt | censoring-machine

Or:

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

Or, if you have installed other machines:

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

Or use it in your Python code:

# Python
import censoring_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

censoring_machine-0.0.1.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

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

censoring_machine-0.0.1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

Details for the file censoring_machine-0.0.1.tar.gz.

File metadata

  • Download URL: censoring_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

Hashes for censoring_machine-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bd60db58f7f197249bb79eba49fee9c8ededc53405b10adb305265e4f65808f0
MD5 94c59bc4d39d56bfab91219c53e3f0de
BLAKE2b-256 9561c35bffb2d8f7fa8e0a6ff689281092de3196824c5a8f0b2170c2667419d3

See more details on using hashes here.

File details

Details for the file censoring_machine-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for censoring_machine-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bdd96253d7b19ea0fe30a4c250a8aa640397ee3e08a679bfa341f0ddc61f4ecc
MD5 adeaae164221111f50c79c90ab1eb461
BLAKE2b-256 7da1a4c8517729ece27056b3cf3d0e7f6bc8faa6e1dd9647c6852a08bb694d63

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