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.
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.4.tar.gz
(3.1 kB
view details)
Built Distribution
textra-0.4-py3-none-any.whl
(3.3 kB
view details)
File details
Details for the file textra-0.4.tar.gz
.
File metadata
- Download URL: textra-0.4.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0555c671e78c9ad8e45c8992fa94a10172acd6e846c2ff342cd35f0a2cfd425 |
|
MD5 | 5a92d0c5ba35d66e3b1b2f96f865d71f |
|
BLAKE2b-256 | 8a0b81375e4ce436320dd744522938954a3e854d16f4fd10eb8ccd86dfa5dd00 |
File details
Details for the file textra-0.4-py3-none-any.whl
.
File metadata
- Download URL: textra-0.4-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 578e2a20efe40de3c186aacd02363bac81c00198752286aa5d7772826fee7e2b |
|
MD5 | 646953ec13ec603f6aa06fa557e0b8dc |
|
BLAKE2b-256 | c43b422014c8ff085818ed498ab442f20bf5d8a6d34e7addd66d508f3345ee9a |