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/
.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about
installing packages
.
Source Distribution
Hashes
for fluent.syntax-0.19.0-py2.py3-none-any.whl
Hashes for fluent.syntax-0.19.0-py2.py3-none-any.whl
Algorithm
Hash digest
"PyPI", "Python Package Index", and the blocks logos are registered
trademarks
of the
Python Software Foundation
.
© 2023
Python Software Foundation
Site map