Skip to main content

Machine translation for Everyone

Project description

Python PyPI

@TexTra

Machine translation for Everyone

Install

pip install textra

Usage

$ trans --help
usage: trans [-h] [--name NAME] [--key KEY] [--secret SECRET] [--engine ENGINE] [-s SOURCE] [-t TARGET] text

positional arguments:
  text

options:
  -h, --help            show this help message and exit
  --name NAME           User ID
  --key KEY
  --secret SECRET
  -e ENGINE, --engine ENGINE
  -s SOURCE, --source SOURCE
  -t TARGET, --target TARGET

Examples

$ trans 'I am God. You are Dog.'
私は神だお前は犬だ
$ trans -s ja -t en 吾輩は猫である
I am the cat

You can get the key and secret from here.

image

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

textra-0.6.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

textra-0.6-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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