py-tree-sitter
py-tree-sitter copied to clipboard
add tree_sitter.__version__
priority: nice to have
tree_sitter.__version__ should return the release version, currently 0.25.1
$ python
>>> import tree_sitter
>>> tree_sitter.__version__
AttributeError: module 'tree_sitter' has no attribute '__version__'
>>> tree_sitter.LANGUAGE_VERSION
14
In the meantime you can get the version via importlib.metadata.