Skip to main content

auto rewrite text

Project description

metamorph

IMG

First line is the input followed by colorized suggestions.

Doc: metamorph --help

(Work-in-progress: Doc: https://apn-pucky.github.io/metamorph/index.html )

PyPI version downloads

Stable Unstable
workflow test
Codacy Badge Codacy Badge

Versions

Stable

pip install metamorph [--user] [--upgrade]

Dev

pip install --index-url https://test.pypi.org/simple/ metamorph [--user] [--upgrade]

Configuration

For a list of parameters run metamorph -h.

The root node flow can have multiple different starting languages (given start is None).

translator: "GoogleTranslator"
start: "de"
goal: "de"

flow:
  de:
    fr:
      es:
        fr:
    de:
      es:
      fr:
        sv:
  fr:
    en:
  en:
  fi:
    de:
      fr:
        es:
          fr:
      de:
        es:
        fr:
          sv:
  sv:

This exemplary config.yaml will produce following results (note -sd for diagrams and -c for config, while most command line parameters take precedence over config (-gs here)).

metamorph -sd -gs en -c config.yaml

DIAG

(GoogleTranslate gets abbreviated to GT)

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

metamorph-0.0.10.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

metamorph-0.0.10-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file metamorph-0.0.10.tar.gz.

File metadata

  • Download URL: metamorph-0.0.10.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for metamorph-0.0.10.tar.gz
Algorithm Hash digest
SHA256 898671bda63dbed21a0d4953bd8cbbb490077786301f31e67511b8f5e96ef0da
MD5 c24ac3c0cceea6f289bb4461a010795d
BLAKE2b-256 c926a90db24e087154f69a6fde9e5ee056b67ba5acc9454ea6e9f264a0a415ed

See more details on using hashes here.

File details

Details for the file metamorph-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: metamorph-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for metamorph-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 02f84e6f5fd49d771c2599c048750615cbe44b76d51d2617d85c5cd95ecde744
MD5 2436403b0e53f99c5991d9b8ea5f6b1e
BLAKE2b-256 21c1823b81746bca45339451c52d82b122ab1d9789de904f0ba06b5a3dbd9a56

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