Read, write, and transform Fluent files.
This package includes the parser, serializer, and traversal utilities like Visitor and Transformer. You’re looking for this package if you work on tooling for Fluent in Python.
>>> from fluent.syntax import parse, ast, serialize
>>> resource = parse("a-key = String to localize")
>>> resource.body[0].value.elements[0].value = "Localized string"
>>> serialize(resource)
'a-key = Localized string\n'
Find the full documentation on https://projectfluent.org/python-fluent/fluent.syntax/.
Metadata
Release files for fluent.syntax 0.19.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.syntax-0.19.0.tar.gz | 15.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fluent.syntax-0.19.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 31.5 kB
Release files / fluent.syntax-0.19.0.tar.gz
| Download URL | fluent.syntax-0.19.0.tar.gz |
|---|---|
| Size | 15.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
920326d7f46864b9758f0044e9968e3112198bc826acee16ddd8f11d359004fd
|
|
BLAKE2b-256 checksum How to use checksums |
5152de75f2faf499ed5a089acff2ab8bda5fc3b8db8a3f1615428ef9ccbf1917
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / fluent.syntax-0.19.0-py2.py3-none-any.whl
| Download URL | fluent.syntax-0.19.0-py2.py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b352b3475fac6c6ed5f06527921f432aac073d764445508ee5218aeccc7cc5c4
|
|
BLAKE2b-256 checksum How to use checksums |
5428475734afb670bf7932caa1828183a4687cac51111950b9fb633c4f976afc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|