{"library":"tree-sitter-yaml","type":"library","category":null,"description":"tree-sitter-yaml provides a pre-compiled Tree-sitter grammar for parsing YAML files within Python applications. It enables detailed syntax analysis and manipulation of YAML structures. Currently at version 0.7.2, the library is actively maintained and receives regular updates, often in conjunction with upstream Tree-sitter changes.","language":"python","status":"active","version":"0.7.2","tags":["tree-sitter","parsing","yaml","grammar","syntax-tree","linter","static-analysis"],"last_verified":"Wed May 20","install":[{"cmd":"pip install tree-sitter-yaml","imports":["import tree_sitter_yaml\nfrom tree_sitter import Language, Parser\n\nYAML_LANGUAGE = Language(tree_sitter_yaml.language())","from tree_sitter_languages import get_language, get_parser\n\n# Or, for YAML specifically if available via this package\nlanguage = get_language('yaml')\nparser = get_parser('yaml')"]}],"homepage":null,"github":"https://github.com/tree-sitter-grammars/tree-sitter-yaml","docs":null,"changelog":null,"pypi":"https://pypi.org/project/tree-sitter-yaml/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.05,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/tree-sitter-yaml/compatibility"}}