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 Dev
workflow test

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.yml 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.yml

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.8.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

metamorph-0.0.8-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: metamorph-0.0.8.tar.gz
  • Upload date:
  • Size: 17.2 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.8.tar.gz
Algorithm Hash digest
SHA256 41d7b409d6abb37c69fc7207265ba2268842193ca1b93dcab29d1931bfbe46da
MD5 d2d48d9f206c0d6424ba42ff922be908
BLAKE2b-256 933035deb47f2256b8cb27fd167a0f31f76715ddc4e9ae29be1cf6f6bccc9aa7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: metamorph-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 17.8 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 efcd8e9bb97cd7b1df53a78efd3da1af2fdd5ad659656e7dba3799bd5bd58b3c
MD5 37f1e55ebc31240f65327fc235cc07c6
BLAKE2b-256 8b750e2929473e093927c246f765597f25e1684ee091255731f313a2d1009b00

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