Skip to main content

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

Metadata

Release files for censoring-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 censoring-machine 0.0.1
File Size Uploaded Provenance
censoring_machine-0.0.1.tar.gz 15.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 38.0 kB

Release files / censoring_machine-0.0.1.tar.gz

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

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

Download URL censoring_machine-0.0.1-py3-none-any.whl
Size 22.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdd96253d7b19ea0fe30a4c250a8aa640397ee3e08a679bfa341f0ddc61f4ecc
BLAKE2b-256 checksum
How to use checksums
7da1a4c8517729ece27056b3cf3d0e7f6bc8faa6e1dd9647c6852a08bb694d63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for censoring-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