fluent.runtime 
Use Fluent to localize your Python application. It comes with a Localization class to use, based on an implementation of FluentBundle. It uses the parser from fluent.syntax to read Fluent files.
>>> from datetime import date
>>> l10n = DemoLocalization("today-is = Today is { $today }")
>>> val = l10n.format_value("today-is", {"today": date.today() })
>>> val
'Today is Jun 16, 2018'
Find the full documentation on https://projectfluent.org/python-fluent/fluent.runtime/.
Metadata
Release files for fluent.runtime 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fluent.runtime-0.4.0.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fluent.runtime-0.4.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 33.2 kB
Release files / fluent.runtime-0.4.0.tar.gz
| Download URL | fluent.runtime-0.4.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb5ef96a58a3f67acaaca046d1201d202a1ebf2823e5e664370f359bae20574d
|
|
BLAKE2b-256 checksum How to use checksums |
dc5494bbd857443565a5776027165fe1e2634d836681d7d9c8992a2fd0ce8302
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / fluent.runtime-0.4.0-py2.py3-none-any.whl
| Download URL | fluent.runtime-0.4.0-py2.py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
51fd02582c2363e1106d7051642967a1b7f406dd9c317bd4600a73ede40c5146
|
|
BLAKE2b-256 checksum How to use checksums |
e589a19b0bdfc74977b44aca2ad2e0600fd89c778184fcbb7fc44ba1002cc7b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|