Skip to main content

metamorph

IMG

First line is the input followed by colorized suggestions.

Metamorph easily fixes typos and suggests alternative wordings by repeatedly translating the text into different languages and in the end to the desired language.

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)

Metadata

Release files for metamorph 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metamorph 0.0.15
File Size Uploaded
metamorph-0.0.15.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metamorph 0.0.15
File Interpreter ABI Platform
metamorph-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 43.7 kB

Release files / metamorph-0.0.15.tar.gz

Download URL metamorph-0.0.15.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5497135884af625a169137e07647477ce97f9a504608b149be31c56057ff7e04
BLAKE2b-256 checksum
How to use checksums
28c6e36284b8bbe9229670f8d8050b249c7f1ae73f557dcbf3395f8eb457f91a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / metamorph-0.0.15-py3-none-any.whl

Download URL metamorph-0.0.15-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72c25a68a92a71eb32dd54d0e375e0c65ca31dbc85eba13de961e49921636c60
BLAKE2b-256 checksum
How to use checksums
2e31183d694c6bb30b1ad8849dbfe1ad01b214c4e0c8d097cb4501a290c700c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

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