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://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.3.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wuthery_l10n-0.3.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.11 Windows/10

File hashes

Hashes for wuthery_l10n-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5e15bc5916571891428993cee76b433e03f5f3a94ee0cb1cc022ceb85d3b0c0a
MD5 18e98ff30c4f5095995412801df4130a
BLAKE2b-256 f9fddd08b6ce77592ccef0f892146690231472148f141bbcb0c1946bf3425b54

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wuthery_l10n-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f718f8adbb2203f13936a7f53f334a945600c57e30dc981ee16559092e23700a
MD5 9671b1ee4fbf10e3cddad37c89f24a79
BLAKE2b-256 62c759b3b0797b0999dcc49773cd25c8820cdb4dcf5bcd0da9a8e0d5c33dfefc

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