tree-sitter-python Python grammar for tree-sitter. Quickstart Install npm install Build npm run build Tests npm run test Explain npm run env -- tree-sitter parse path/to/file.py -D This will produce a file log.html which you can open in your browser. References Python 2 Grammar Python 3 Grammar