Metadata-Version: 2.1
Name: wuthery-l10n
Version: 0.2.0
Summary: Python package to interact with Wuthery's localization files.
License: GPL-3.0
Author: seria
Author-email: seria.ati@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: aiofiles (>=23.2.1,<24.0.0)
Requires-Dist: aiohttp (>=3.9.5,<4.0.0)
Requires-Dist: pyyaml (>=6.0.1,<7.0.0)
Description-Content-Type: text/markdown

# l10n

Storage of localization files for Wuthery services, with Python and TS packages to interact with the data

## Setting up the development environment

### Python

```bash
# Clone the repo
git clone https://https://github.com/Wuthery/l10n

# Install the dependencies
cd l10n
poetry install --with dev --no-root

# If you want to run the tests locally
poetry install --with test --no-root

# Install pre-commit
pre-commit install
```

## Usage

### Python Package

```bash
# Install the package
poetry add wuthery.l10n
```

```py
from wuthery.l10n import Translator, Language

async with Translator() as translator:
    translation = translator.translate(2, Language.EN_US, variable="Wuthery")
```

