Skip to main content

Machine translation for everyone

Project description

@TexTra

Machine translation for everyone

Install

pip install textra

Usage

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

positional arguments:
  text

options:
  -h, --help            show this help message and exit
  --name NAME           login id
  --key KEY
  --secret SECRET
  -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.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

textra-0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file textra-0.2.tar.gz.

File metadata

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

File hashes

Hashes for textra-0.2.tar.gz
Algorithm Hash digest
SHA256 70fb1102a8966f22dc94fbf4fc4e65bc25ba8c56c7975e11fcb0fe9a40311844
MD5 8e35d1cdd927d02438dfb7342959393f
BLAKE2b-256 7478f1479909db5f006862f9d25eb7bbd0f4a94e12883fec2aeb7ea203634a54

See more details on using hashes here.

File details

Details for the file textra-0.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for textra-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 785243b391eed515d2af9b571279f233fdd72e09aea909dfd049587cc50de903
MD5 320c51434877c26a2b3299751bcf233d
BLAKE2b-256 93aa3873fe22fba0f887cc10a8ba78dab57941505a9659f044bac85458f5bbee

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