Skip to main content

Metamorph text into other reworded text.

Project description

metamorph

IMG

First line is the input followed by colorized suggestions.

Doc: metamorph --help

PyPI version downloads

Stable Unstable
workflow test
Coverage Status Coverage Status
Codacy Badge Codacy Badge
Codacy Badge Codacy Badge
Documentation Documentation

Documentation

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 configs/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)). A list of translators can be found here https://github.com/nidhaloff/deep-translator.

metamorph -i -sd -gs en -c config.yaml

DIAG

(GoogleTranslate gets abbreviated to only capital letters 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.13.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

metamorph-0.0.13-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for metamorph-0.0.13.tar.gz
Algorithm Hash digest
SHA256 1118a3554f1c5ab36f93feb9799c669a565cd8c193c7051318aa279260f5a97b
MD5 8316c1784cf4d4d88df21097a3f10f10
BLAKE2b-256 6469a10d7891c4f79134296c26066fefe61111efb94e2732f4a6a63acc53072b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for metamorph-0.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 e2802932eb2ed6d4d9c04d796b7ac27bd614d5efb8d77ab14e15175b019d1268
MD5 1e4c9aa750a8486403b13ae552444dad
BLAKE2b-256 cc44891ba61d0bd06ae11f6bd730bf3d6430955a464e8345c844934b5e26cca6

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