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.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wuthery_l10n-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 7e16bab266681ad72d834eb7594503eb13c803921f5dfcf8b167c4448e092b39
MD5 b2aeb1d2f5f37a0f8f82415b69431aae
BLAKE2b-256 96d161f5278f5f4dcb176767d647f6950cf2775bc741e119a2c50eae7f6cacee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wuthery_l10n-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15bbd11a897c9ade13d24c273edc12c49e738ff4673be921ab74258710c3ae37
MD5 3321681e02d47b17f81b81ffa10447ae
BLAKE2b-256 c05a9e5cf4da8d551024e8834bcb02d4cc7c30e00370622a9893019421afcffb

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