from tree_sitter import Language

Language.build_library(
    # Store the library in the directory
    '<out_dir>/tree-sitter-languages.so',
    # Include one or more languages
    [
        '<path/to/repo>/tree-sitter-python',
        '<path/to/repo>/tree-sitter-go',
        '<path/to/repo>/tree-sitter-java'
    ]
)