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] [-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.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: textra-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 db9ea0e6f8ec100e16b7b637fdcba6223d99dada7ed23ea0af2306f625021783
MD5 9aaf0d7df551d8a54b80aac42378f2fb
BLAKE2b-256 c3a1375ea414d46653c5e17aafaea2374c5214ac080feb3de5ae59d1d1f844dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: textra-0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7cbc1adbf928f50faf7b4af5817905a35d13774deac42cf58cb0b06a7e88eff
MD5 45f5929047f8f96cf9b4b2aa598af401
BLAKE2b-256 3f8ce267c97efcb5a1e415825e84e9fc29832bf44f76b71f2f3a3103619f6c55

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