Metadata-Version: 2.1
Name: textra
Version: 0.3
Summary: Machine translation for everyone
Home-page: https://github.com/GitHub30/textra
Author: TexTra
Author-email: funaox@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/GitHub30/textra/issues
Keywords: TexTra translation python
Platform: any
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Utilities
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
License-File: LICENSE

[![Python](https://img.shields.io/pypi/pyversions/textra.svg)](https://badge.fury.io/py/textra)
[![PyPI](https://badge.fury.io/py/textra.svg)](https://badge.fury.io/py/textra)

# @TexTra
Machine translation for everyone

# Install

```bash
pip install textra
```

# Usage

```bash
$ 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

```bash
$ trans 'I am God. You are Dog.'
私は神だお前は犬だ
```

```bash
$ trans -s ja -t en 吾輩は猫である
I am the cat
```

You can get the key and secret from here.

![image](https://user-images.githubusercontent.com/12811398/186966682-5a563423-fbe2-4f3f-aa09-4a274ac0e778.png)
