Liblouis User's and Programmer's Manual
7.30 Python bindings ¶
Liblouis provides comprehensive Python bindings for its core functionality. The following functions are available:
7.30.1 Translation functions ¶
translate, translateString
Forward translation from text to braille
backTranslate, backTranslateString
Reverse translation from braille to text
7.30.2 Finding tables ¶
The query API provides querying for tables through:
findTable, findTables
Locate translation tables
getTableInfo
Retrieve table metadata
listTables
List available tables
7.30.3 Additional functions ¶
hyphenate
Text hyphenation
checkTable
Validate table syntax
compileString
Compile translation rules
setLogLevel
Configure logging verbosity
version
Get library version information
For detailed API documentation, refer to the Python module’s built-in help. Installation instructions can be found in python/README.