Skip to main content

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

Metadata

Release files for textra 0.6

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

Source distribution (sdist)

Source distribution for textra 0.6
File Size Uploaded
textra-0.6.tar.gz 3.2 kB Details

Built distribution (wheel)

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

Total release size: 6.5 kB

Release files / textra-0.6.tar.gz

Download URL textra-0.6.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7d5307cba0ce735a89aed655eead5bdb53e602bd93f532c307cc8810ff1e479d
BLAKE2b-256 checksum
How to use checksums
f84f190d995df844547e17fc417b34cab5310c308f59d27faec72cd6ba6ea67a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / textra-0.6-py3-none-any.whl

Download URL textra-0.6-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc358daa41cb32455d51027e4fd0ec41f3da9f29f72d4533485786344699cc89
BLAKE2b-256 checksum
How to use checksums
5200061becb9d52923c51af0d512ca91b04b2fbe38ee1ab89c7a5ad15c067194
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.6 This release

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

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