Skip to main content

Make news more nutritious by removing bias.

Project description

latest PyPi version

Use OpenAI’s GPT to make news more nutritious by removing bias. Based on an idea from Alexandros Marinos.

Usage

usage: nutrinews [-h] [-m {3.5,4}] [-p PROMPT] [--url URL] [-f FILE] [-c] [-d DIFF]

Remove bias from some text.

options:
  -h, --help            show this help message and exit
  -m {3.5,4}, --model {3.5,4}
                        GPT model to use.
  -p PROMPT, --prompt PROMPT
                        File containing instructions for removing bias.
  --url URL             Get text from this URL.
  -f FILE, --file FILE  Get text from this file.
  -c, --clipboard       Get text from the clipboard.
  -d DIFF, --diff DIFF  Specify tool to diff the original and nutritious text.

Installation

pip install nutrinews

Requirements

Python 3 and associated libraries.

License

MIT license.

Authors

nutrinews was written by `Dave Vandenbout <devb@xess.com> <mailto:devb@xess.com>`__.

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

nutrinews-0.1.0.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file nutrinews-0.1.0.tar.gz.

File metadata

  • Download URL: nutrinews-0.1.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for nutrinews-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e395e75ab6f6a83bb6de3336bfa2796f7b15ab16f156c5bdd47bf726e41f4252
MD5 89065deccccc9cc7612f8111cab45d75
BLAKE2b-256 43f5bd4f8d574edc6679e2a0da6190a0bd2e43749385b408a9901e821f93bb44

See more details on using hashes here.

Supported by

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