No project description provided
Project description
Use pip install i-texts
Requires:
- or
$TEXTS_PATH - or
$LOCALEand$LOCALES_PATH(default:./locales).
Loads texts from:
- or
$TEXTS_PATH - or {
$LOCALES_PATH}/{$LOCALE}.yml"
Example
from i_texts import texts
assert texts.dict == {1: "1", "a": "a", "words": "a b c", "ru": "русский"}
assert texts[1] == "1"
assert texts["a"] == "a"
assert texts.get_words("words") == ["a", "b", "c"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
i-texts-0.2.0.tar.gz
(1.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file i-texts-0.2.0.tar.gz.
File metadata
- Download URL: i-texts-0.2.0.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5649c0b1149dca33bfbab450588602450016b700aca6609b96f55d2c22fd4c8e
|
|
| MD5 |
936d68bd4b979a3082b4bff3e3170e20
|
|
| BLAKE2b-256 |
9326a281dcd57c67b0db32770e5d8936ee689f4472453c37b708aa1d52b01d27
|
File details
Details for the file i_texts-0.2.0-py3-none-any.whl.
File metadata
- Download URL: i_texts-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7f400ec9eac9156fe78d71dbbaec792b92f38fdcfe0b1fab2c009f111c69d97
|
|
| MD5 |
74a2f16d252c2f7540a6fafe2b34fc73
|
|
| BLAKE2b-256 |
f559ef37a8f2e1d7103e9d613905d260fae667c2e8af4c01246bf0e7d1c8e6b7
|