Metadata-Version: 2.1
Name: italian_translator
Version: 0.1.4
Summary: A command-line tool for translating Italian words using Reverso Context.
Home-page: https://github.com/seafoodd/italian_translator
Author: seafood
Author-email: mail.seafood@proton.me
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: beautifulsoup4
Requires-Dist: colorama

# Italian Translator

**Italian Translator** is a command-line tool for translating Italian sentences and displaying examples using Reverso Context.

## Features

- Translate Italian sentences to English (default) or any specified language.
- Translate from a specified language to Italian using the `--reverse` option.
- Display a specified number of example sentences using the `--examples` option.
- Easy-to-use command-line interface with colored output.

## Installation

### Step 1: Download and Install Python

If you don't have Python installed, you can download it from the official website: [python.org](https://www.python.org/downloads/). Follow the instructions for your operating system to install Python.


### Step 2: Install the Package

You can install the package using `pip`:

```sh
pip install italian-translator
```

## Usage

```sh
italian-translator <sentence>
ita <sentence>
```

## Options

- `--reverse`, `-R`: Translate from a specified language to Italian.
- `--language`, `-L`: Specify the language to translate to (default: English).
- `--examples`, `-E`: Display a specified number of example sentences (default: 3).
- `--help`, `-h`: Display the help message.
- `--version`, `-v`: Show the version of the package.

## Examples

#### Translate an Italian sentence to English:
```sh
italian-translator "Ciao, come stai?"
ita il gatto
```
#### Translate an English sentence to Italian:
```sh
italian-translator --reverse "Hello, how are you?"
ita -R the cat
```
#### Translate an Italian sentence to French
```sh
italian-translator --language french "Ciao, come stai?"
ita -L french il gatto
```
#### Display 5 examples sentences:
```sh
italian-translator --examples 5 "Ciao, come stai"
ita -E 5 il gatto
```

## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Author
- seafood - [GitHub](https://github.com/seafoodd) | [Telegram](https://t.me/seafudd)

