Skip to main content

Python package to interact with Wuthery's localization files.

Project description

l10n

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

Setting up the development environment

Python

# 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

# Install the package
poetry add wuthery.l10n
from wuthery.l10n import Translator, Language

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

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

wuthery_l10n-0.2.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

wuthery_l10n-0.2.0-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file wuthery_l10n-0.2.0.tar.gz.

File metadata

  • Download URL: wuthery_l10n-0.2.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for wuthery_l10n-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8cb647e668aa88d61680ed80c32d473a6e022e6f57047d8ab4dcd8e84acb2ca6
MD5 0a9163a16171bf35c922ef37b6f366d2
BLAKE2b-256 9de5beb9f2045ce1ae3c7d77b009a05c64339c6018866ba006fa1f419e8d2894

See more details on using hashes here.

File details

Details for the file wuthery_l10n-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wuthery_l10n-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for wuthery_l10n-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfecd5cf70a0a860a3ee3594d7ddca90eaa012dc3665ba8bcfe67ca520af2a39
MD5 90bdf957197caca4cb23dcc3668eedce
BLAKE2b-256 1fea2d6d146d5e367528c405a44ad70e78cd4a0865ef209698c4d8b4fda856ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page